repo_name
stringlengths
9
74
language
stringclasses
1 value
length_bytes
int64
11
9.34M
extension
stringclasses
2 values
content
stringlengths
11
9.34M
SSOCsoft/Log_Reporter
Ada
3,126
ads
Pragma Ada_2012; With Gnoga.Gui.Base ; Package NSO.JSON.Gnoga_Object is --with Elaborate_Body is Use Gnoga.Gui.Base; Subtype JSON_Class is NSO.JSON.Instance'Class; -- Returns the JSON format of the form parameters from the given object. -- NOTE: This method does NOT work with multi-select selections; when -- such is attempted, later values overwrite the former values. Function Get_JSON( Object : Base_Type'Class ) return JSON_Class; Type Form_Object is new Base_Type with private; Function As_Form (Object : Base_Type'Class) return Form_Object; Function Parameters (Object : Form_Object) return JSON_Class; -- REPORT_VIEW -- This function ties together four types: -- (1) A Form-type, which is the ultimate data-source; -- (2) The Params-type, which represents the data submitted by the form; -- (3) The Report-type, which is the filtered/processed Params; and -- (4) The View-type, which is the rendering-media for the report. -- -- As an example, consider the situation of the daily-log, within this setup -- the form has Weather-reports which must be processed (filtered/colated) -- into an actual report. After this, the report is processed into HTML and -- sent in an email. -- -- Process: [HTML_FORM] -> [PARAMETERS] -> [REPORT_OBJECT] -> [HTML_VIEW]. Generic Type Form (<>) is new Form_Object with private; Type Params(<>) is limited private; Type Report(<>) is limited private; Type View (<>) is limited private; -- Retrieve the submitted form data. with Function Submission(Object : Form ) return Params is <>; -- Filter data and [re]construct the report. with Function Parameters(Object : Params) return Report is <>; -- Transform the report-data into some viewable data. with Function Processing(Object : Report) return View is <>; Function Report_View (Object : Form_Object'Class) Return View; -- GENERIC_REPORTER -- Generic Type Form (<>) is new Form_Object with private; Type Params(<>) is limited private; -- Retrieve the submitted form data. with Function Parameters(Object : Form) return Params is <>; This : in Form_Object'Class; Package Generic_Reporter is Original_Parameters : Constant Params := Parameters( Form(This) ); Generic -- The particular report we are getting. Type Report(<>) is limited private; -- The type for the final display. Type View (<>) is limited private; -- Filter the data and [re]construct the report. with Function Get_Report(Object : Params:= Original_Parameters) return Report is <>; -- Transform the report-data into some viewable data. with Function Processing(Object : Report:= Get_Report) return View is <>; Function Generate_Report return View; End Generic_Reporter; Private Type Form_Object is new Base_Type with null record; End NSO.JSON.Gnoga_Object;
VAR-solutions/Algorithms
Ada
2,188
adb
with Ada.Containers.Vectors; with Ada.Numerics.Discrete_Random; with Ada.Text_IO; with Ada.Integer_Text_IO; use Ada.Text_IO; use Ada.Integer_Text_IO; procedure Insertion_Sort is ------------------------------ -- Constant, types, package -- ------------------------------ ARRAY_SIZE : constant Natural := 10; RANGE_MIN : constant Integer := 1; RANGE_MAX : constant Integer := 100; package P_Vectors is new Ada.Containers.Vectors (Positive, Integer); use P_Vectors; ----------------------- -- Method prototype -- ----------------------- -- Initializing an array with default values function Init_Vector return Vector; procedure Put (Tab : Vector); procedure Swap (a : in out Integer; b : in out Integer); function Sort (T : Vector) return Vector; ----------------------------- -- Declaration of methods -- ----------------------------- function Init_Vector return Vector is subtype T_Interval is Integer range RANGE_MIN .. RANGE_MAX; package P_Random is new Ada.numerics.discrete_random (T_Interval); use P_Random; seed : Generator; T : Vector; begin Reset (seed); for i in 1 .. ARRAY_SIZE loop Append (T, Random (seed)); end loop; return T; end Init_Vector; procedure Put (Tab : Vector) is begin for e of Tab loop Put (e, Width => 0); Put (";"); end loop; end Put; procedure Swap (a : in out Integer; b : in out Integer) is c : constant Integer := a; begin a := b; b := c; end Swap; function Sort (T : Vector) return Vector is Tab : Vector := T; begin for i in First_Index (T) + 1 .. Last_Index (T) loop for j in reverse First_Index (T) + 1 .. i loop exit when Tab (j - 1) <= Tab (j); Swap (Tab (j - 1), Tab (j)); end loop; end loop; return Tab; end Sort; --------------- -- Variables -- --------------- T : Vector := Init_Vector; begin Put ("Array : "); Put (T); New_Line; T := Sort (T); Put ("Sorted array : "); Put (T); end Insertion_Sort;
BrickBot/Bound-T-H8-300
Ada
2,940
ads
-- Assertions.Parser (decl) -- -- Parsing the assertion language into an internal form. -- -- Author: Niklas Holsti, Tidorum Ltd -- -- A component of the Bound-T Worst-Case Execution Time Tool. -- ------------------------------------------------------------------------------- -- Copyright (c) 1999 .. 2015 Tidorum Ltd -- 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. -- -- This software is provided by the copyright holders and contributors "as is" and -- any express or implied warranties, including, but not limited to, the implied -- warranties of merchantability and fitness for a particular purpose are -- disclaimed. In no event shall the copyright owner or contributors be liable for -- any direct, indirect, incidental, special, exemplary, or consequential damages -- (including, but not limited to, procurement of substitute goods or services; -- loss of use, data, or profits; or business interruption) however caused and -- on any theory of liability, whether in contract, strict liability, or tort -- (including negligence or otherwise) arising in any way out of the use of this -- software, even if advised of the possibility of such damage. -- -- Other modules (files) of this software composition should contain their -- own copyright statements, which may have different copyright and usage -- conditions. The above conditions apply to this file. ------------------------------------------------------------------------------- -- -- $Revision: 1.2 $ -- $Date: 2015/10/24 19:36:46 $ -- -- $Log: assertions-parser.ads,v $ -- Revision 1.2 2015/10/24 19:36:46 niklas -- Moved to free licence. -- -- Revision 1.1 2006-05-27 21:26:38 niklas -- First version for BT-CH-0020. -- with Assertions.Own; private package Assertions.Parser is procedure Parse_File ( File_Name : in String; Program : in Programs.Program_T; Into : in out Own.Assertion_Bag_T; Valid : out Boolean); -- -- Reads and parses the assertions from the text file with the -- given File_Name, interpreting them as assertions on the execution -- or structure of the given Program, and storing them Into the -- given assertion bag (which may already contain other assertions -- that will be kept, too). -- -- If the file contains some syntax or semantic errors, the procedure -- reports them as Output.Errors and returns Valid as False, otherwise -- Valid is True. end Assertions.Parser;
reznikmm/matreshka
Ada
5,265
ads
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- Localization, Internationalization, Globalization for Ada -- -- -- -- Runtime Library Component -- -- -- ------------------------------------------------------------------------------ -- -- -- Copyright © 2012, Vadim Godunko <[email protected]> -- -- 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$ ------------------------------------------------------------------------------ private with Ada.Finalization; with League.Signals; private with League.Signals.Emitters; private with Matreshka.Internals.Signals; package League.Objects.Impl is type Object_Impl is abstract limited new League.Objects.Object with private; type Object_Impl_Access is access all Object_Impl'Class; not overriding procedure Finalize (Self : not null access Object_Impl) is null; -- This procedure is called before dellocation of memory occupied by object -- itself. It can be overridden by derived types to release own resources. overriding function Children (Self : not null access constant Object_Impl) return League.Objects.Object_Access_Array; overriding function Parent (Self : not null access Object_Impl) return League.Objects.Object_Access; overriding procedure Set_Parent (Self : not null access Object_Impl; Parent : access League.Objects.Object'Class); overriding function Destroyed (Self : not null access Object_Impl) return League.Signals.Signal; package Constructors is procedure Initialize (Self : not null access Object_Impl'Class; Parent : access League.Objects.Object'Class := null); end Constructors; private type Object_Impl is abstract new Ada.Finalization.Limited_Controlled and League.Objects.Object with record Parent : Object_Impl_Access; First_Child : Object_Impl_Access; Last_Child : Object_Impl_Access; Next_Sibling : Object_Impl_Access; Previous_Sibling : Object_Impl_Access; Children_Count : Natural := 0; Destroyed : aliased League.Signals.Emitters.Emitter (Object_Impl'Access); Connections : aliased Matreshka.Internals.Signals.Connections (Object_Impl'Access); end record; overriding procedure Finalize (Self : in out Object_Impl); end League.Objects.Impl;
reznikmm/matreshka
Ada
3,630
ads
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- Ada Modeling Framework -- -- -- -- Runtime Library Component -- -- -- ------------------------------------------------------------------------------ -- -- -- Copyright © 2011-2012, Vadim Godunko <[email protected]> -- -- 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.Generalization_Sets.Hash is new AMF.Elements.Generic_Hash (UML_Generalization_Set, UML_Generalization_Set_Access);
stcarrez/ada-servlet
Ada
4,701
ads
----------------------------------------------------------------------- -- servlet-servlets-mappers -- Read servlet configuration files -- Copyright (C) 2011, 2015, 2017 Stephane Carrez -- Written by Stephane Carrez ([email protected]) -- -- 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.Beans.Objects; with Util.Serialize.Mappers.Record_Mapper; with Util.Beans.Objects.Vectors; with EL.Contexts; -- The <b>Servlet.Core.Mappers</b> package defines an XML mapper that can be used -- to read the servlet configuration files. -- -- The servlet configuration used by Servlet is a subset of the servlet deployment descriptor -- defined in JSR 315 - Java Servlet Specification Version 3.0. It includes: -- -- <ul> -- <li>Definition of filter mapping (<b>filter-mapping</b> tag)</li> -- <li>Definition of servlet mapping (<b>servlet-mapping</b> tag)</li> -- <li>Definition of context parameters (<b>context-param</b> tag)</li> -- <li>Definition of mime types (<b>mime-mapping</b> tag)</li> -- <li>Definition of error pages (<b>error-page</b> tag)</li> -- </ul> -- -- Other configurations are ignored by the mapper. -- -- Note: several JSR 315 configuration parameters do not makes sense in the Servlet world -- because we cannot create a servlet or a filter through the configuration file. package Servlet.Core.Mappers is type Servlet_Fields is (FILTER_MAPPING, FILTER_NAME, SERVLET_NAME, URL_PATTERN, SERVLET_MAPPING, CONTEXT_PARAM, PARAM_NAME, PARAM_VALUE, MIME_MAPPING, MIME_TYPE, EXTENSION, ERROR_PAGE, ERROR_CODE, LOCATION); -- ------------------------------ -- Servlet Config Reader -- ------------------------------ -- When reading and parsing the servlet configuration file, the <b>Servlet_Config</b> object -- is populated by calls through the <b>Set_Member</b> procedure. The data is -- collected and when the end of an element (FILTER_MAPPING, SERVLET_MAPPING, CONTEXT_PARAM) -- is reached, the definition is updated in the servlet registry. type Servlet_Config is limited record Filter_Name : Util.Beans.Objects.Object; Servlet_Name : Util.Beans.Objects.Object; URL_Patterns : Util.Beans.Objects.Vectors.Vector; Param_Name : Util.Beans.Objects.Object; Param_Value : Util.Beans.Objects.Object; Mime_Type : Util.Beans.Objects.Object; Extension : Util.Beans.Objects.Object; Error_Code : Util.Beans.Objects.Object; Location : Util.Beans.Objects.Object; Handler : Servlet_Registry_Access; Context : EL.Contexts.ELContext_Access; Override_Context : Boolean := True; end record; type Servlet_Config_Access is access all Servlet_Config; -- Save in the servlet config object the value associated with the given field. -- When the <b>FILTER_MAPPING</b>, <b>SERVLET_MAPPING</b> or <b>CONTEXT_PARAM</b> field -- is reached, insert the new configuration rule in the servlet registry. procedure Set_Member (N : in out Servlet_Config; Field : in Servlet_Fields; Value : in Util.Beans.Objects.Object); -- Setup the XML parser to read the servlet and mapping rules <b>context-param</b>, -- <b>filter-mapping</b> and <b>servlet-mapping</b>. generic Mapper : in out Util.Serialize.Mappers.Processing; Handler : in Servlet_Registry_Access; Context : in EL.Contexts.ELContext_Access; package Reader_Config is Config : aliased Servlet_Config; end Reader_Config; private package Servlet_Mapper is new Util.Serialize.Mappers.Record_Mapper (Element_Type => Servlet_Config, Element_Type_Access => Servlet_Config_Access, Fields => Servlet_Fields, Set_Member => Set_Member); end Servlet.Core.Mappers;
reznikmm/matreshka
Ada
4,559
adb
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- Open Document Toolkit -- -- -- -- Runtime Library Component -- -- -- ------------------------------------------------------------------------------ -- -- -- Copyright © 2014, Vadim Godunko <[email protected]> -- -- 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.DOM_Documents; with Matreshka.ODF_String_Constants; with ODF.DOM.Iterators; with ODF.DOM.Visitors; package body Matreshka.ODF_Text.Year_Attributes is ------------ -- Create -- ------------ overriding function Create (Parameters : not null access Matreshka.DOM_Attributes.Attribute_L2_Parameters) return Text_Year_Attribute_Node is begin return Self : Text_Year_Attribute_Node do Matreshka.ODF_Text.Constructors.Initialize (Self'Unchecked_Access, Parameters.Document, Matreshka.ODF_String_Constants.Text_Prefix); end return; end Create; -------------------- -- Get_Local_Name -- -------------------- overriding function Get_Local_Name (Self : not null access constant Text_Year_Attribute_Node) return League.Strings.Universal_String is pragma Unreferenced (Self); begin return Matreshka.ODF_String_Constants.Year_Attribute; end Get_Local_Name; begin Matreshka.DOM_Documents.Register_Attribute (Matreshka.ODF_String_Constants.Text_URI, Matreshka.ODF_String_Constants.Year_Attribute, Text_Year_Attribute_Node'Tag); end Matreshka.ODF_Text.Year_Attributes;
reznikmm/matreshka
Ada
6,988
adb
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- Open Document Toolkit -- -- -- -- Runtime Library Component -- -- -- ------------------------------------------------------------------------------ -- -- -- Copyright © 2014, Vadim Godunko <[email protected]> -- -- 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.DOM_Documents; with Matreshka.ODF_String_Constants; with ODF.DOM.Iterators; with ODF.DOM.Visitors; package body Matreshka.ODF_Presentation.Settings_Elements is ------------ -- Create -- ------------ overriding function Create (Parameters : not null access Matreshka.DOM_Elements.Element_L2_Parameters) return Presentation_Settings_Element_Node is begin return Self : Presentation_Settings_Element_Node do Matreshka.ODF_Presentation.Constructors.Initialize (Self'Unchecked_Access, Parameters.Document, Matreshka.ODF_String_Constants.Presentation_Prefix); end return; end Create; ---------------- -- Enter_Node -- ---------------- overriding procedure Enter_Node (Self : not null access Presentation_Settings_Element_Node; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Control : in out XML.DOM.Visitors.Traverse_Control) is begin if Visitor in ODF.DOM.Visitors.Abstract_ODF_Visitor'Class then ODF.DOM.Visitors.Abstract_ODF_Visitor'Class (Visitor).Enter_Presentation_Settings (ODF.DOM.Presentation_Settings_Elements.ODF_Presentation_Settings_Access (Self), Control); else Matreshka.DOM_Elements.Abstract_Element_Node (Self.all).Enter_Node (Visitor, Control); end if; end Enter_Node; -------------------- -- Get_Local_Name -- -------------------- overriding function Get_Local_Name (Self : not null access constant Presentation_Settings_Element_Node) return League.Strings.Universal_String is pragma Unreferenced (Self); begin return Matreshka.ODF_String_Constants.Settings_Element; end Get_Local_Name; ---------------- -- Leave_Node -- ---------------- overriding procedure Leave_Node (Self : not null access Presentation_Settings_Element_Node; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Control : in out XML.DOM.Visitors.Traverse_Control) is begin if Visitor in ODF.DOM.Visitors.Abstract_ODF_Visitor'Class then ODF.DOM.Visitors.Abstract_ODF_Visitor'Class (Visitor).Leave_Presentation_Settings (ODF.DOM.Presentation_Settings_Elements.ODF_Presentation_Settings_Access (Self), Control); else Matreshka.DOM_Elements.Abstract_Element_Node (Self.all).Leave_Node (Visitor, Control); end if; end Leave_Node; ---------------- -- Visit_Node -- ---------------- overriding procedure Visit_Node (Self : not null access Presentation_Settings_Element_Node; Iterator : in out XML.DOM.Visitors.Abstract_Iterator'Class; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Control : in out XML.DOM.Visitors.Traverse_Control) is begin if Iterator in ODF.DOM.Iterators.Abstract_ODF_Iterator'Class then ODF.DOM.Iterators.Abstract_ODF_Iterator'Class (Iterator).Visit_Presentation_Settings (Visitor, ODF.DOM.Presentation_Settings_Elements.ODF_Presentation_Settings_Access (Self), Control); else Matreshka.DOM_Elements.Abstract_Element_Node (Self.all).Visit_Node (Iterator, Visitor, Control); end if; end Visit_Node; begin Matreshka.DOM_Documents.Register_Element (Matreshka.ODF_String_Constants.Presentation_URI, Matreshka.ODF_String_Constants.Settings_Element, Presentation_Settings_Element_Node'Tag); end Matreshka.ODF_Presentation.Settings_Elements;
reznikmm/matreshka
Ada
4,728
ads
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- Open Document Toolkit -- -- -- -- Runtime Library Component -- -- -- ------------------------------------------------------------------------------ -- -- -- Copyright © 2014, Vadim Godunko <[email protected]> -- -- 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 XML.DOM.Visitors; with ODF.DOM.Text_List_Header_Elements; package Matreshka.ODF_Text.List_Header_Elements is type Text_List_Header_Element_Node is new Matreshka.ODF_Text.Abstract_Text_Element_Node and ODF.DOM.Text_List_Header_Elements.ODF_Text_List_Header with null record; overriding function Create (Parameters : not null access Matreshka.DOM_Elements.Element_L2_Parameters) return Text_List_Header_Element_Node; overriding function Get_Local_Name (Self : not null access constant Text_List_Header_Element_Node) return League.Strings.Universal_String; overriding procedure Enter_Node (Self : not null access Text_List_Header_Element_Node; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Leave_Node (Self : not null access Text_List_Header_Element_Node; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Node (Self : not null access Text_List_Header_Element_Node; Iterator : in out XML.DOM.Visitors.Abstract_Iterator'Class; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Control : in out XML.DOM.Visitors.Traverse_Control); end Matreshka.ODF_Text.List_Header_Elements;
zhmu/ananas
Ada
3,055
ads
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- A D A . W I D E _ T E X T _ I O . C _ S T R E A M S -- -- -- -- S p e c -- -- -- -- Copyright (C) 1992-2022, Free Software Foundation, Inc. -- -- -- -- GNAT is free software; you can redistribute it and/or modify it under -- -- terms of the GNU General Public License as published by the Free Soft- -- -- ware Foundation; either version 3, or (at your option) any later ver- -- -- sion. GNAT is distributed in the hope that it will be useful, but WITH- -- -- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY -- -- or FITNESS FOR A PARTICULAR PURPOSE. -- -- -- -- As a special exception under Section 7 of GPL version 3, you are granted -- -- additional permissions described in the GCC Runtime Library Exception, -- -- version 3.1, as published by the Free Software Foundation. -- -- -- -- You should have received a copy of the GNU General Public License and -- -- a copy of the GCC Runtime Library Exception along with this program; -- -- see the files COPYING3 and COPYING.RUNTIME respectively. If not, see -- -- <http://www.gnu.org/licenses/>. -- -- -- -- GNAT was originally developed by the GNAT team at New York University. -- -- Extensive contributions were provided by Ada Core Technologies Inc. -- -- -- ------------------------------------------------------------------------------ -- This package provides an interface between Ada.Wide_Text_IO and the -- C streams. This allows sharing of a stream between Ada and C or C++, -- as well as allowing the Ada program to operate directly on the stream. with Interfaces.C_Streams; package Ada.Wide_Text_IO.C_Streams is package ICS renames Interfaces.C_Streams; function C_Stream (F : File_Type) return ICS.FILEs; -- Obtain stream from existing open file procedure Open (File : in out File_Type; Mode : File_Mode; C_Stream : ICS.FILEs; Form : String := ""; Name : String := ""); -- Create new file from existing stream end Ada.Wide_Text_IO.C_Streams;
hergin/ada2fuml
Ada
365
adb
package body SomeClass is function someFunction (Self : in SomeClass) return Integer is begin return Self.someAttribute; end someFunction; procedure someProcedure (Self : in SomeClass) is begin null; end someProcedure; procedure someUnrelatedProcedure is begin null; end someUnrelatedProcedure; end SomeClass;
zhmu/ananas
Ada
24,943
adb
------------------------------------------------------------------------------ -- -- -- GNAT LIBRARY COMPONENTS -- -- -- -- A D A . C O N T A I N E R S . F O R M A L _ H A S H E D _ M A P S -- -- -- -- B o d y -- -- -- -- Copyright (C) 2010-2022, 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/>. -- ------------------------------------------------------------------------------ with Ada.Containers.Hash_Tables.Generic_Bounded_Operations; pragma Elaborate_All (Ada.Containers.Hash_Tables.Generic_Bounded_Operations); with Ada.Containers.Hash_Tables.Generic_Bounded_Keys; pragma Elaborate_All (Ada.Containers.Hash_Tables.Generic_Bounded_Keys); with Ada.Containers.Prime_Numbers; use Ada.Containers.Prime_Numbers; with System; use type System.Address; package body Ada.Containers.Formal_Hashed_Maps with SPARK_Mode => Off is ----------------------- -- Local Subprograms -- ----------------------- -- All local subprograms require comments ??? function Equivalent_Keys (Key : Key_Type; Node : Node_Type) return Boolean; pragma Inline (Equivalent_Keys); procedure Free (HT : in out Map; X : Count_Type); generic with procedure Set_Element (Node : in out Node_Type); procedure Generic_Allocate (HT : in out Map; Node : out Count_Type); function Hash_Node (Node : Node_Type) return Hash_Type; pragma Inline (Hash_Node); function Next (Node : Node_Type) return Count_Type; pragma Inline (Next); procedure Set_Next (Node : in out Node_Type; Next : Count_Type); pragma Inline (Set_Next); function Vet (Container : Map; Position : Cursor) return Boolean; -------------------------- -- Local Instantiations -- -------------------------- package HT_Ops is new Hash_Tables.Generic_Bounded_Operations (HT_Types => HT_Types, Hash_Node => Hash_Node, Next => Next, Set_Next => Set_Next); package Key_Ops is new Hash_Tables.Generic_Bounded_Keys (HT_Types => HT_Types, Next => Next, Set_Next => Set_Next, Key_Type => Key_Type, Hash => Hash, Equivalent_Keys => Equivalent_Keys); --------- -- "=" -- --------- function "=" (Left, Right : Map) return Boolean is begin if Length (Left) /= Length (Right) then return False; end if; if Length (Left) = 0 then return True; end if; declare Node : Count_Type; ENode : Count_Type; begin Node := First (Left).Node; while Node /= 0 loop ENode := Find (Container => Right, Key => Left.Content.Nodes (Node).Key).Node; if ENode = 0 or else Right.Content.Nodes (ENode).Element /= Left.Content.Nodes (Node).Element then return False; end if; Node := HT_Ops.Next (Left.Content, Node); end loop; return True; end; end "="; ------------ -- Assign -- ------------ procedure Assign (Target : in out Map; Source : Map) is procedure Insert_Element (Source_Node : Count_Type); pragma Inline (Insert_Element); procedure Insert_Elements is new HT_Ops.Generic_Iteration (Insert_Element); -------------------- -- Insert_Element -- -------------------- procedure Insert_Element (Source_Node : Count_Type) is N : Node_Type renames Source.Content.Nodes (Source_Node); begin Insert (Target, N.Key, N.Element); end Insert_Element; -- Start of processing for Assign begin if Target'Address = Source'Address then return; end if; if Target.Capacity < Length (Source) then raise Constraint_Error with -- correct exception ??? "Source length exceeds Target capacity"; end if; Clear (Target); Insert_Elements (Source.Content); end Assign; -------------- -- Capacity -- -------------- function Capacity (Container : Map) return Count_Type is begin return Container.Content.Nodes'Length; end Capacity; ----------- -- Clear -- ----------- procedure Clear (Container : in out Map) is begin HT_Ops.Clear (Container.Content); end Clear; ------------------------ -- Constant_Reference -- ------------------------ function Constant_Reference (Container : aliased Map; Position : Cursor) return not null access constant Element_Type is begin if not Has_Element (Container, Position) then raise Constraint_Error with "Position cursor has no element"; end if; pragma Assert (Vet (Container, Position), "bad cursor in function Constant_Reference"); return Container.Content.Nodes (Position.Node).Element'Access; end Constant_Reference; function Constant_Reference (Container : aliased Map; Key : Key_Type) return not null access constant Element_Type is Node : constant Count_Type := Find (Container, Key).Node; begin if Node = 0 then raise Constraint_Error with "no element available because key not in map"; end if; return Container.Content.Nodes (Node).Element'Access; end Constant_Reference; -------------- -- Contains -- -------------- function Contains (Container : Map; Key : Key_Type) return Boolean is begin return Find (Container, Key) /= No_Element; end Contains; ---------- -- Copy -- ---------- function Copy (Source : Map; Capacity : Count_Type := 0) return Map is C : constant Count_Type := Count_Type'Max (Capacity, Source.Capacity); Cu : Cursor; H : Hash_Type; N : Count_Type; Target : Map (C, Source.Modulus); begin if 0 < Capacity and then Capacity < Source.Capacity then raise Capacity_Error; end if; Target.Content.Length := Source.Content.Length; Target.Content.Free := Source.Content.Free; H := 1; while H <= Source.Modulus loop Target.Content.Buckets (H) := Source.Content.Buckets (H); H := H + 1; end loop; N := 1; while N <= Source.Capacity loop Target.Content.Nodes (N) := Source.Content.Nodes (N); N := N + 1; end loop; while N <= C loop Cu := (Node => N); Free (Target, Cu.Node); N := N + 1; end loop; return Target; end Copy; --------------------- -- Default_Modulus -- --------------------- function Default_Modulus (Capacity : Count_Type) return Hash_Type is begin return To_Prime (Capacity); end Default_Modulus; ------------ -- Delete -- ------------ procedure Delete (Container : in out Map; Key : Key_Type) is X : Count_Type; begin Key_Ops.Delete_Key_Sans_Free (Container.Content, Key, X); if X = 0 then raise Constraint_Error with "attempt to delete key not in map"; end if; Free (Container, X); end Delete; procedure Delete (Container : in out Map; Position : in out Cursor) is begin if not Has_Element (Container, Position) then raise Constraint_Error with "Position cursor of Delete has no element"; end if; pragma Assert (Vet (Container, Position), "bad cursor in Delete"); HT_Ops.Delete_Node_Sans_Free (Container.Content, Position.Node); Free (Container, Position.Node); Position := No_Element; end Delete; ------------- -- Element -- ------------- function Element (Container : Map; Key : Key_Type) return Element_Type is Node : constant Count_Type := Find (Container, Key).Node; begin if Node = 0 then raise Constraint_Error with "no element available because key not in map"; end if; return Container.Content.Nodes (Node).Element; end Element; function Element (Container : Map; Position : Cursor) return Element_Type is begin if not Has_Element (Container, Position) then raise Constraint_Error with "Position cursor equals No_Element"; end if; pragma Assert (Vet (Container, Position), "bad cursor in function Element"); return Container.Content.Nodes (Position.Node).Element; end Element; --------------------- -- Equivalent_Keys -- --------------------- function Equivalent_Keys (Key : Key_Type; Node : Node_Type) return Boolean is begin return Equivalent_Keys (Key, Node.Key); end Equivalent_Keys; ------------- -- Exclude -- ------------- procedure Exclude (Container : in out Map; Key : Key_Type) is X : Count_Type; begin Key_Ops.Delete_Key_Sans_Free (Container.Content, Key, X); Free (Container, X); end Exclude; ---------- -- Find -- ---------- function Find (Container : Map; Key : Key_Type) return Cursor is Node : constant Count_Type := Key_Ops.Find (Container.Content, Key); begin if Node = 0 then return No_Element; end if; return (Node => Node); end Find; ----------- -- First -- ----------- function First (Container : Map) return Cursor is Node : constant Count_Type := HT_Ops.First (Container.Content); begin if Node = 0 then return No_Element; end if; return (Node => Node); end First; ------------------ -- Formal_Model -- ------------------ package body Formal_Model is ---------- -- Find -- ---------- function Find (Container : K.Sequence; Key : Key_Type) return Count_Type is begin for I in 1 .. K.Length (Container) loop if Equivalent_Keys (Key, K.Get (Container, I)) then return I; end if; end loop; return 0; end Find; --------------------- -- K_Keys_Included -- --------------------- function K_Keys_Included (Left : K.Sequence; Right : K.Sequence) return Boolean is begin for I in 1 .. K.Length (Left) loop if not K.Contains (Right, 1, K.Length (Right), K.Get (Left, I)) then return False; end if; end loop; return True; end K_Keys_Included; ---------- -- Keys -- ---------- function Keys (Container : Map) return K.Sequence is Position : Count_Type := HT_Ops.First (Container.Content); R : K.Sequence; begin -- Can't use First, Next or Element here, since they depend on models -- for their postconditions. while Position /= 0 loop R := K.Add (R, Container.Content.Nodes (Position).Key); Position := HT_Ops.Next (Container.Content, Position); end loop; return R; end Keys; ---------------------------- -- Lift_Abstraction_Level -- ---------------------------- procedure Lift_Abstraction_Level (Container : Map) is null; ----------------------- -- Mapping_Preserved -- ----------------------- function Mapping_Preserved (K_Left : K.Sequence; K_Right : K.Sequence; P_Left : P.Map; P_Right : P.Map) return Boolean is begin for C of P_Left loop if not P.Has_Key (P_Right, C) or else P.Get (P_Left, C) > K.Length (K_Left) or else P.Get (P_Right, C) > K.Length (K_Right) or else K.Get (K_Left, P.Get (P_Left, C)) /= K.Get (K_Right, P.Get (P_Right, C)) then return False; end if; end loop; return True; end Mapping_Preserved; ----------- -- Model -- ----------- function Model (Container : Map) return M.Map is Position : Count_Type := HT_Ops.First (Container.Content); R : M.Map; begin -- Can't use First, Next or Element here, since they depend on models -- for their postconditions. while Position /= 0 loop R := M.Add (Container => R, New_Key => Container.Content.Nodes (Position).Key, New_Item => Container.Content.Nodes (Position).Element); Position := HT_Ops.Next (Container.Content, Position); end loop; return R; end Model; --------------- -- Positions -- --------------- function Positions (Container : Map) return P.Map is I : Count_Type := 1; Position : Count_Type := HT_Ops.First (Container.Content); R : P.Map; begin -- Can't use First, Next or Element here, since they depend on models -- for their postconditions. while Position /= 0 loop R := P.Add (R, (Node => Position), I); pragma Assert (P.Length (R) = I); Position := HT_Ops.Next (Container.Content, Position); I := I + 1; end loop; return R; end Positions; end Formal_Model; ---------- -- Free -- ---------- procedure Free (HT : in out Map; X : Count_Type) is begin if X /= 0 then pragma Assert (X <= HT.Capacity); HT.Content.Nodes (X).Has_Element := False; HT_Ops.Free (HT.Content, X); end if; end Free; ---------------------- -- Generic_Allocate -- ---------------------- procedure Generic_Allocate (HT : in out Map; Node : out Count_Type) is procedure Allocate is new HT_Ops.Generic_Allocate (Set_Element); begin Allocate (HT.Content, Node); HT.Content.Nodes (Node).Has_Element := True; end Generic_Allocate; ----------------- -- Has_Element -- ----------------- function Has_Element (Container : Map; Position : Cursor) return Boolean is begin if Position.Node = 0 or else not Container.Content.Nodes (Position.Node).Has_Element then return False; else return True; end if; end Has_Element; --------------- -- Hash_Node -- --------------- function Hash_Node (Node : Node_Type) return Hash_Type is begin return Hash (Node.Key); end Hash_Node; ------------- -- Include -- ------------- procedure Include (Container : in out Map; Key : Key_Type; New_Item : Element_Type) is Position : Cursor; Inserted : Boolean; begin Insert (Container, Key, New_Item, Position, Inserted); if not Inserted then declare N : Node_Type renames Container.Content.Nodes (Position.Node); begin N.Key := Key; N.Element := New_Item; end; end if; end Include; ------------ -- Insert -- ------------ procedure Insert (Container : in out Map; Key : Key_Type; New_Item : Element_Type; Position : out Cursor; Inserted : out Boolean) is procedure Assign_Key (Node : in out Node_Type); pragma Inline (Assign_Key); function New_Node return Count_Type; pragma Inline (New_Node); procedure Local_Insert is new Key_Ops.Generic_Conditional_Insert (New_Node); procedure Allocate is new Generic_Allocate (Assign_Key); ----------------- -- Assign_Key -- ----------------- procedure Assign_Key (Node : in out Node_Type) is begin Node.Key := Key; Node.Element := New_Item; end Assign_Key; -------------- -- New_Node -- -------------- function New_Node return Count_Type is Result : Count_Type; begin Allocate (Container, Result); return Result; end New_Node; -- Start of processing for Insert begin Local_Insert (Container.Content, Key, Position.Node, Inserted); end Insert; procedure Insert (Container : in out Map; Key : Key_Type; New_Item : Element_Type) is Position : Cursor; Inserted : Boolean; begin Insert (Container, Key, New_Item, Position, Inserted); if not Inserted then raise Constraint_Error with "attempt to insert key already in map"; end if; end Insert; -------------- -- Is_Empty -- -------------- function Is_Empty (Container : Map) return Boolean is begin return Length (Container) = 0; end Is_Empty; --------- -- Key -- --------- function Key (Container : Map; Position : Cursor) return Key_Type is begin if not Has_Element (Container, Position) then raise Constraint_Error with "Position cursor of function Key has no element"; end if; pragma Assert (Vet (Container, Position), "bad cursor in function Key"); return Container.Content.Nodes (Position.Node).Key; end Key; ------------ -- Length -- ------------ function Length (Container : Map) return Count_Type is begin return Container.Content.Length; end Length; ---------- -- Move -- ---------- procedure Move (Target : in out Map; Source : in out Map) is NN : HT_Types.Nodes_Type renames Source.Content.Nodes; X : Count_Type; Y : Count_Type; begin if Target'Address = Source'Address then return; end if; if Target.Capacity < Length (Source) then raise Constraint_Error with -- ??? "Source length exceeds Target capacity"; end if; Clear (Target); if Source.Content.Length = 0 then return; end if; X := HT_Ops.First (Source.Content); while X /= 0 loop Insert (Target, NN (X).Key, NN (X).Element); -- optimize??? Y := HT_Ops.Next (Source.Content, X); HT_Ops.Delete_Node_Sans_Free (Source.Content, X); Free (Source, X); X := Y; end loop; end Move; ---------- -- Next -- ---------- function Next (Node : Node_Type) return Count_Type is begin return Node.Next; end Next; function Next (Container : Map; Position : Cursor) return Cursor is begin if Position.Node = 0 then return No_Element; end if; if not Has_Element (Container, Position) then raise Constraint_Error with "Position has no element"; end if; pragma Assert (Vet (Container, Position), "bad cursor in function Next"); declare Node : constant Count_Type := HT_Ops.Next (Container.Content, Position.Node); begin if Node = 0 then return No_Element; end if; return (Node => Node); end; end Next; procedure Next (Container : Map; Position : in out Cursor) is begin Position := Next (Container, Position); end Next; --------------- -- Reference -- --------------- function Reference (Container : not null access Map; Position : Cursor) return not null access Element_Type is begin if not Has_Element (Container.all, Position) then raise Constraint_Error with "Position cursor has no element"; end if; pragma Assert (Vet (Container.all, Position), "bad cursor in function Reference"); return Container.Content.Nodes (Position.Node).Element'Access; end Reference; function Reference (Container : not null access Map; Key : Key_Type) return not null access Element_Type is Node : constant Count_Type := Find (Container.all, Key).Node; begin if Node = 0 then raise Constraint_Error with "no element available because key not in map"; end if; return Container.Content.Nodes (Node).Element'Access; end Reference; ------------- -- Replace -- ------------- procedure Replace (Container : in out Map; Key : Key_Type; New_Item : Element_Type) is Node : constant Count_Type := Key_Ops.Find (Container.Content, Key); begin if Node = 0 then raise Constraint_Error with "attempt to replace key not in map"; end if; declare N : Node_Type renames Container.Content.Nodes (Node); begin N.Key := Key; N.Element := New_Item; end; end Replace; --------------------- -- Replace_Element -- --------------------- procedure Replace_Element (Container : in out Map; Position : Cursor; New_Item : Element_Type) is begin if not Has_Element (Container, Position) then raise Constraint_Error with "Position cursor of Replace_Element has no element"; end if; pragma Assert (Vet (Container, Position), "bad cursor in Replace_Element"); Container.Content.Nodes (Position.Node).Element := New_Item; end Replace_Element; ---------------------- -- Reserve_Capacity -- ---------------------- procedure Reserve_Capacity (Container : in out Map; Capacity : Count_Type) is begin if Capacity > Container.Capacity then raise Capacity_Error with "requested capacity is too large"; end if; end Reserve_Capacity; -------------- -- Set_Next -- -------------- procedure Set_Next (Node : in out Node_Type; Next : Count_Type) is begin Node.Next := Next; end Set_Next; --------- -- Vet -- --------- function Vet (Container : Map; Position : Cursor) return Boolean is begin if Position.Node = 0 then return True; end if; declare X : Count_Type; begin if Container.Content.Length = 0 then return False; end if; if Container.Capacity = 0 then return False; end if; if Container.Content.Buckets'Length = 0 then return False; end if; if Position.Node > Container.Capacity then return False; end if; if Container.Content.Nodes (Position.Node).Next = Position.Node then return False; end if; X := Container.Content.Buckets (Key_Ops.Index (Container.Content, Container.Content.Nodes (Position.Node).Key)); for J in 1 .. Container.Content.Length loop if X = Position.Node then return True; end if; if X = 0 then return False; end if; if X = Container.Content.Nodes (X).Next then -- Prevent unnecessary looping return False; end if; X := Container.Content.Nodes (X).Next; end loop; return False; end; end Vet; end Ada.Containers.Formal_Hashed_Maps;
reznikmm/matreshka
Ada
4,616
adb
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- Open Document Toolkit -- -- -- -- Runtime Library Component -- -- -- ------------------------------------------------------------------------------ -- -- -- Copyright © 2014, Vadim Godunko <[email protected]> -- -- 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.DOM_Documents; with Matreshka.ODF_String_Constants; with ODF.DOM.Iterators; with ODF.DOM.Visitors; package body Matreshka.ODF_Style.List_Level_Attributes is ------------ -- Create -- ------------ overriding function Create (Parameters : not null access Matreshka.DOM_Attributes.Attribute_L2_Parameters) return Style_List_Level_Attribute_Node is begin return Self : Style_List_Level_Attribute_Node do Matreshka.ODF_Style.Constructors.Initialize (Self'Unchecked_Access, Parameters.Document, Matreshka.ODF_String_Constants.Style_Prefix); end return; end Create; -------------------- -- Get_Local_Name -- -------------------- overriding function Get_Local_Name (Self : not null access constant Style_List_Level_Attribute_Node) return League.Strings.Universal_String is pragma Unreferenced (Self); begin return Matreshka.ODF_String_Constants.List_Level_Attribute; end Get_Local_Name; begin Matreshka.DOM_Documents.Register_Attribute (Matreshka.ODF_String_Constants.Style_URI, Matreshka.ODF_String_Constants.List_Level_Attribute, Style_List_Level_Attribute_Node'Tag); end Matreshka.ODF_Style.List_Level_Attributes;
AdaCore/Ada_Drivers_Library
Ada
2,676
ads
-- Copyright (c) 2010 - 2018, Nordic Semiconductor ASA -- -- All rights reserved. -- -- Redistribution and use in source and binary forms, with or without modification, -- are permitted provided that the following conditions are met: -- -- 1. Redistributions of source code must retain the above copyright notice, this -- list of conditions and the following disclaimer. -- -- 2. Redistributions in binary form, except as embedded into a Nordic -- Semiconductor ASA integrated circuit in a product or a software update for -- such product, must reproduce the above copyright notice, this list of -- conditions and the following disclaimer in the documentation and/or other -- materials provided with the distribution. -- -- 3. Neither the name of Nordic Semiconductor ASA nor the names of its -- contributors may be used to endorse or promote products derived from this -- software without specific prior written permission. -- -- 4. This software, with or without modification, must only be used with a -- Nordic Semiconductor ASA integrated circuit. -- -- 5. Any software provided in binary form under this license must not be reverse -- engineered, decompiled, modified and/or disassembled. -- -- THIS SOFTWARE IS PROVIDED BY NORDIC SEMICONDUCTOR ASA "AS IS" AND ANY EXPRESS -- OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES -- OF MERCHANTABILITY, NONINFRINGEMENT, AND FITNESS FOR A PARTICULAR PURPOSE ARE -- DISCLAIMED. IN NO EVENT SHALL NORDIC SEMICONDUCTOR ASA OR CONTRIBUTORS BE -- LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR -- CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE -- GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) -- HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT -- LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT -- OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -- -- This spec has been automatically generated from nrf52.svd pragma Restrictions (No_Elaboration_Code); pragma Ada_2012; pragma Style_Checks (Off); with HAL; package NRF_SVD.FPU is pragma Preelaborate; --------------- -- Registers -- --------------- ----------------- -- Peripherals -- ----------------- -- FPU type FPU_Peripheral is record -- Unused. UNUSED : aliased HAL.UInt32; end record with Volatile; for FPU_Peripheral use record UNUSED at 0 range 0 .. 31; end record; -- FPU FPU_Periph : aliased FPU_Peripheral with Import, Address => FPU_Base; end NRF_SVD.FPU;
AdaCore/Ada-IntelliJ
Ada
211
adb
-- Numeric Literals 123__456 12345678_ 123. 123.456.789 1E+ 1234e56.7 16# 12#14 10#5. 8#2.3 6## 4#123.1.2# 2#101.# 16#123G#2 -- Textual Literals ' '' ' ' 'ab' " """ -- Non-Alphabet Characters Put_Line["oops"]
zhmu/ananas
Ada
276
ads
with Freezing1_Pack; use Freezing1_Pack; package Freezing1 is type T is abstract tagged record Collection : access I_Interface_Collection'Class := new I_Interface_Collection'Class'(Factory.Create_Collection); end record; procedure Foo; end Freezing1;
mfkiwl/ewok-kernel-security-OS
Ada
3,038
ads
-- -- Copyright 2018 The wookey project team <[email protected]> -- - Ryad Benadjila -- - Arnauld Michelizza -- - Mathieu Renard -- - Philippe Thierry -- - Philippe Trebuchet -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance with the License. -- You may obtain a copy of the License at -- -- http://www.apache.org/licenses/LICENSE-2.0 -- -- Unless required by applicable law or agreed to in writing, software -- distributed under the License is distributed on an "AS IS" BASIS, -- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -- See the License for the specific language governing permissions and -- limitations under the License. -- -- with system; package soc.rng with spark_mode => on is ----------------------------------- -- RNG control register (RNG_CR) -- ----------------------------------- type t_RNG_CR is record reserved_0_1 : bits_2; RNGEN : boolean; IE : boolean; end record with volatile_full_access, size => 32; for t_RNG_CR use record reserved_0_1 at 0 range 0 .. 1; RNGEN at 0 range 2 .. 2; -- RNG is enabled IE at 0 range 3 .. 3; -- RNG Interrupt is enabled end record; ---------------------------------- -- RNG status register (RNG_SR) -- ---------------------------------- type t_RNG_SR is record DRDY : boolean; -- Data ready CECS : boolean; -- Clock error current status SECS : boolean; -- Seed error current status reserved_3_4 : bits_2; CEIS : boolean; -- Clock error interrupt status SEIS : boolean; -- Seed error interrupt status end record with volatile_full_access, size => 32; for t_RNG_SR use record DRDY at 0 range 0 .. 0; CECS at 0 range 1 .. 1; SECS at 0 range 2 .. 2; reserved_3_4 at 0 range 3 .. 4; CEIS at 0 range 5 .. 5; SEIS at 0 range 6 .. 6; end record; -------------------------------- -- RNG data register (RNG_DR) -- -------------------------------- type t_RNG_DR is record RNDATA : unsigned_32; -- Random data end record with volatile_full_access, size => 32; -------------------- -- RNG peripheral -- -------------------- type t_RNG_peripheral is record CR : t_RNG_CR; SR : t_RNG_SR; DR : t_RNG_DR; end record with volatile; for t_RNG_peripheral use record CR at 16#00# range 0 .. 31; SR at 16#04# range 0 .. 31; DR at 16#08# range 0 .. 31; end record; RNG : t_RNG_peripheral with import, volatile, address => system'to_address(16#5006_0800#); procedure init (success : out boolean); procedure random (rand : out unsigned_32; success : out boolean); end soc.rng;
dannyboywoop/AdventOfCode2019
Ada
1,346
adb
with Ada.Command_Line, Ada.Text_IO, Ada.Strings.Unbounded, Array_Stuff; use Ada.Command_Line, Ada.Text_IO, Ada.Strings.Unbounded, Array_Stuff; package body File_IO is function Count_Lines(file: in out File_Type) return Integer is New_Lines : Integer := 0; begin --Skip through the file one line at a time while not Ada.Text_IO.End_Of_File(file) loop Skip_Line(file); New_Lines := New_Lines + 1; end loop; Reset(file); return New_Lines; end Count_Lines; function Read_File(filename: String:="input.txt") return Str_Arr is input : File_Type; begin --Attempt to open the file begin Open (File => input, Mode => In_File, Name => filename); exception when others => Put_Line (Standard_Error, "Can not open the file '" & filename & "'!"); Set_Exit_Status (Failure); end; --Read lines into string array declare strings : Str_Arr(1..Count_Lines(input)); i : Natural:=1; begin while not End_Of_File (input) loop strings(i):=To_Unbounded_String(Get_Line(input)); i := i+1; end loop; return strings; end; end Read_File; end File_IO;
onox/orka
Ada
4,741
adb
-- SPDX-License-Identifier: Apache-2.0 -- -- Copyright (c) 2016 onox <[email protected]> -- -- 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 GL.Barriers; with GL.Types; with Orka.Transforms.Doubles.Vectors; with Orka.Transforms.Doubles.Vector_Conversions; with Orka.Rendering.Drawing; package body Orka.Resources.Models is function Create_Group (Object : aliased in out Model; Culler : Culling.Culler_Ptr; Capacity : Positive) return Group_Access is Shapes_Count : constant Natural := Object.Scene.Shapes.Element'Length; begin return new Model_Group' (Model => Object'Access, Instances => Model_Instances.Create_Manager (Capacity => Capacity, Parts => Shapes_Count), Cull_Instance => Culling.Create_Instance (Culler, Transforms => Capacity * Shapes_Count, Commands => Shapes_Count), others => <>); end Create_Group; procedure Add_Instance (Object : access Model_Group; Instance : in out Model_Instance_Ptr) is begin if Instance.Group /= null then raise Program_Error; end if; Instance.Group := Object; Instance.Scene := Object.Model.Scene.Scene; Instance.Instance := Object.Instances.Add_Instance; end Add_Instance; procedure Remove_Instance (Object : in out Model_Group; Instance : in out Model_Instance_Ptr) is begin if Instance.Group = null then raise Program_Error; end if; Instance.Group := null; Object.Instances.Remove_Instance (Instance.Instance); end Remove_Instance; ----------------------------------------------------------------------------- procedure Cull (Object : in out Model_Group) is begin Object.Cull_Instance.Cull (Transforms => Object.Instances.Transforms, Bounds => Object.Model.Bounds, Commands => Object.Model.Batch.Commands.Buffer, Compacted_Transforms => Object.Compacted_Transforms, Compacted_Commands => Object.Compacted_Commands, Instances => Object.Instances.Length); end Cull; procedure Render (Object : in out Model_Group) is use all type Rendering.Buffers.Indexed_Buffer_Target; begin Object.Model.Batch.Data.Bind (Shader_Storage, 1); Object.Compacted_Transforms.Bind (Shader_Storage, 0); GL.Barriers.Memory_Barrier ((Shader_Storage | Command => True, others => False)); Rendering.Drawing.Draw_Indexed_Indirect (GL.Types.Triangles, Object.Model.Batch.Indices.Buffer, Object.Compacted_Commands); end Render; procedure After_Render (Object : in out Model_Group) is begin Object.Instances.Complete_Frame; end After_Render; ----------------------------------------------------------------------------- procedure Update_Transforms (Object : in out Model_Instance; View_Position : Behaviors.Vector4) is use Transforms; use Orka.Transforms.Doubles.Vectors; use Orka.Transforms.Doubles.Vector_Conversions; pragma Assert (Object.Group /= null); Position : Behaviors.Vector4 renames Behaviors.Behavior'Class (Object).Position; procedure Write_Transforms (Cursors : Cursor_Array) is begin for Index in Cursors'Range loop Object.Group.Instances.Set_Transform (Value => Object.Scene.World_Transform (Cursors (Index)), Instance => Object.Instance, Part => Index - Cursors'First); end loop; end Write_Transforms; begin -- Compute the world transforms by multiplying the local transform -- of each node with the world transform of its parent. Also updates -- the visibility of each node. Object.Scene.Update_Tree (T (Convert (Position - View_Position))); -- Write the world transform of the leaf nodes to the persistent mapped buffer Object.Group.Model.Scene.Shapes.Query_Element (Write_Transforms'Access); -- Note: This requires that the structure of the model's scene tree is -- identical to the instance's scene so that we can re-use the cursors end Update_Transforms; end Orka.Resources.Models;
reznikmm/matreshka
Ada
3,984
ads
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- Ada Modeling Framework -- -- -- -- Runtime Library Component -- -- -- ------------------------------------------------------------------------------ -- -- -- Copyright © 2011-2012, Vadim Godunko <[email protected]> -- -- 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. ------------------------------------------------------------------------------ -- See Annex A. ------------------------------------------------------------------------------ with AMF.UMLDI.UML_Structure_Diagrams; package AMF.UMLDI.UML_Profile_Diagrams is pragma Preelaborate; type UMLDI_UML_Profile_Diagram is limited interface and AMF.UMLDI.UML_Structure_Diagrams.UMLDI_UML_Structure_Diagram; type UMLDI_UML_Profile_Diagram_Access is access all UMLDI_UML_Profile_Diagram'Class; for UMLDI_UML_Profile_Diagram_Access'Storage_Size use 0; end AMF.UMLDI.UML_Profile_Diagrams;
charlesdaniels/libagar
Ada
257
ads
with Agar; with Agar.Event; package myeventhandler is package EV renames Agar.Event; procedure Ping (Event : EV.Event_Access) with Convention => C; procedure Some_Event (Event : EV.Event_Access) with Convention => C; end myeventhandler;
charlie5/cBound
Ada
1,464
ads
-- 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_glx_make_context_current_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_glx_make_context_current_cookie_t .Item; -- Pointer -- package C_Pointers is new Interfaces.C.Pointers (Index => Interfaces.C.size_t, Element => xcb.xcb_glx_make_context_current_cookie_t.Item, Element_Array => xcb.xcb_glx_make_context_current_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_glx_make_context_current_cookie_t .Pointer; -- Pointer_Pointer -- package C_Pointer_Pointers is new Interfaces.C.Pointers (Index => Interfaces.C.size_t, Element => xcb.xcb_glx_make_context_current_cookie_t.Pointer, Element_Array => xcb.xcb_glx_make_context_current_cookie_t.Pointer_Array, Default_Terminator => null); subtype Pointer_Pointer is C_Pointer_Pointers.Pointer; end xcb.xcb_glx_make_context_current_cookie_t;
AdaCore/Ada_Drivers_Library
Ada
5,882
adb
------------------------------------------------------------------------------ -- -- -- Copyright (C) 2015, AdaCore -- -- -- -- Redistribution and use in source and binary forms, with or without -- -- modification, are permitted provided that the following conditions are -- -- met: -- -- 1. Redistributions of source code must retain the above copyright -- -- notice, this list of conditions and the following disclaimer. -- -- 2. Redistributions in binary form must reproduce the above copyright -- -- notice, this list of conditions and the following disclaimer in -- -- the documentation and/or other materials provided with the -- -- distribution. -- -- 3. Neither the name of the copyright holder nor the names of its -- -- contributors may be used to endorse or promote products derived -- -- from this software without specific prior written permission. -- -- -- -- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -- -- "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -- -- LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -- -- A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -- -- HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -- -- SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -- -- LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -- -- DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -- -- THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -- -- (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -- -- OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -- -- -- ------------------------------------------------------------------------------ -- This program demonstrates the on-board "independent watchdog" provided by -- the STM32F4 family. -- Generally you will have to cycle power to the board before downloading -- (flashing) this program. Otherwise it will not run after flashing, and may -- not successfully finish the flash step itself. In this case the on-board -- Reset button will not suffice. -- The program first blinks all the LEDs on and off three times to signal -- initial execution. It then blinks the green LED indefinitely, also -- resetting the watchdog so that the board is not reset. If you see all the -- LEDs blink after initial power-up you know that the board has been reset -- by the watchdog. That makes it easy to experiment with the watchdog's -- parameters. with Last_Chance_Handler; pragma Unreferenced (Last_Chance_Handler); with STM32.IWDG; use STM32.IWDG; with Ada.Real_Time; use Ada.Real_Time; with STM32.Board; use STM32.Board; procedure Demo_IWDG is Watchdog_Count : constant := 4095; -- arbitrary -- The clock driving the watchdog downcounter is approximately 32KHz, so -- dividing by 32 gives about 1 millisecond per count. Thus the count gives -- approximately that many milliseconds before the system reset interrupt -- is triggered. Feel free to experiment with this value. Watchdog_Count_Offset : constant := -90; -- arbitrary -- The entirely arbitrary amount to add/subtract to the watchdog count, ie -- the time that causes a board reset, in order to experiment with causing -- the reset to occur. This value is added to the Watchdog_Count and the -- result passed to Do_Work, thereby controlling whether the watchdog timer -- trips or not. Feel free to experiment with this value. Work_Time : constant := Watchdog_Count + Watchdog_Count_Offset; -- The value passed to Do_Work which determines the amount of time taken by -- that call. By changing the value of Watchdog_Count_Offset you can cause -- the reset to occur, or not. Note that optimization will have influence. procedure Do_Work (Time_Required : Time_Span); -- A simple abstraction for some amount of work to be done while the -- watchdog is running. The Time_Required parameter controls how long the -- "work" should take, so that you can experiment with causing the reset -- to occur by giving it a value close to the watchdog timeout interval. procedure Do_Work (Time_Required : Time_Span) is Interval : constant Time_Span := Time_Required / 4; -- We divide so that we can blink more often begin Turn_On (Green_LED); delay until Clock + Interval; Turn_Off (Green_LED); delay until Clock + Interval; Turn_On (Green_LED); delay until Clock + Interval; Turn_Off (Green_LED); delay until Clock + Interval; end Do_Work; begin Initialize_LEDs; Initialize_Watchdog (Prescaler => Divider_32, Count => Watchdog_Count); -- Indicate initial excution, but also indicate board (program) reset for K in 1 .. 3 loop All_LEDs_On; delay until Clock + Milliseconds (200); All_LEDs_Off; delay until Clock + Milliseconds (200); end loop; Start_Watchdog; loop Do_Work (Time_Required => Milliseconds (Work_Time)); -- If Do_Work does not return in time so that the call to reset the -- watchdog can occur, the board will reset and the program will -- restart. Reset_Watchdog; end loop; end Demo_IWDG;
burratoo/Acton
Ada
13,952
ads
------------------------------------------------------------------------------------------ -- -- -- ACTON PROCESSOR SUPPORT PACKAGE -- -- -- -- ATMEL.AT91SAM7S.PMC -- -- -- -- Copyright (C) 2014-2021, Patrick Bernardi -- -- -- ------------------------------------------------------------------------------------------ with Interfaces; use Interfaces; with System; use System; package Atmel.AT91SAM7S.PMC with Preelaborate is -------------------------- -- PMC Memory Addresses -- -------------------------- PMC_Base_Address : constant := 16#FFFF_FC00#; SCER_Offset_Address : constant := 16#0000#; SCDR_Offset_Address : constant := 16#0004#; SCSR_Offset_Address : constant := 16#0008#; PCER_Offset_Address : constant := 16#0010#; PCDR_Offset_Address : constant := 16#0014#; PCSR_Offset_Address : constant := 16#0018#; MOR_Offset_Address : constant := 16#0020#; MCFR_Offset_Address : constant := 16#0024#; PLLR_Offset_Address : constant := 16#002C#; MCKR_Offset_Address : constant := 16#0030#; PCK0_Offset_Address : constant := 16#0040#; PCK1_Offset_Address : constant := 16#0044#; PCK2_Offset_Address : constant := 16#0048#; IER_Offset_Address : constant := 16#0060#; IDR_Offset_Address : constant := 16#0064#; SR_Offset_Address : constant := 16#0068#; IMR_Offset_Address : constant := 16#006C#; --------------- -- PMC Types -- --------------- type System_Clock_Enable_Type is record Processor_Clock : Enable_No_Change_Type; USB_Device_Port_Clock : Enable_No_Change_Type; Programmable_Clock_0_Output : Enable_No_Change_Type; Programmable_Clock_1_Output : Enable_No_Change_Type; Programmable_Clock_2_Output : Enable_No_Change_Type; end record with Size => Register_Size; type System_Clock_Disable_Type is record Processor_Clock : Disable_No_Change_Type; USB_Device_Port_Clock : Disable_No_Change_Type; Programmable_Clock_0_Output : Disable_No_Change_Type; Programmable_Clock_1_Output : Disable_No_Change_Type; Programmable_Clock_2_Output : Disable_No_Change_Type; end record with Size => Register_Size; type System_Clock_Status_Type is record Processor_Clock : Enabled_Type; USB_Device_Port_Clock : Enabled_Type; Programmable_Clock_0_Output : Enabled_Type; Programmable_Clock_1_Output : Enabled_Type; Programmable_Clock_2_Output : Enabled_Type; end record with Size => Register_Size; type Peripheral_Enable_Set is array (Peripheral_Id) of Enable_No_Change_Type with Pack, Size => Register_Size, Alignment => 4; type Peripheral_Disable_Set is array (Peripheral_Id) of Disable_No_Change_Type with Pack, Size => Register_Size, Alignment => 4; type Peripheral_Status_Set is array (Peripheral_Id) of Enabled_Type with Pack, Size => Register_Size, Alignment => 4; type Clock_Generator_Main_Oscillator_Type is record Main_Oscillator : Enable_Type; Oscillator_Bypass : Enable_Type; Main_Oscillator_Start_Up_Time : Unsigned_8; end record with Size => Register_Size; type Clock_Generator_Main_Clock_Frequency_Type is record Main_Clock_Frequency : Unsigned_16; Main_Clock_Ready : Boolean; end record with Size => Register_Size; type PLL_Counter_Type is mod 2 ** 6; type PLL_Clock_Frequency_Range_Type is mod 2 ** 2; type PLL_Multiplier_Type is mod 2 ** 11; type Divider_For_USB_Clock_Type is (Divide_1, Divide_2, Divide_4); type Clock_Generator_PLL_Type is record Divider : Unsigned_8; PLL_Counter : PLL_Counter_Type; PLL_Clock_Frequency_Range : PLL_Clock_Frequency_Range_Type; PLL_Multiplier : PLL_Multiplier_Type; Divider_For_USB_Clock : Divider_For_USB_Clock_Type; end record with Size => Register_Size; type Master_Clock_Selection_Type is (Slow_Clock, Main_Clock, PLL_Clock); type Clock_Prescaler_Type is (Divide_1, Divide_2, Divide_4, Divide_8, Divide_16, Divide_32, Divide_64); type Master_Clock_Type is record Master_Clock_Selection : Master_Clock_Selection_Type; Processor_Clock_Prescaler : Clock_Prescaler_Type; end record with Size => Register_Size; type Programmable_Clock_Type is record Master_Clock_Selection : Master_Clock_Selection_Type; Programmable_Clock_Prescaler : Clock_Prescaler_Type; end record with Size => Register_Size; type Interrupt_Enable_Type is record Main_Oscillator_Status_Interrupt : Enable_No_Change_Type; PLL_Lock_Interrupt : Enable_No_Change_Type; Master_Clock_Ready_Interrupt : Enable_No_Change_Type; Programmable_Clock_Ready_0_Interrupt : Enable_No_Change_Type; Programmable_Clock_Ready_1_Interrupt : Enable_No_Change_Type; Programmable_Clock_Ready_2_Interrupt : Enable_No_Change_Type; end record with Size => Register_Size; type Interrupt_Disable_Type is record Main_Oscillator_Status_Interrupt : Disable_No_Change_Type; PLL_Lock_Interrupt : Disable_No_Change_Type; Master_Clock_Ready_Interrupt : Disable_No_Change_Type; Programmable_Clock_Ready_0_Interrupt : Disable_No_Change_Type; Programmable_Clock_Ready_1_Interrupt : Disable_No_Change_Type; Programmable_Clock_Ready_2_Interrupt : Disable_No_Change_Type; end record with Size => Register_Size; type Stabilized_Type is (Not_Stabilized, Stabilized); type Locked_Type is (Not_Locked, Locked); type Ready_Type is (Not_Ready, Ready); type Status_Type is record Main_Oscillator : Stabilized_Type; PLL_Lock : Locked_Type; Master_Clock : Ready_Type; Programmable_Clock_0_Ready : Ready_Type; Programmable_Clock_1_Ready : Ready_Type; Programmable_Clock_2_Ready : Ready_Type; end record with Size => Register_Size; type Interrupt_Mask_Type is record Main_Oscillator : Enabled_Type; PLL_Lock : Enabled_Type; Master_Clock : Enabled_Type; Programmable_Clock_0_Ready : Enabled_Type; Programmable_Clock_1_Ready : Enabled_Type; Programmable_Clock_2_Ready : Enabled_Type; end record with Size => Register_Size; ------------------------------ -- Hardware Representations -- ------------------------------ for System_Clock_Enable_Type use record Processor_Clock at 0 range 0 .. 0; USB_Device_Port_Clock at 0 range 7 .. 7; Programmable_Clock_0_Output at 0 range 8 .. 8; Programmable_Clock_1_Output at 0 range 9 .. 9; Programmable_Clock_2_Output at 0 range 10 .. 10; end record; for System_Clock_Disable_Type use record Processor_Clock at 0 range 0 .. 0; USB_Device_Port_Clock at 0 range 7 .. 7; Programmable_Clock_0_Output at 0 range 8 .. 8; Programmable_Clock_1_Output at 0 range 9 .. 9; Programmable_Clock_2_Output at 0 range 10 .. 10; end record; for System_Clock_Status_Type use record Processor_Clock at 0 range 0 .. 0; USB_Device_Port_Clock at 0 range 7 .. 7; Programmable_Clock_0_Output at 0 range 8 .. 8; Programmable_Clock_1_Output at 0 range 9 .. 9; Programmable_Clock_2_Output at 0 range 10 .. 10; end record; for Clock_Generator_Main_Oscillator_Type use record Main_Oscillator at 0 range 0 .. 0; Oscillator_Bypass at 0 range 1 .. 1; Main_Oscillator_Start_Up_Time at 0 range 8 .. 15; end record; for Clock_Generator_Main_Clock_Frequency_Type use record Main_Clock_Frequency at 0 range 0 .. 15; Main_Clock_Ready at 0 range 16 .. 16; end record; for Divider_For_USB_Clock_Type use (Divide_1 => 0, Divide_2 => 1, Divide_4 => 2); for Clock_Generator_PLL_Type use record Divider at 0 range 0 .. 7; PLL_Counter at 0 range 8 .. 13; PLL_Clock_Frequency_Range at 0 range 14 .. 15; PLL_Multiplier at 0 range 16 .. 26; Divider_For_USB_Clock at 0 range 28 .. 29; end record; for Master_Clock_Selection_Type use (Slow_Clock => 0, Main_Clock => 1, PLL_Clock => 3); for Clock_Prescaler_Type use (Divide_1 => 0, Divide_2 => 1, Divide_4 => 2, Divide_8 => 3, Divide_16 => 4, Divide_32 => 5, Divide_64 => 6); for Master_Clock_Type use record Master_Clock_Selection at 0 range 0 .. 1; Processor_Clock_Prescaler at 0 range 2 .. 4; end record; for Programmable_Clock_Type use record Master_Clock_Selection at 0 range 0 .. 1; Programmable_Clock_Prescaler at 0 range 2 .. 4; end record; for Interrupt_Enable_Type use record Main_Oscillator_Status_Interrupt at 0 range 0 .. 0; PLL_Lock_Interrupt at 0 range 2 .. 2; Master_Clock_Ready_Interrupt at 0 range 3 .. 3; Programmable_Clock_Ready_0_Interrupt at 0 range 8 .. 8; Programmable_Clock_Ready_1_Interrupt at 0 range 9 .. 9; Programmable_Clock_Ready_2_Interrupt at 0 range 10 .. 10; end record; for Interrupt_Disable_Type use record Main_Oscillator_Status_Interrupt at 0 range 0 .. 0; PLL_Lock_Interrupt at 0 range 2 .. 2; Master_Clock_Ready_Interrupt at 0 range 3 .. 3; Programmable_Clock_Ready_0_Interrupt at 0 range 8 .. 8; Programmable_Clock_Ready_1_Interrupt at 0 range 9 .. 9; Programmable_Clock_Ready_2_Interrupt at 0 range 10 .. 10; end record; for Stabilized_Type use (Not_Stabilized => 0, Stabilized => 1); for Locked_Type use (Not_Locked => 0, Locked => 1); for Ready_Type use (Not_Ready => 0, Ready => 1); for Status_Type use record Main_Oscillator at 0 range 0 .. 0; PLL_Lock at 0 range 2 .. 2; Master_Clock at 0 range 3 .. 3; Programmable_Clock_0_Ready at 0 range 8 .. 8; Programmable_Clock_1_Ready at 0 range 9 .. 9; Programmable_Clock_2_Ready at 0 range 10 .. 10; end record; for Interrupt_Mask_Type use record Main_Oscillator at 0 range 0 .. 0; PLL_Lock at 0 range 2 .. 2; Master_Clock at 0 range 3 .. 3; Programmable_Clock_0_Ready at 0 range 8 .. 8; Programmable_Clock_1_Ready at 0 range 9 .. 9; Programmable_Clock_2_Ready at 0 range 10 .. 10; end record; ------------------- -- PMC Registers -- ------------------- pragma Warnings (Off, "*alignment*"); System_Clock_Enable_Register : System_Clock_Enable_Type with Address => System'To_Address (PMC_Base_Address + SCER_Offset_Address); System_Clock_Disable_Register : System_Clock_Disable_Type with Address => System'To_Address (PMC_Base_Address + SCDR_Offset_Address); System_Clock_Status_Register : System_Clock_Enable_Type with Address => System'To_Address (PMC_Base_Address + SCSR_Offset_Address); Peripheral_Clock_Enable_Register : Peripheral_Enable_Set with Address => System'To_Address (PMC_Base_Address + PCER_Offset_Address); Peripheral_Clock_Disable_Register : Peripheral_Disable_Set with Address => System'To_Address (PMC_Base_Address + PCDR_Offset_Address); Peripheral_Clock_Status_Register : Peripheral_Status_Set with Address => System'To_Address (PMC_Base_Address + PCSR_Offset_Address); Clock_Generator_Main_Oscillator_Register : Clock_Generator_Main_Oscillator_Type with Address => System'To_Address (PMC_Base_Address + MOR_Offset_Address); Clock_Generator_Main_Clock_Frequency_Register : Clock_Generator_Main_Clock_Frequency_Type with Address => System'To_Address (PMC_Base_Address + MCFR_Offset_Address); Clock_Generator_PLL_Register : Clock_Generator_PLL_Type with Address => System'To_Address (PMC_Base_Address + PLLR_Offset_Address); Master_Clock_Register : Master_Clock_Type with Address => System'To_Address (PMC_Base_Address + MCKR_Offset_Address); Programmable_Clock_0_Register : Programmable_Clock_Type with Address => System'To_Address (PMC_Base_Address + PCK0_Offset_Address); Programmable_Clock_1_Register : Programmable_Clock_Type with Address => System'To_Address (PMC_Base_Address + PCK1_Offset_Address); Programmable_Clock_2_Register : Programmable_Clock_Type with Address => System'To_Address (PMC_Base_Address + PCK2_Offset_Address); Interrupt_Enable_Register : Interrupt_Enable_Type with Address => System'To_Address (PMC_Base_Address + IER_Offset_Address); Interrupt_Disable_Register : Interrupt_Disable_Type with Address => System'To_Address (PMC_Base_Address + IDR_Offset_Address); Status_Register : Status_Type with Address => System'To_Address (PMC_Base_Address + SR_Offset_Address); Interrupt_Mask_Register : Interrupt_Mask_Type with Address => System'To_Address (PMC_Base_Address + IMR_Offset_Address); end Atmel.AT91SAM7S.PMC;
PThierry/ewok-kernel
Ada
25
ads
../stm32f439/soc-gpio.ads
BrickBot/Bound-T-H8-300
Ada
11,611
adb
-- Arithmetic.Pointers (body) -- -- A component of the Bound-T Worst-Case Execution Time Tool. -- ------------------------------------------------------------------------------- -- Copyright (c) 1999 .. 2015 Tidorum Ltd -- 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. -- -- This software is provided by the copyright holders and contributors "as is" and -- any express or implied warranties, including, but not limited to, the implied -- warranties of merchantability and fitness for a particular purpose are -- disclaimed. In no event shall the copyright owner or contributors be liable for -- any direct, indirect, incidental, special, exemplary, or consequential damages -- (including, but not limited to, procurement of substitute goods or services; -- loss of use, data, or profits; or business interruption) however caused and -- on any theory of liability, whether in contract, strict liability, or tort -- (including negligence or otherwise) arising in any way out of the use of this -- software, even if advised of the possibility of such damage. -- -- Other modules (files) of this software composition should contain their -- own copyright statements, which may have different copyright and usage -- conditions. The above conditions apply to this file. ------------------------------------------------------------------------------- -- -- $Revision: 1.6 $ -- $Date: 2015/10/24 20:05:45 $ -- -- $Log: arithmetic-pointers.adb,v $ -- Revision 1.6 2015/10/24 20:05:45 niklas -- Moved to free licence. -- -- Revision 1.5 2009-11-27 11:28:06 niklas -- BT-CH-0184: Bit-widths, Word_T, failed modular analysis. -- -- Revision 1.4 2007/10/28 09:32:44 niklas -- BT-CH-0092: Arithmetic analysis of dynamic data refs is optional. -- -- Revision 1.3 2006/02/27 10:03:06 niklas -- Added function Image_Tag for use in function Image so that -- derived types can use short "tags" without reimplementing -- the whole Image function. -- -- Revision 1.2 2005/03/04 09:36:41 niklas -- Added implementation for Alias_Range (Boundable_Pointer_T) as -- a redispatch to Alias_Range with an Intervals parameter, too. -- Added type Interval_Pointer_T. -- -- Revision 1.1 2005/02/16 21:11:36 niklas -- BT-CH-0002. -- with Ada.Strings.Unbounded; with Ada.Tags; package body Arithmetic.Pointers is function Alias_Range (Ref : Boundable_Pointer_T) return Storage.Alias_Range_T is begin return Alias_Range ( Pointer => Boundable_Pointer_T'Class (Ref), Interval => (Ref.Expr'Range => Storage.Bounds.Universal_Interval)); end Alias_Range; procedure Constrain ( Pointer : in Boundable_Pointer_T; Interval : in Storage.Bounds.Interval_List_T; Giving : out Boundable_Pointer_Ref) is begin Giving := null; end Constrain; function Basis (Item : Boundable_Pointer_T) return Storage.Cell_List_T is begin return Cells_Used (By => Item.Expr); end Basis; procedure Add_Basis_Cells ( From : in Boundable_Pointer_T; To : in out Storage.Cell_Set_T) is begin for E in From.Expr'Range loop Add_Cells_Used ( By => From.Expr(E), Refs => True, To => To); end loop; end Add_Basis_Cells; procedure Add_Basis_Cells ( From : in Boundable_Pointer_T; To : in out Storage.Cell_Set_T; Added : in out Boolean) is begin for E in From.Expr'Range loop Add_Cells_Used ( By => From.Expr(E), Refs => True, To => To, Added => Added); end loop; end Add_Basis_Cells; function Is_Used (Cell : Storage.Cell_T; By : Boundable_Pointer_T) return Boolean is begin return Is_Used (Cell => Cell, By => By.Expr); end Is_Used; function Image_Tag (Item : Boundable_Pointer_T) return String is begin return Ada.Tags.Expanded_Name (Boundable_Pointer_T'Class (Item)'Tag); end Image_Tag; function Image (Item : Boundable_Pointer_T) return String is use Ada.Strings.Unbounded; Result : Unbounded_String := To_Unbounded_String (Image_Tag (Boundable_Pointer_T'Class (Item))); -- The result. begin Append (Result, '['); for E in Item.Expr'Range loop Append (Result, Image (Item.Expr(E))); if E < Item.Expr'Last then Append (Result, ','); end if; end loop; Append (Result, ']'); return To_String (Result); end Image; function Alias_Range ( Ref : Boundable_Pointer_T; Under : Storage.Bounds.Bounds_T'Class) return Storage.Alias_Range_T is begin if Under in Arithmetic.Bounds_T'Class then -- Goody, we can bound expressions. return Arithmetic_Alias_Range ( Ref => Boundable_Pointer_T'Class (Ref), Under => Arithmetic.Bounds_T'Class (Under)); else -- Some wild type of bounds. Ignore them. return Alias_Range (Boundable_Pointer_T'Class (Ref)); end if; end Alias_Range; function Arithmetic_Alias_Range ( Ref : Boundable_Pointer_T; Under : Arithmetic.Bounds_T'Class) return Storage.Alias_Range_T is Intervals : Storage.Bounds.Interval_List_T (Ref.Expr'Range); -- The possible range for each Expr, Under the given bounds. Unique : Boolean := True; -- Whether a unique value is defined for all Ref.Expr. -- Initial value is for conjunctive accumulation. Cell : Storage.Cell_T; -- The referent, if Unique. Group : Processor.Alias_Group_T; -- The alias group of the Cell, if Unique. begin for I in Intervals'Range loop Intervals(I) := Interval (Ref.Expr(I), Under); Unique := Unique and Storage.Bounds.Singular (Intervals(I)); end loop; if Unique then -- All Ref.Expr are bounded to a single value. -- This defines a referent Cell which in turn has an alias -- group which has an alias range. Cell := Referent ( Pointer => Boundable_Pointer_T'Class (Ref), Value => Storage.Bounds.Single_Value (Intervals)); Group := Processor.Alias_Group (Storage.Spec_Of (Cell)); return Processor.Alias_Range (Group); else -- Several possible values for the Ref.Expr tuples. -- The Intervals define an encompassing alias range. return Alias_Range ( Pointer => Boundable_Pointer_T'Class (Ref), Interval => Intervals); end if; end Arithmetic_Alias_Range; function Referent ( Ref : Boundable_Pointer_T; Under : Storage.Bounds.Bounds_T'Class) return Storage.Cell_T is begin if Under in Arithmetic.Bounds_T'Class then -- Goody, we can bound expressions. return Arithmetic_Referent ( Ref => Boundable_Pointer_T'Class (Ref), Under => Arithmetic.Bounds_T'Class (Under)); else -- Some wild type of bounds. return Storage.No_Cell; end if; end Referent; function Arithmetic_Referent ( Ref : Boundable_Pointer_T; Under : Arithmetic.Bounds_T'Class) return Storage.Cell_T is Value : Storage.Bounds.Value_List_T (Ref.Expr'Range); -- The single value (we hope) for each Ref.Expr, Under the bounds. begin for V in Value'Range loop Value(V) := Signed_Value ( Word => Single_Value (Ref.Expr(V), Under), Width => Width_Of (Ref.Expr(V))); end loop; -- All Ref.Expr are bounded to a single Value. return Referent ( Pointer => Boundable_Pointer_T'Class (Ref), Value => Value); exception when Storage.Bounds.Unbounded => -- Some Ref.Expr is not bounded to a single value. return Storage.No_Cell; end Arithmetic_Referent; procedure Apply ( Bounds : in Storage.Bounds.Bounds_T'Class; Upon : in Boundable_Pointer_T; Giving : out Storage.References.Boundable_Ref) is begin if Bounds in Arithmetic.Bounds_T'Class then -- Goody, we can bound expressions. Apply ( Bounds => Arithmetic.Bounds_T'Class (Bounds), Upon => Boundable_Pointer_T'Class (Upon), Giving => Boundable_Pointer_Ref (Giving)); else -- Some wild type of bounds. Giving := null; end if; end Apply; procedure Apply ( Bounds : in Arithmetic.Bounds_T'Class; Upon : in Boundable_Pointer_T; Giving : out Boundable_Pointer_Ref) is Intervals : Storage.Bounds.Interval_List_T (Upon.Expr'Range); -- The possible range for each Expr, Under the given bounds. begin for I in Intervals'Range loop Intervals(I) := Interval (Upon.Expr(I), Bounds); end loop; Constrain ( Pointer => Boundable_Pointer_T'Class (Upon), Interval => Intervals, Giving => Giving); end Apply; -- -- References based on (address) expressions which can -- be constrained to intervals -- function Alias_Range (Ref : Interval_Pointer_T) return Storage.Alias_Range_T is begin return Reduced_Alias_Range ( Pointer => Interval_Pointer_T'Class (Ref), Interval => Ref.Interval); end Alias_Range; function Alias_Range ( Pointer : Interval_Pointer_T; Interval : Storage.Bounds.Interval_List_T) return Storage.Alias_Range_T is use Storage.Bounds; Joint : Interval_List_T (Pointer.Interval'Range); -- The intersected intervals. begin for J in Joint'Range loop Joint(J) := Pointer.Interval(J) and Interval(J); end loop; return Reduced_Alias_Range ( Pointer => Interval_Pointer_T'Class (Pointer), Interval => Joint); end Alias_Range; procedure Constrain ( Pointer : in Interval_Pointer_T; Interval : in Storage.Bounds.Interval_List_T; Giving : out Boundable_Pointer_Ref) is use Storage.Bounds; New_Pointer : Interval_Pointer_Ref := null; -- The improved Pointer, if one is created. begin for D in 1 .. Pointer.Dim loop if not (Pointer.Interval(D) <= Interval(D)) then -- The intersection will be tighter. if New_Pointer = null then -- This was the first tighter dimension, so now -- we decide to make a new pointer. New_Pointer := new Interval_Pointer_T'Class'( Interval_Pointer_T'Class (Pointer)); end if; -- Constrain the new pointer to the intersection of -- the earlier and new Interval: New_Pointer.Interval(D) := New_Pointer.Interval(D) and Interval(D); end if; end loop; Giving := Boundable_Pointer_Ref (New_Pointer); end Constrain; end Arithmetic.Pointers;
stcarrez/ada-util
Ada
8,689
adb
----------------------------------------------------------------------- -- Util.Beans.Objects.Discretes -- Unit tests for concurrency package -- Copyright (C) 2009, 2010, 2020, 2022 Stephane Carrez -- Written by Stephane Carrez ([email protected]) -- -- 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.Calendar; with Ada.Calendar.Formatting; with Util.Beans.Objects.Enums; with Util.Beans.Objects.Time; with Util.Beans.Objects.Discrete_Tests; package body Util.Beans.Objects.Discretes is use Ada.Calendar; function "-" (Left, Right : Ada.Calendar.Time) return Ada.Calendar.Time; function "+" (Left, Right : Ada.Calendar.Time) return Ada.Calendar.Time; function Time_Value (S : String) return Ada.Calendar.Time; function "-" (Left, Right : Boolean) return Boolean; function "+" (Left, Right : Boolean) return Boolean; package Test_Integer is new Util.Beans.Objects.Discrete_Tests (Test_Type => Integer, To_Type => Util.Beans.Objects.To_Integer, To_Object_Test => Util.Beans.Objects.To_Object, Value => Integer'Value, Test_Name => "Integer", Test_Values => "-100,1,0,1,1000"); package Test_Duration is new Util.Beans.Objects.Discrete_Tests (Test_Type => Duration, To_Type => Util.Beans.Objects.To_Duration, To_Object_Test => Util.Beans.Objects.To_Object, Value => Duration'Value, Test_Name => "Duration", Test_Values => "-100,1,0,1,1000"); package Test_Long_Integer is new Util.Beans.Objects.Discrete_Tests (Test_Type => Long_Integer, To_Type => Util.Beans.Objects.To_Long_Integer, To_Object_Test => Util.Beans.Objects.To_Object, Value => Long_Integer'Value, Test_Name => "Long_Integer", Test_Values => "-100,1,0,1,1000"); package Test_Long_Long_Integer is new Util.Beans.Objects.Discrete_Tests (Test_Type => Long_Long_Integer, To_Type => Util.Beans.Objects.To_Long_Long_Integer, To_Object_Test => Util.Beans.Objects.To_Object, Value => Long_Long_Integer'Value, Test_Name => "Long_Long_Integer", Test_Values => "-10000000000000,1,0,1,1000_000_000_000"); function "-" (Left, Right : Boolean) return Boolean is begin return Left and Right; end "-"; function "+" (Left, Right : Boolean) return Boolean is begin return Left or Right; end "+"; package Test_Boolean is new Util.Beans.Objects.Discrete_Tests (Test_Type => Boolean, To_Type => Util.Beans.Objects.To_Boolean, To_Object_Test => Util.Beans.Objects.To_Object, Value => Boolean'Value, Test_Name => "Boolean", Test_Values => "false,true"); type Color is (WHITE, BLACK, RED, GREEN, BLUE, YELLOW); package Color_Object is new Util.Beans.Objects.Enums (Color, ROUND_VALUE => True); function "-" (Left, Right : Color) return Color; function "+" (Left, Right : Color) return Color; function "-" (Left, Right : Color) return Color is N : constant Integer := Color'Pos (Left) - Color'Pos (Right); begin if N >= 0 then return Color'Val ((Color'Pos (WHITE) + N) mod 6); else return Color'Val ((Color'Pos (WHITE) - N) mod 6); end if; end "-"; function "+" (Left, Right : Color) return Color is N : constant Integer := Color'Pos (Left) + Color'Pos (Right); begin return Color'Val ((Color'Pos (WHITE) + N) mod 6); end "+"; package Test_Enum is new Util.Beans.Objects.Discrete_Tests (Test_Type => Color, To_Type => Color_Object.To_Value, To_Object_Test => Color_Object.To_Object, Value => Color'Value, Test_Name => "Color", Test_Values => "BLACK,RED,GREEN,BLUE,YELLOW"); Epoch : constant Ada.Calendar.Time := Ada.Calendar.Time_Of (Year => Year_Number'First, Month => 1, Day => 1, Seconds => 12 * 3600.0); function Time_Value (S : String) return Ada.Calendar.Time is begin return Ada.Calendar.Formatting.Value (S); end Time_Value; -- For the purpose of the time unit test, we need Time + Time operation even -- if this does not really makes sense. function "+" (Left, Right : Ada.Calendar.Time) return Ada.Calendar.Time is T1 : constant Duration := Left - Epoch; T2 : constant Duration := Right - Epoch; begin return (T1 + T2) + Epoch; end "+"; function "-" (Left, Right : Ada.Calendar.Time) return Ada.Calendar.Time is T1 : constant Duration := Left - Epoch; T2 : constant Duration := Right - Epoch; begin return (T1 - T2) + Epoch; end "-"; package Test_Time is new Util.Beans.Objects.Discrete_Tests (Test_Type => Ada.Calendar.Time, To_Type => Util.Beans.Objects.Time.To_Time, To_Object_Test => Util.Beans.Objects.Time.To_Object, Value => Time_Value, Test_Name => "Time", Test_Values => "1970-03-04 12:12:00,1975-05-04 13:13:10"); package Test_Float is new Util.Beans.Objects.Discrete_Tests (Test_Type => Float, To_Type => Util.Beans.Objects.To_Float, To_Object_Test => Util.Beans.Objects.To_Object, Value => Float'Value, Test_Name => "Float", Test_Values => "1.2,3.3,-3.3"); package Test_Long_Float is new Util.Beans.Objects.Discrete_Tests (Test_Type => Long_Float, To_Type => Util.Beans.Objects.To_Long_Float, To_Object_Test => Util.Beans.Objects.To_Object, Value => Long_Float'Value, Test_Name => "Long_Float", Test_Values => "1.2,3.3,-3.3"); package Test_Long_Long_Float is new Util.Beans.Objects.Discrete_Tests (Test_Type => Long_Long_Float, To_Type => Util.Beans.Objects.To_Long_Long_Float, To_Object_Test => Util.Beans.Objects.To_Object, Value => Long_Long_Float'Value, Test_Name => "Long_Long_Float", Test_Values => "1.2,3.3,-3.3"); procedure Add_Tests (Suite : in Util.Tests.Access_Test_Suite) is begin Test_Boolean.Add_Tests (Suite); Test_Integer.Add_Tests (Suite); Test_Long_Integer.Add_Tests (Suite); Test_Duration.Add_Tests (Suite); Test_Long_Long_Integer.Add_Tests (Suite); Test_Time.Add_Tests (Suite); Test_Float.Add_Tests (Suite); Test_Long_Float.Add_Tests (Suite); Test_Long_Long_Float.Add_Tests (Suite); Test_Enum.Add_Tests (Suite); end Add_Tests; end Util.Beans.Objects.Discretes;
burratoo/Acton
Ada
965
ads
------------------------------------------------------------------------------------------ -- -- -- OAKLAND COMPONENTS -- -- -- -- OAKLAND.MEMORY -- -- -- -- Copyright (C) 2014-2021, Patrick Bernardi -- -- -- ------------------------------------------------------------------------------------------ package Oakland.Memory with Pure is procedure Malloc with Export, Convention => C, External_Name => "__gnat_malloc"; end Oakland.Memory;
AdaCore/gpr
Ada
3,308
ads
------------------------------------------------------------------------------ -- -- -- GPR2 PROJECT MANAGER -- -- -- -- Copyright (C) 2019-2023, AdaCore -- -- -- -- This is free software; you can redistribute it and/or modify it under -- -- terms of the GNU General Public License as published by the Free Soft- -- -- ware Foundation; either version 3, or (at your option) any later ver- -- -- sion. This software is distributed in the hope that it will be useful, -- -- but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHAN- -- -- TABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public -- -- License for more details. You should have received a copy of the GNU -- -- General Public License distributed with GNAT; see file COPYING. If not, -- -- see <http://www.gnu.org/licenses/>. -- -- -- ------------------------------------------------------------------------------ -- Representation of Time Stamps with Ada.Calendar; package GPR2.Time_Stamp is use Ada; -- All compiled units are marked with a time stamp which is derived from -- the source file (we assume that the host system has the concept of a -- file time stamp which is modified when a file is modified). These -- time stamps are used to ensure consistency of the set of units that -- constitutes a library. Time stamps are 14-character strings with -- with the following format: -- YYYYMMDDHHMMSS -- YYYY year -- MM month (2 digits 01-12) -- DD day (2 digits 01-31) -- HH hour (2 digits 00-23) -- MM minutes (2 digits 00-59) -- SS seconds (2 digits 00-59) -- In the case of Unix systems (and other systems which keep the time in -- GMT), the time stamp is the GMT time of the file, not the local time. -- This solves problems in using libraries across networks with clients -- spread across multiple time-zones. Length : constant := 14; -- Length of time stamp value subtype Index is Natural range 1 .. Length; type Data is new String (Index); -- Type used to represent time stamp Empty : constant Data := (others => ' '); -- Value representing an empty or missing time stamp. Looks less than -- any real time stamp if two time stamps are compared. Note that -- although this is not private, clients should not rely on the exact -- way in which this string is represented, and instead should use the -- subprograms below. Dummy : constant Data := (others => '0'); -- This is used for dummy time stamp values used in the D lines for -- non-existent files, and is intended to be an impossible value. function From_Time (Time : Calendar.Time) return Data; -- Returns Time as a time stamp type function UTC_Time return Data; -- Returns the UTC time end GPR2.Time_Stamp;
AdaCore/spat
Ada
1,008
ads
------------------------------------------------------------------------------ -- Copyright (C) 2020 by Heisenbug Ltd. ([email protected]) -- -- This work is free. You can redistribute it and/or modify it under the -- terms of the Do What The Fuck You Want To Public License, Version 2, -- as published by Sam Hocevar. See the LICENSE file for more details. ------------------------------------------------------------------------------ pragma License (Unrestricted); ------------------------------------------------------------------------------ -- -- SPARK Proof Analysis Tool -- -- S.P.A.T. - Version information -- ------------------------------------------------------------------------------ with GNAT.Compiler_Version; package SPAT.Version is package Implementation is package Compiler_Info is new GNAT.Compiler_Version; end Implementation; Number : constant String := "1.3.0"; Compiler : constant String := Implementation.Compiler_Info.Version; end SPAT.Version;
jhumphry/SPARK_SipHash
Ada
2,233
adb
-- SipHash.Wide_Wide_Discrete -- Implementing SipHash over a generic discrete type -- Copyright (c) 2015, James Humphry - see LICENSE file for details with Interfaces; use all type Interfaces.Unsigned_64; function SipHash.Wide_Wide_Discrete (m : T_Array) return Hash_Type is subtype T_Array_2 is T_Array(T_Index'First..T_Index'First+1); T_Offset : constant Integer := T'Pos(T'First); function T_Array_2_to_U64_LE (S : in T_Array_2) return U64 with Inline; function T_Array_Tail_to_U64_LE (S : in T_Array) return U64 with Inline, Pre => (S'Length = 1); function T_Array_2_to_U64_LE (S : in T_Array_2) return U64 is (U64(T'Pos(S(S'First)) - T_Offset) or Shift_Left(U64(T'Pos(S(S'First+1)) - T_Offset), 32)); function T_Array_Tail_to_U64_LE (S : in T_Array) return U64 is (U64(T'Pos(S(S'First)) - T_Offset)); m_pos : T_Index'Base := 0; m_i : U64; v : SipHash_State := Get_Initial_State; w : constant Natural := (m'Length / 2) + 1; begin -- This compile-time check is useful for GNAT but in GNATprove it currently -- just generates a warning that it can not yet prove them correct. pragma Warnings (GNATprove, Off, "Compile_Time_Error"); pragma Compile_Time_Error ((T'Size > 32), "SipHash.Wide_Wide_Discrete only works for " & "discrete types which fit into four bytes."); pragma Warnings (GNATprove, On, "Compile_Time_Error"); for I in 1..w-1 loop pragma Loop_Invariant (m_pos = T_Index'Base(I - 1) * 2); m_i := T_Array_2_to_U64_LE(m(m'First + m_pos..m'First + m_pos + 1)); v(3) := v(3) xor m_i; for J in 1..c_rounds loop Sip_Round(v); end loop; v(0) := v(0) xor m_i; m_pos := m_pos + 2; end loop; if m_pos < m'Length then m_i := T_Array_Tail_to_U64_LE(m(m'First + m_pos .. m'Last)); else m_i := 0; end if; m_i := m_i or Shift_Left(U64(m'Length mod 256), 56); v(3) := v(3) xor m_i; for J in 1..c_rounds loop Sip_Round(v); end loop; v(0) := v(0) xor m_i; return Hash_Type'Mod(Sip_Finalization(v)); end SipHash.Wide_Wide_Discrete;
coopht/axmpp
Ada
5,412
adb
------------------------------------------------------------------------------ -- -- -- AXMPP Project -- -- -- -- XMPP Library for Ada -- -- -- ------------------------------------------------------------------------------ -- -- -- Copyright © 2011-2016, Alexander Basov <[email protected]> -- -- 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 Alexander Basov, IE nor the names of its -- -- contributors may be used to endorse or promote products derived from -- -- this software without specific prior written permission. -- -- -- -- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -- -- "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -- -- LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -- -- A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -- -- HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -- -- SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED -- -- TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -- -- PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -- -- LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -- -- NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -- -- SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -- -- -- ------------------------------------------------------------------------------ -- $Revision$ $Date$ ------------------------------------------------------------------------------ package body XMPP.Rosters is use XMPP.Objects; ------------------- -- Append_Item -- ------------------- procedure Append_Item (Self : in out XMPP_Roster; Item : not null XMPP.Roster_Items.XMPP_Roster_Item_Access) is begin Self.Items.Append (XMPP_Object_Access (Item)); end Append_Item; -------------- -- Create -- -------------- function Create return not null XMPP_Roster_Access is begin return new XMPP_Roster; end Create; ---------------- -- Get_Kind -- ---------------- overriding function Get_Kind (Self : XMPP_Roster) return Object_Kind is pragma Unreferenced (Self); begin return XMPP.Roster; end Get_Kind; --------------- -- Item_At -- --------------- function Item_At (Self : XMPP_Roster; Pos : Natural) return not null XMPP.Roster_Items.XMPP_Roster_Item_Access is begin return XMPP.Roster_Items.XMPP_Roster_Item_Access (Self.Items.Element (Pos)); end Item_At; ------------------- -- Items_Count -- ------------------- function Items_Count (Self : XMPP_Roster) return Natural is begin return Natural (Self.Items.Length); end Items_Count; ----------------- -- Serialize -- ----------------- overriding procedure Serialize (Self : XMPP_Roster; Writer : in out XML.SAX.Pretty_Writers.XML_Pretty_Writer'Class) is begin Self.Start_IQ (Writer); Writer.Start_Prefix_Mapping (Namespace_URI => Roster_URI); Writer.Start_Element (Namespace_URI => Roster_URI, Local_Name => Query_Element); Writer.End_Element (Namespace_URI => Roster_URI, Local_Name => Query_Element); Writer.End_Prefix_Mapping; Self.End_IQ (Writer); end Serialize; ------------------- -- Set_Content -- ------------------- overriding procedure Set_Content (Self : in out XMPP_Roster; Parameter : League.Strings.Universal_String; Value : League.Strings.Universal_String) is begin raise Program_Error with "Not yet implemented"; end Set_Content; end XMPP.Rosters;
flyx/OpenGLAda
Ada
4,738
ads
-- part of OpenGLAda, (c) 2017 Felix Krause -- released under the terms of the MIT license, see the file "COPYING" with GL.Types; package GL.Attributes is pragma Preelaborate; use GL.Types; type Attribute is new UInt; -- This function is deprecated for compatibility reasons. Use: -- 1. Set_Vertex_Attrib_Pointer (other) -- 2. Set_Vertex_Integer_Attrib_Pointer -- 3. Set_Vertex_Double_Attrib_Pointer -- Stride - count of components -- Offset - count of components procedure Set_Vertex_Attrib_Pointer (Index : Attribute; Count : Component_Count; Kind : Numeric_Type; Stride, Offset : Size); pragma Obsolescent (Entity => Set_Vertex_Attrib_Pointer, Message => "This subroutine is deprecated. Use the other" & "Set_Vertex_Attrib_Pointer, Set_Vertex_Integer_Attrib_Pointer, or " & "Set_Vertex_Double_Attrib_Pointer"); -- Stride - bytes count -- Offset - bytes count procedure Set_Vertex_Attrib_Pointer (Index : Attribute; Count : Component_Count; Kind : Numeric_Type; Normalized : Boolean; Stride, Offset : Size); procedure Set_Vertex_Integer_Attrib_Pointer (Index : Attribute; Count : Component_Count; Kind : Numeric_Type; Stride, Offset : Size); procedure Set_Vertex_Double_Attrib_Pointer (Index : Attribute; Count : Component_Count; Kind : Numeric_Type; Stride, Offset : Size); procedure Enable_Vertex_Attrib_Array (Index : Attribute); procedure Disable_Vertex_Attrib_Array (Index : Attribute); procedure Vertex_Attrib_Divisor (Index : Attribute; Divisor : UInt); procedure Set_Short (Index : Attribute; Value : Short); procedure Set_Short (Index : Attribute; V1, V2 : Short); procedure Set_Short (Index : Attribute; Value : Shorts.Vector2); procedure Set_Short (Index : Attribute; V1, V2, V3 : Short); procedure Set_Short (Index : Attribute; Value : Shorts.Vector3); procedure Set_Short (Index : Attribute; V1, V2, V3, V4 : Short); procedure Set_Short (Index : Attribute; Value : Shorts.Vector4); procedure Set_Single (Index : Attribute; Value : Single); procedure Set_Single (Index : Attribute; V1, V2 : Single); procedure Set_Single (Index : Attribute; Value : Singles.Vector2); procedure Set_Single (Index : Attribute; V1, V2, V3 : Single); procedure Set_Single (Index : Attribute; Value : Singles.Vector3); procedure Set_Single (Index : Attribute; V1, V2, V3, V4 : Single); procedure Set_Single (Index : Attribute; Value : Singles.Vector4); procedure Set_Int (Index : Attribute; Value : Int); procedure Set_Int (Index : Attribute; V1, V2 : Int); procedure Set_Int (Index : Attribute; Value : Ints.Vector2); procedure Set_Int (Index : Attribute; V1, V2, V3 : Int); procedure Set_Int (Index : Attribute; Value : Ints.Vector3); procedure Set_Int (Index : Attribute; V1, V2, V3, V4 : Int); procedure Set_Int (Index : Attribute; Value : Ints.Vector4); procedure Set_UInt (Index : Attribute; Value : UInt); procedure Set_UInt (Index : Attribute; V1, V2 : UInt); procedure Set_UInt (Index : Attribute; Value : UInts.Vector2); procedure Set_UInt (Index : Attribute; V1, V2, V3 : UInt); procedure Set_UInt (Index : Attribute; Value : UInts.Vector3); procedure Set_UInt (Index : Attribute; V1, V2, V3, V4 : UInt); procedure Set_UInt (Index : Attribute; Value : UInts.Vector4); procedure Set_Double (Index : Attribute; Value : Double); procedure Set_Double (Index : Attribute; V1, V2 : Double); procedure Set_Double (Index : Attribute; Value : Doubles.Vector2); procedure Set_Double (Index : Attribute; V1, V2, V3 : Double); procedure Set_Double (Index : Attribute; Value : Doubles.Vector3); procedure Set_Double (Index : Attribute; V1, V2, V3, V4 : Double); procedure Set_Double (Index : Attribute; Value : Doubles.Vector4); end GL.Attributes;
riccardo-bernardini/eugen
Ada
11,292
ads
---------------------------------------------------------------------------- -- Symbolic Expressions (symexpr) -- -- Copyright (C) 2012, Riccardo Bernardini -- -- This file is part of symexpr. -- -- symexpr is free software: you can redistribute it and/or modify -- it under the terms of the Lesser GNU General Public License as published by -- the Free Software Foundation, either version 3 of the License, or -- (at your option) any later version. -- -- symexpr 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 Lesser GNU General Public License -- along with gclp. If not, see <http://www.gnu.org/licenses/>. ---------------------------------------------------------------------------- -- -- <summary> -- I wrote the first version of this package a day when I wanted to allow -- the user of a program to specify values in a symbolic form like -- "max(intro.end, bluesheet.end)" After writing the code that handled this -- type of expression, I noticed that the code was general enough and with -- minimal effort I converted it to a generic package that I succesively -- improved. -- -- This package allows you to handle expression in "symbolic" form inside -- your program. Expressions operate on "scalars" whose type parametrizes -- this package (so you can have expressions of floats, integers or... -- dates [my case]). -- -- You can -- -- (A) Construct symbolic expression -- => by parsing strings with Parse, e.g., -- -- X := parse("2*3 - max(y, abs(u))") -- -- => by constructing them using the provided constructors and -- operators. For example, -- -- X := Variable("x"); -- Poly := to_expr(12)*X*X - to_expr(4)*x + to_expr(1); -- Top := Function_Call("max", Function_Call("abs", x), Poly); -- -- in this case Top is an expression that represents the function -- -- max(abs(x), 12*x*x - 4*x + 1) -- -- (B) Replace variables in expression with scalars or other -- expressions (function Replace) -- -- (C) Evaluate an expression. For example, to plot a graph of Top(X) -- you can use -- -- for I in 1..10 loop -- Plot(I, Eval(Replace(Top, "x", I))); -- end loop; -- -- As said above, this package is parameterized by the type of the scalar. -- It requires that the usual operators (+, -, *, ...) are defined. -- </summary> -- with Ada.Strings.Unbounded; with Ada.Finalization; with Ada.Containers.Indefinite_Ordered_Maps; with Ada.Containers.Indefinite_Ordered_Sets; -- with Symbolic_Identifiers; -- -- -- generic type Scalar_Type is private; -- The type representing the scalars type Scalar_Array is array (Positive range <>) of Scalar_Type; type Identifier is private; with function "<" (L, R : Identifier) return Boolean is <>; with function "+" (X : Scalar_Type) return Scalar_Type is <>; with function "-" (X : Scalar_Type) return Scalar_Type is <>; with function "+" (L, R : Scalar_Type) return Scalar_Type is <>; with function "-" (L, R : Scalar_Type) return Scalar_Type is <>; with function "*" (L, R : Scalar_Type) return Scalar_Type is <>; with function "/" (L, R : Scalar_Type) return Scalar_Type is <>; with function Call (Name : Identifier; Param : Scalar_Array) return Scalar_Type is <>; -- Callback used to evaluate the functions in a Symoblic_Expression -- Name is the name of the function, while Param will store the -- parameters given to the function with function Image (Item : Scalar_Type) return String; -- Return a text representation of a scalar with function ID_Image (Item : Identifier) return String; -- Return a text representation of a scalar package Symbolic_Expressions is -- use type Symbolic_Identifiers.Identifier; subtype Variable_Name is Identifier; subtype Function_Name is Identifier; type Symbolic_Expression is new Ada.Finalization.Controlled with private; type Expression_Array is array (Positive range <>) of Symbolic_Expression; function Is_Constant (X : Symbolic_Expression) return Boolean; -- Return true if X has no free variables Not_A_Scalar : exception; function Eval (X : Symbolic_Expression) return Scalar_Type; -- Evaluate expression X and return the corresponding scalar value. -- Raise Not_A_Scalar is Is_Constant(X) is false function To_Expr (X : Scalar_Type) return Symbolic_Expression; -- Return an expression representing the value of X function Variable (Name : Variable_Name) return Symbolic_Expression; -- Return an expression representing the given variable function Function_Call (Name : Function_Name; Parameters : Expression_Array) return Symbolic_Expression; -- Return an expression representing a function call function "+" (L : Symbolic_Expression) return Symbolic_Expression; function "-" (L : Symbolic_Expression) return Symbolic_Expression; function "+" (L, R : Symbolic_Expression) return Symbolic_Expression; function "-" (L, R : Symbolic_Expression) return Symbolic_Expression; function "*" (L, R : Symbolic_Expression) return Symbolic_Expression; function "/" (L, R : Symbolic_Expression) return Symbolic_Expression; function "+" (L : Symbolic_Expression; R : Scalar_Type) return Symbolic_Expression; function "-" (L : Symbolic_Expression; R : Scalar_Type) return Symbolic_Expression; function "*" (L : Symbolic_Expression; R : Scalar_Type) return Symbolic_Expression; function "/" (L : Symbolic_Expression; R : Scalar_Type) return Symbolic_Expression; function "+" (L : Scalar_Type; R : Symbolic_Expression) return Symbolic_Expression; function "-" (L : Scalar_Type; R : Symbolic_Expression) return Symbolic_Expression; function "*" (L : Scalar_Type; R : Symbolic_Expression) return Symbolic_Expression; function "/" (L : Scalar_Type; R : Symbolic_Expression) return Symbolic_Expression; package Variable_Sets is new Ada.Containers.Indefinite_Ordered_Sets (Variable_Name); function Free_Variables (Item : Symbolic_Expression) return Variable_Sets.Set; -- Return the name of the variables used in Item procedure Iterate_On_Vars (Item : Symbolic_Expression; Process : access procedure (Var_Name : Variable_Name)); -- Call Process for every variable in Item function Replace (Item : Symbolic_Expression; Var_Name : Variable_Name; Value : Scalar_Type) return Symbolic_Expression; -- Replace every occurence of Var_Name in Item with the given scalar value package Variable_Tables is new Ada.Containers.Indefinite_Ordered_Maps (Key_Type => Variable_Name, Element_Type => Scalar_Type); -- Maps Variable_Tables.Maps are used to associate values to -- variable names function Replace (Item : Symbolic_Expression; Table : Variable_Tables.Map) return Symbolic_Expression; -- For every variable in Item, check if the variable name is a key -- of Table and, if found, replace every occurence of the variable -- with the corresponding value stored in Table. function Replace (Item : Symbolic_Expression; Var_Name : Variable_Name; Value : Symbolic_Expression) return Symbolic_Expression; -- Replace every instance of variable Var_Name with the expression -- Value -- ============= -- -- == PARSING == -- -- ============= -- -- =========== -- -- == DEBUG == -- -- =========== -- function Dump (Item : Symbolic_Expression) return String; -- Return a textual representation of Item. Useful for debugging. -- Currently it returns a tree-like string similar to -- -- * -- Const 4 -- - -- + -- Const 5 -- Const 1 -- Call max -- Var pluto.end -- Var pippo.end -- -- The tree above is relative to the expression -- -- 4 * (5 + 1 - max (pluto.end, pippo.end)) -- -- Why does not it return a "human" string like the latter one? Because -- Dump is for debugging, so it is more useful to be able to see the -- internal structure of Item. private -- -- use Ada.Strings.Unbounded; -- package Bounded_IDs is -- new Ada.Strings.Bounded.Generic_Bounded_Length (Symbolic_Identifiers.Max_ID_Length); -- subtype Bounded_ID is Bounded_IDs.Bounded_String -- with Dynamic_Predicate => Symbolic_Identifiers.Is_Valid_ID (Bounded_IDs.To_String (Bounded_ID)); -- function To_Bounded_ID (X : Symbolic_Identifiers.Variable_Name) return Bounded_ID -- is (Bounded_IDs.To_Bounded_String (String (X))); -- -- function To_String (X : Bounded_ID) return String -- is (Bounded_IDs.To_String (X)); use Ada.Finalization; -- A symbolic expression is stored as a tree, where each node has a -- "class" representing the operation associated with the node. type Node_Class is (Unary_Plus, Unary_Minus, Sum, Sub, Mult, Div, Fun_Call, Var, Const); type Node_Type (Class : Node_Class); type Node_Access is access Node_Type; type Parameter_Array is array (1..128) of Node_Access; type Node_Type (Class : Node_Class) is record case Class is when Unary_Plus | Unary_Minus => Term : Node_Access; when Sum | Sub | Mult | Div => Left, Right : Node_Access; when Fun_Call => Fun_Name : Function_Name; Parameters : Parameter_Array; N_Params : Natural; when Var => Var_Name : Variable_Name; when Const => Value : Scalar_Type; end case; end record; function Duplicate (Item : Node_Access) return Node_Access; pragma Precondition (Item /= null); -- Create a duplicate of the tree rooted in Item procedure Free (Item : in out Node_Access); -- Release the memory associated with the tree in Item -- -- Symbolic_Expression is just a thin "shell" around Node_Access. -- This makes recursive procedures a bit simpler and allows us -- to hide all the house-keeping from the user. -- type Symbolic_Expression is new Ada.Finalization.Controlled with record Expr : Node_Access; end record; overriding procedure Initialize (Item : in out Symbolic_Expression); overriding procedure Finalize (Item : in out Symbolic_Expression); overriding procedure Adjust (Item : in out Symbolic_Expression); end Symbolic_Expressions;
reznikmm/matreshka
Ada
3,639
ads
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- Open Document Toolkit -- -- -- -- Runtime Library Component -- -- -- ------------------------------------------------------------------------------ -- -- -- Copyright © 2014, Vadim Godunko <[email protected]> -- -- 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 XML.DOM.Elements; package ODF.DOM.Db_Query_Elements is pragma Preelaborate; type ODF_Db_Query is limited interface and XML.DOM.Elements.DOM_Element; type ODF_Db_Query_Access is access all ODF_Db_Query'Class with Storage_Size => 0; end ODF.DOM.Db_Query_Elements;
reznikmm/matreshka
Ada
10,487
adb
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- XML Processor -- -- -- -- Tools Component -- -- -- ------------------------------------------------------------------------------ -- -- -- Copyright © 2014, Vadim Godunko <[email protected]> -- -- 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: 4279 $ $Date: 2013-11-19 14:27:35 +0200 (Вт., 19 нояб. 2013) $ ------------------------------------------------------------------------------ with Ada.Wide_Wide_Text_IO; with Ada.Containers.Hashed_Maps; with XML.Schema; with XML.Schema.Objects.Hash; with XML.Schema.Type_Definitions; with XML.Schema.Complex_Type_Definitions; with XML.Schema.Particles; with XML.Schema.Terms; with XSD_To_Ada.Writers; package body XSD_To_Ada.Decoder is type Type_Info is record First_State : Positive; end record; package Object_Hash_Maps is new Ada.Containers.Hashed_Maps (Key_Type => XML.Schema.Objects.XS_Object, Element_Type => Type_Info, Hash => XML.Schema.Objects.Hash, Equivalent_Keys => XML.Schema.Objects."=", "=" => "="); procedure Traverse_Object (Object : XML.Schema.Objects.XS_Object; Map : in out Object_Hash_Maps.Map; State : in out Positive); -------------- -- Generate -- -------------- procedure Generate (Items : XSD2Ada.Analyzer.Items) is Map : Object_Hash_Maps.Map; Spec : XSD_To_Ada.Writers.Writer; Impl : XSD_To_Ada.Writers.Writer; State : Positive := 1; Info : Type_Info; begin for X of Items loop Info.First_State := State; Traverse_Object (X.Object, Map, State); Map.Insert (X.Object, Info); State := State + 1; end loop; Spec.P ("with League.Strings;"); Spec.P ("with Web_Services.SOAP.Payloads.Decoders;"); Spec.P ("with XML.SAX.Attributes;"); Spec.P; Spec.P ("package Decoder is"); Impl.P ("package body Decoder is"); Spec.P; Spec.P (" type Decoder is"); Spec.P (" limited new Web_Services.SOAP.Payloads.Decoders." & "SOAP_Payload_Decoder"); Spec.P (" with private;"); Spec.P; Spec.P ("private"); Spec.P; Spec.P (" type State_Array is array (1 .. 10) of Natural;"); Spec.P; Spec.P (" type Decoder is"); Spec.P (" limited new Web_Services.SOAP.Payloads.Decoders." & "SOAP_Payload_Decoder"); Spec.P (" with record"); Spec.P (" -- State stack"); Spec.P (" States : State_Array := (1 => 0, others => <>);"); Spec.P (" Top : Positive := 1;"); Spec.P (" -- Current payload element"); Spec.P (" Payload : Web_Services.SOAP.Payloads." & "SOAP_Payload_Access;"); Spec.P (" -- Place to collect characters text"); Spec.P (" Characters : League.Strings.Universal_String;"); -- Spec.P (" Has_Characters : Boolean;"); Spec.P (" -- For each payload define access component"); Spec.P (" P_Close_Session : Close_Session_Access;"); Spec.P (" -- For each type define value component"); Spec.P (" V_Session_Identifier : League.Strings." & "Universal_String;"); Spec.P (" end record;"); Spec.P; Spec.P (" overriding procedure Characters", Impl); Spec.P (" (Self : in out Decoder;", Impl); Spec.P (" Text : League.Strings.Universal_String;", Impl); Spec.N (" Success : in out Boolean)", Impl); Spec.P (";"); Impl.P (" is"); Impl.P (" begin"); Impl.P (" Self.Characters.Append (Text);"); -- Impl.P (" Self.Has_Characters := True;"); Impl.P (" end Characters;"); Impl.P; Spec.P; Spec.P (" overriding function Create", Impl); Spec.P (" (URI : not null access League.Strings.Universal_String)", Impl); Spec.N (" return Decoder", Impl); Spec.P (";"); Impl.P; Impl.P (" is"); Impl.P (" pragma Unreferenced (URI);"); Impl.P (" begin"); Impl.P (" return X : Decoder;"); Impl.P (" end Create;"); Impl.P; Spec.P; Spec.P (" overriding function Payload", Impl); Spec.P (" (Self : Decoder)", Impl); Spec.N (" return not null Web_Services.SOAP.Payloads." & "SOAP_Payload_Access", Impl); Spec.P (";"); Impl.P (" is"); Impl.P (" begin"); Impl.P (" return Self.Payload;"); Impl.P (" end Payload;"); Impl.P; Spec.P; Spec.P (" overriding procedure End_Element", Impl); Spec.P (" (Self : in out Decoder;", Impl); Spec.P (" Namespace_URI : League.Strings.Universal_String;", Impl); Spec.P (" Local_Name : League.Strings.Universal_String;", Impl); Spec.N (" Success : in out Boolean)", Impl); Spec.P (";"); Impl.P (" is"); Impl.P (" begin"); Impl.P (" null;"); Impl.P (" end End_Element;"); Impl.P; Spec.P; Spec.P (" overriding procedure Start_Element", Impl); Spec.P (" (Self : in out Decoder;", Impl); Spec.P (" Namespace_URI : League.Strings.Universal_String;", Impl); Spec.P (" Local_Name : League.Strings.Universal_String;", Impl); Spec.P (" Attributes : XML.SAX.Attributes.SAX_Attributes;", Impl); Spec.N (" Success : in out Boolean)", Impl); Spec.P (";"); Impl.P (" is"); Impl.P (" begin"); Impl.P (" Self.Characters.Clear;"); Impl.P (" end Start_Element;"); Impl.P; Spec.P; Spec.P ("end Decoder;", Impl); Ada.Wide_Wide_Text_IO.Put_Line (Spec.Text.To_Wide_Wide_String); Ada.Wide_Wide_Text_IO.Put_Line (Impl.Text.To_Wide_Wide_String); end Generate; --------------------- -- Traverse_Object -- --------------------- procedure Traverse_Object (Object : XML.Schema.Objects.XS_Object; Map : in out Object_Hash_Maps.Map; State : in out Positive) is use XML.Schema.Complex_Type_Definitions; procedure Traverse_Term (Term : XML.Schema.Terms.XS_Term; Max_Occurs : XML.Schema.Particles.Unbounded_Natural; Min_Occurs : Natural) is null; XS_Particle : XML.Schema.Particles.XS_Particle; Type_D : XML.Schema.Type_Definitions.XS_Type_Definition; CTD : XML.Schema.Complex_Type_Definitions.XS_Complex_Type_Definition; begin if Object.Is_Type_Definition then Type_D := Object.To_Type_Definition; case Type_D.Get_Type_Category is when XML.Schema.Complex_Type => CTD := Type_D.To_Complex_Type_Definition; if CTD.Get_Content_Type in Element_Only | Mixed then XS_Particle := CTD.Get_Particle; Traverse_Term (XS_Particle.Get_Term, XS_Particle.Get_Max_Occurs, XS_Particle.Get_Min_Occurs); end if; when XML.Schema.Simple_Type => null; when XML.Schema.None => raise Constraint_Error; end case; -- elsif Object.Is_Model_Group end if; Map.Insert (Object, (First_State => State)); State := State + 1; end Traverse_Object; end XSD_To_Ada.Decoder;
Holt59/Ada-SDL
Ada
5,415
ads
-------------------------------------------- -- -- -- PACKAGE GAME - PARTIE ADA -- -- -- -- GAME-GAUDIO.ADS -- -- -- -- Gestion du son (musique et "chunk") -- -- -- -- Créateur : CAPELLE Mikaël -- -- Adresse : [email protected] -- -- -- -- Dernière modification : 14 / 06 / 2011 -- -- -- -------------------------------------------- with Interfaces.C; with Ada.Finalization; package Game.gAudio is -- Types servant à stocker des Musique ou des sons court type Music is limited private; type Chunk is limited private; Max_Volume : constant := 128; type Volume is range 0..Max_Volume; ---------------------------------------- -- FONCTIONS DE GESTION DE LA MUSIQUE -- ---------------------------------------- -- Format supporté (en théorie, si erreur merci de me contacter) : -- .wav -- .aiff -- .voc -- .mod .xm .s3m .669 .it .med -- .mid -- .ogg -- .mp3 -- Charge une musique procedure Load_Music (Mus : out Music; Name : in String); -- Joue la musique -- Une seule musique peut être joué à la fois procedure Play_Music(Mus : in Music; -- Musique à jouer Loops : in Boolean := True; -- En boucle ? Nb : in Positive := 1); -- Nombre de fois (si pas de boucle) -- Arrête la musique procedure Stop_Music; -- Met la musique en Pause si P vaut True, sinon enlève la pause procedure Pause_Music(P : in Boolean := True); -- Vérifie si la musique est en pause ou en train de joué function Music_Paused return Boolean; function Music_Playing return Boolean; -- Recommence la musique depuis le début procedure Restart_Music; -- Change le volume de la musique procedure Set_Music_Volume (V : in Volume); ------------------------------------------------- -- FONCTION DE GESTION DES SONS COURTS (CHUNK) -- ------------------------------------------------- -- Chaque son court est joué sur un canal (channel) différent -- Pour affecter un son court, vous devez affecter le canal sur -- lequel il est joué -- Format supporté (en théorie, si erreur merci de me contacter) : -- .wav -- .aiff -- .voc -- .riff -- .ogg -- Type Canal, vous pouvez avoir maximum 100 canaux (<=> sons) ouvert en même temps Last_Channel : constant := 100 ; type Channel is range 0 .. Last_Channel ; -- Charge un son court procedure Load_Chunk (Ch : out Chunk; Name : in String); -- Alloue Nb canaux procedure Allocate_Channel (Nb : in Positive); -- Joue le son Ch -- Premier canal libre utilisé dans le premier cas procedure Play_Channel(Ch : in Chunk; -- Chunk à joeur Nb : in Positive := 1; -- Nombre de fois que le chunk est joué Time : in Natural := 0); -- Temps du chunk (si 0, le chunk est joué en entier) procedure Play_Channel(Ch : in Chunk; -- Chunk à jouer Chan : in Channel; -- Canal sur lequel jouer le chunk Nb : in Positive := 1; -- Nombre de fois que le chunk est joué Time : in Natural := 0); -- Temps du chunk (si 0, le chunk est joué en entier) -- Stop le canal Ch, pareil qu'au dessus si aucun canal n'est spécifié procedure Stop_Channel; procedure Stop_Channel(Ch : in Channel); -- Met en pause le canal Ch, s'il n'est pas spécifié, met en pause tous les canaux procedure Pause_Channel(P : in Boolean := True); procedure Pause_Channel(Chan : in Channel; P : in Boolean := True); -- Test si le canal est en pause / en train de joué function Channel_Paused (Ch : in Channel) return Boolean; function Channel_Playing(Ch : in Channel) return Boolean; -- Retourne le nombre de canaux en pause / en train de joué function Nb_Chan_Paused return Natural; function Nb_Chan_Playing return Natural; -- Met le volume du canal C à V procedure Set_Channel_Volume(V : in Volume); procedure Set_Channel_Volume(C : in Channel; V : in Volume); private package AF renames Ada.Finalization; ----------- -- MUSIC -- ----------- type SDL_Music is access all Interfaces.C.Int; Null_SDL_Music : constant SDL_Music := null; procedure Close_Music (M : in out Music); type Music is new AF.Controlled with record Mus : SDL_Music := Null_SDL_Music; end record; procedure Initialize (M : in out Music); procedure Finalize (M : in out Music); ----------- -- CHUNK -- ----------- type SDL_Chunk is access all Interfaces.C.Int; Null_SDL_Chunk : constant SDL_Chunk := null; procedure Close_Chunk (C : in out Chunk); type Chunk is new AF.Controlled with record Chu : SDL_Chunk := Null_SDL_Chunk; end record; procedure Initialize (C : in out Chunk); procedure Finalize (C : in out Chunk); end Game.gAudio;
charlesdaniels/libagar
Ada
3,440
adb
------------------------------------------------------------------------------ -- AGAR CORE LIBRARY -- -- A G A R . D S O -- -- B o d y -- -- -- -- Copyright (c) 2018-2019, Julien Nadeau Carriere ([email protected]) -- -- Copyright (c) 2010, coreland ([email protected]) -- -- -- -- Permission to use, copy, modify, and/or distribute this software for any -- -- purpose with or without fee is hereby granted, provided that the above -- -- copyright notice and this permission notice appear in all copies. -- -- -- -- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES -- -- WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF -- -- MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR -- -- ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES -- -- WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN -- -- ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF -- -- OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. -- ------------------------------------------------------------------------------ with Ada.Unchecked_Conversion; package body Agar.DSO is use type C.int; function Load (Name : in String) return DSO_Access is Ch_Name : aliased C.char_array := C.To_C (Name); begin return AG_LoadDSO (Name => CS.To_Chars_Ptr (Ch_Name'Unchecked_Access), Flags => 0); end Load; function Unload (DSO : DSO_Not_Null_Access) return Boolean is begin return 1 = AG_UnloadDSO (DSO); end Unload; function Lookup (Name : in String) return DSO_Access is Ch_Name : aliased C.char_array := C.To_C (Name); begin return AG_LookupDSO (CS.To_Chars_Ptr (Ch_Name'Unchecked_Access)); end Lookup; function Get_List return DSO_List is use type C.unsigned; use DSO_List_To_Strings; Count : aliased C.unsigned := 0; Result : DSO_List_To_Strings.Pointer := AG_GetDSOList (Count'Access); Output : DSO_List; begin pragma Assert (Result /= null); for Index in 1 .. Count loop declare Element : constant String := CS.Value (Result.all); begin Output.Append (Element); end; Increment (Result); end loop; AG_FreeDSOList (List => Result, Count => Count); return Output; end Get_List; function Symbol_Lookup (DSO : in DSO_Not_Null_Access; Symbol : in String) return Subprogram_Access_Type is Ch_Symbol : aliased C.char_array := C.To_C (Symbol); Result : aliased System.Address; function Convert is new Ada.Unchecked_Conversion (Source => System.Address, Target => Subprogram_Access_Type); begin if 1 = AG_SymDSO (DSO => DSO, Symbol => CS.To_Chars_Ptr (Ch_Symbol'Unchecked_Access), Value => Result'Unchecked_Access) then return Convert (Result); else return Convert (System.Null_Address); end if; end Symbol_Lookup; end Agar.DSO;
dksmiffs/gnatmake-examples
Ada
221
adb
with Ada.Text_IO; use Ada.Text_IO; procedure Main is procedure C_Fun; pragma Import(C, C_Fun, "i_am_c"); begin Put_Line("Calling external C code from Ada main."); C_Fun; Put_Line("Exiting Ada main."); end Main;
zhmu/ananas
Ada
3,895
ads
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- S Y S T E M . P A C K _ 9 0 -- -- -- -- S p e c -- -- -- -- Copyright (C) 1992-2022, 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. -- -- -- ------------------------------------------------------------------------------ -- Handling of packed arrays with Component_Size = 90 package System.Pack_90 is pragma Preelaborate; Bits : constant := 90; type Bits_90 is mod 2 ** Bits; for Bits_90'Size use Bits; -- In all subprograms below, Rev_SSO is set True if the array has the -- non-default scalar storage order. function Get_90 (Arr : System.Address; N : Natural; Rev_SSO : Boolean) return Bits_90 with Inline; -- Arr is the address of the packed array, N is the zero-based -- subscript. This element is extracted and returned. procedure Set_90 (Arr : System.Address; N : Natural; E : Bits_90; Rev_SSO : Boolean) with Inline; -- Arr is the address of the packed array, N is the zero-based -- subscript. This element is set to the given value. function GetU_90 (Arr : System.Address; N : Natural; Rev_SSO : Boolean) return Bits_90 with Inline; -- 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_90 (Arr : System.Address; N : Natural; E : Bits_90; Rev_SSO : Boolean) with Inline; -- 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_90;
ficorax/PortAudioAda
Ada
1,692
adb
with Interfaces.C; with System; package body Generic_Callback is function paMinLatCallback (inputBuffer : System.Address; outputBuffer : System.Address; framesPerBuffer : IC.unsigned_long; timeInfo : access PaStreamCallbackTimeInfo; statusFlags : PaStreamCallbackFlags; userData : System.Address) return PaStreamCallbackResult with Export => True, Convention => C; --------------------- -- PAA_Open_Stream -- --------------------- function PAA_Open_Stream (stream : access PaStream_Ptr; inputParameters : access PaStreamParameters; outputParameters : access PaStreamParameters; sampleRate : Long_Float; framesPerBuffer : Long_Integer; streamFlags : PaStreamFlags; pre : Pre_Callback; post : Post_Callback; userData : User_Data) return PaError is begin end PAA_Open_Stream; ---------------------- -- paMinLatCallback -- ---------------------- function paMinLatCallback (inputBuffer : System.Address; outputBuffer : System.Address; framesPerBuffer : Interfaces.C.unsigned_long; timeInfo : access PaStreamCallbackTimeInfo; statusFlags : PaStreamCallbackFlags; userData : System.Address) return PaStreamCallbackResult is begin for i in 1 .. Integer (framesPerBuffer) loop null; end loop; return paContinue; end paMinLatCallback; end Generic_Callback;
Fabien-Chouteau/AGATE
Ada
3,963
ads
------------------------------------------------------------------------------ -- -- -- Copyright (C) 2016, AdaCore -- -- -- -- Redistribution and use in source and binary forms, with or without -- -- modification, are permitted provided that the following conditions are -- -- met: -- -- 1. Redistributions of source code must retain the above copyright -- -- notice, this list of conditions and the following disclaimer. -- -- 2. Redistributions in binary form must reproduce the above copyright -- -- notice, this list of conditions and the following disclaimer in -- -- the documentation and/or other materials provided with the -- -- distribution. -- -- 3. Neither the name of the copyright holder nor the names of its -- -- contributors may be used to endorse or promote products derived -- -- from this software without specific prior written permission. -- -- -- -- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -- -- "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -- -- LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -- -- A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -- -- HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -- -- SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -- -- LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -- -- DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -- -- THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -- -- (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -- -- OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -- -- -- ------------------------------------------------------------------------------ with System; with AGATE_Arch_Parameters; private package Semihosting is type SH_Word is new AGATE_Arch_Parameters.Word; subtype Flag is SH_Word; OPEN_FLAG_R : constant Flag := 0; OPEN_FLAG_RB : constant Flag := 1; OPEN_FLAG_R_PLUS : constant Flag := 2; OPEN_FLAG_R_PLUS_B : constant Flag := 3; OPEN_FLAG_W : constant Flag := 4; OPEN_FLAG_WB : constant Flag := 5; OPEN_FLAG_W_PLUS : constant Flag := 6; OPEN_FLAG_W_PLUS_B : constant Flag := 7; OPEN_FLAG_A : constant Flag := 8; OPEN_FLAG_AB : constant Flag := 9; OPEN_FLAG_A_PLUS : constant Flag := 10; OPEN_FLAG_A_PLUS_B : constant Flag := 11; procedure Write_C (C : Character); procedure Write_0 (Str : String); function Close (File_Handle : SH_Word) return SH_Word; function Open (Filename : String; Mode : Flag) return SH_Word; function Read (File_Handle : SH_Word; Buffer_Address : System.Address; Buffer_Size : SH_Word) return SH_Word; function Write (File_Handle : SH_Word; Buffer_Address : System.Address; Buffer_Size : SH_Word) return SH_Word; function Remove (Filename : String) return SH_Word; function Seek (File_Handle : SH_Word; Absolute_Position : SH_Word) return SH_Word; function Errno return SH_Word; procedure Log (C : Character) renames Write_C; procedure Log (Str : String) renames Write_0; procedure Log_Line (Str : String); procedure Log_New_Line; end Semihosting;
AdaCore/libadalang
Ada
14,986
adb
with Ada.Command_Line; with Ada.Containers.Generic_Array_Sort; with Ada.Containers.Ordered_Sets; with Ada.Containers.Vectors; with Ada.Directories; with Ada.Text_IO; with GNATCOLL.Projects; use GNATCOLL.Projects; with GNATCOLL.Strings; use GNATCOLL.Strings; with GNATCOLL.Traces; with GNATCOLL.VFS; use GNATCOLL.VFS; with Libadalang.Analysis; with Libadalang.Project_Provider; with Colors; with Highlighter; with HTML; -- Take an Ada source file as command-line argument and output a syntax -- highlighted version of the source code on the standard output. -- -- By default, or if one argument is --html, output it as an HTML document -- (CSS included). If --term256 appears instead, output it as a sequence of -- ANSI escape codes. procedure Ada2Web is package LAL renames Libadalang.Analysis; function Writeable (File : Ada.Text_IO.File_Type) return Boolean is (Ada.Text_IO."/=" (Ada.Text_IO.Mode (File), Ada.Text_IO.In_File)); procedure Create_If_Needed (Directory : String); -- If Directory does not exist, create it procedure Print_Usage (Error : String := ""); -- Display command-line usage on the standard output. If Error is a -- non-empty string, also display it as an error message. function Parse_Arguments return Boolean; -- Process command-line arguments, loading the given project and processing -- the given project name list. Return whether we are ready to create HTML -- pages: False means that there is an error. In this case, Parse_Arguments -- prints the error message. procedure Process_File (Project : Project_Type; Source_File : String; Output_File : in out Ada.Text_IO.File_Type) with Pre => Writeable (Output_File); -- Emit highlighted and xref'd source code for the given Source_File, which -- comes from Project. Write the syntax highlighted source code for Unit -- according to Output_Format. The HTML code is written to Output_File. procedure Emit_HTML_Header (File : in out Ada.Text_IO.File_Type; Title, Prefix : String) with Pre => Writeable (File); -- Emit header HTML code with the given Title string. Prefix is used as a -- prefix for all file paths to be made relative to the root path. procedure Emit_HTML_Footer (File : in out Ada.Text_IO.File_Type) with Pre => Writeable (File); package String_Vectors is new Ada.Containers.Vectors (Positive, XString); function "<" (Left, Right : Project_Type) return Boolean is (Left.Name < Right.Name); package Project_Sets is new Ada.Containers.Ordered_Sets (Project_Type); Env : Project_Environment_Access; Prj_Tree : Project_Tree_Access; -- Project tree for all sources to analyze Projects : Project_Sets.Set; -- Subset of projects in Prj_Tree for which we emit highlighted source code Ctx : LAL.Analysis_Context; UFP : LAL.Unit_Provider_Reference; CSS_Filename : constant String := "style.css"; --------------------- -- Parse_Arguments -- --------------------- function Parse_Arguments return Boolean is Project_File : XString; Scenario_Vars : String_Vectors.Vector; Project_List : String_Vectors.Vector; begin for I in 1 .. Ada.Command_Line.Argument_Count loop declare Arg : constant XString := To_XString (Ada.Command_Line.Argument (I)); begin if Arg.Length > 2 and then Arg.Starts_With ("--") then declare Opt : constant XString := Arg.Slice (3, Arg.Length); begin if Opt = "help" then Print_Usage; return False; else Print_Usage ("Invalid option: " & Arg.To_String); return False; end if; end; elsif Arg.Length > 1 and then Arg.Starts_With ("-") then declare Opt : constant XString := Arg.Slice (2, Arg.Length); begin if Opt.Starts_With ("P") then Project_File := Opt.Slice (2, Opt.Length); elsif Opt.Starts_With ("X") then Scenario_Vars.Append (Opt.Slice (2, Opt.Length)); else Print_Usage ("Invalid option: " & Arg.To_String); return False; end if; end; else Project_List.Append (Arg); end if; end; end loop; -- Check that we have a project file to load and several projet names to -- analyze. if Project_File.Is_Empty then Print_Usage ("Missing root project file (-P)"); return False; end if; if Project_List.Is_Empty then Print_Usage ("Missing list of project files to process"); return False; end if; -- Now load the root project Initialize (Env); for V of Scenario_Vars loop declare Equal_Index : constant Natural := V.Find ('='); begin if Equal_Index = 0 then Print_Usage ("Invalid scenario variable: -X" & V.To_String); return False; end if; Env.Change_Environment (V.Slice (1, Equal_Index - 1).To_String, V.Slice (Equal_Index + 1, V.Length).To_String); end; end loop; Prj_Tree := new Project_Tree; Prj_Tree.Load (Create (+Project_File.To_String), Env); -- And resolve the project names to actual Project_Type values for P of Project_List loop declare Prj : constant Project_Type := Prj_Tree.Project_From_Name (P.To_String); begin if Prj = No_Project then Print_Usage ("Invalid project file name: " & P.To_String); return False; end if; Projects.Include (Prj); end; end loop; return True; end Parse_Arguments; ----------------- -- Print_Usage -- ----------------- procedure Print_Usage (Error : String := "") is Command : constant String := Ada.Command_Line.Command_Name; begin if Error'Length > 0 then Ada.Command_Line.Set_Exit_Status (Ada.Command_Line.Failure); Ada.Text_IO.Put_Line (Command & ": " & Error); Ada.Text_IO.New_Line; end if; Ada.Text_IO.Put_Line ("Usage: " & Command & " -P[project-file]" & " -X[scenario-variable]=[value]" & " [project-names]"); end Print_Usage; ------------------ -- Process_File -- ------------------ procedure Process_File (Project : Project_Type; Source_File : String; Output_File : in out Ada.Text_IO.File_Type) is procedure Put (S : String); -- Write the given string to Output_File function URL (U : LAL.Analysis_Unit) return String; -- If U belongs to the set of projects under consideration, return the -- relative URL to the highlighted source code for U. Otherwise, return -- an empty string. Unit : constant LAL.Analysis_Unit := LAL.Get_From_File (Ctx, Source_File); Highlights : Highlighter.Highlights_Holder (Highlighter.Token_Index (LAL.Token_Count (Unit)), Highlighter.Token_Index (LAL.Trivia_Count (Unit))); --------- -- Put -- --------- procedure Put (S : String) is begin Ada.Text_IO.Put (Output_File, S); end Put; --------- -- URL -- --------- function URL (U : LAL.Analysis_Unit) return String is Filename : constant String := LAL.Get_Filename (U); Info : constant File_Info := Prj_Tree.Info (Create (+Filename)); begin if Info.Project = No_Project or else not Projects.Contains (Info.Project) then return ""; end if; declare Prj_Dir : constant String := Ada.Directories.Compose ("..", Info.Project.Name); begin return Ada.Directories.Compose (Prj_Dir, +Create (+Filename).Base_Name & ".html"); end; end URL; procedure Put_Tokens_HTML is new HTML.Put_Tokens (Put, URL); begin -- If there are any error, just print them on the standard error -- stream and abort. Otherwise, do our job. if LAL.Has_Diagnostics (Unit) then for D of LAL.Diagnostics (Unit) loop Ada.Text_IO.Put_Line (Ada.Text_IO.Standard_Error, LAL.Format_GNU_Diagnostic (Unit, D)); end loop; Ada.Command_Line.Set_Exit_Status (Ada.Command_Line.Failure); return; end if; -- Otherwise, create highlighting annotations and emit the HTML document Highlighter.Highlight (Unit, Highlights); Emit_HTML_Header (Output_File, Project.Name & " - " & HTML.Escape (Source_File), "../"); Put ("<div><a href=""../index.html"">Go back to the index</a></div>"); Put_Tokens_HTML (Unit, Highlights, "utf-8", With_Xrefs => True); Put ("<div><a href=""../index.html"">Go back to the index</a></div>"); Emit_HTML_Footer (Output_File); end Process_File; ---------------------- -- Create_If_Needed -- ---------------------- procedure Create_If_Needed (Directory : String) is begin if not Ada.Directories.Exists (Directory) then Ada.Directories.Create_Directory (Directory); end if; end Create_If_Needed; ---------------------- -- Emit_HTML_Header -- ---------------------- procedure Emit_HTML_Header (File : in out Ada.Text_IO.File_Type; Title, Prefix : String) is use Ada.Text_IO; Escaped : constant String := HTML.Escape (Title); begin Put_Line (File, "<html><head>"); Put_Line (File, "<meta http-equiv=""Content-Type""" & " content=""charset=utf-8"" />"); Put_Line (File, "<title>" & Escaped & "</title>"); Put_Line (File, "<link rel=""StyleSheet"" type=""text/css"" href=""" & Prefix & CSS_Filename & """/>"); Put_Line (File, "</head><body>"); Put_Line (File, "<h1>" & Escaped & "</h1>"); end Emit_HTML_Header; ---------------------- -- Emit_HTML_Footer -- ---------------------- procedure Emit_HTML_Footer (File : in out Ada.Text_IO.File_Type) is begin Ada.Text_IO.Put_Line (File, "</body></html>"); end Emit_HTML_Footer; Output_Dir : XString; Index : Ada.Text_IO.File_Type; begin GNATCOLL.Traces.Parse_Config_File; if not Parse_Arguments then Ada.Command_Line.Set_Exit_Status (Ada.Command_Line.Failure); return; end if; -- Create the analysis context for Libadalang UFP := Libadalang.Project_Provider.Create_Project_Unit_Provider (Prj_Tree, Prj_Tree.Root_Project, Env); Ctx := LAL.Create_Context (Unit_Provider => UFP); -- Create the output directories, if needed declare Obj_Dir : constant String := +Prj_Tree.Root_Project.Object_Dir.Full_Name; begin Output_Dir := To_XString (Ada.Directories.Compose (Obj_Dir, "ada2web")); Create_If_Needed (Obj_Dir); Create_If_Needed (Output_Dir.To_String); end; -- Create the file that will contain common CSS rules declare use Ada.Text_IO; procedure Put (S : String); F : File_Type; --------- -- Put -- --------- procedure Put (S : String) is begin Put (F, S); end Put; procedure Put_CSS_Rules is new HTML.Put_CSS_Rules (Put); begin Create (F, Out_File, Ada.Directories.Compose (Output_Dir.To_String, CSS_Filename)); Put_Line (F, "a {"); Put_Line (F, "text-decoration: none;"); Put_Line (F, "color: #" & HTML.Color_To_HTML (Colors.Default_Style.Text_Color) & ";"); Put_Line (F, "}"); Put_Line (F, "a:hover { text-decoration: underline; }"); Put_Line (F, "span.line { display: block; }"); Put_Line (F, "span.line:target { background-color: #" & HTML.Color_To_HTML (Colors.Default_Style.Selected_Bg_Color) & "; }"); Put_Line (F, "body {"); Put_Line (F, "color: #" & HTML.Color_To_HTML (Colors.Default_Style.Text_Color) & ";"); Put_Line (F, "background-color: #" & HTML.Color_To_HTML (Colors.Default_Style.Bg_Color) & ";"); Put_Line (F, "}"); Put_CSS_Rules (Colors.Default_Style.Style); Close (F); end; -- Start the index file... Ada.Text_IO.Create (Index, Ada.Text_IO.Out_File, Ada.Directories.Compose (Output_Dir.To_String, "index.html")); Emit_HTML_Header (Index, Prj_Tree.Root_Project.Name, ""); -- Go through each source file in each analyzed project to generate one -- HTML document of highlighted source code per source file. for P of Projects loop declare Sub_Dir : constant String := Ada.Directories.Compose (Output_Dir.To_String, P.Name); Src_Files : File_Array_Access := P.Source_Files; function "<" (Left, Right : Virtual_File) return Boolean is (Left.Base_Name < Right.Base_Name); procedure Sort is new Ada.Containers.Generic_Array_Sort (Positive, Virtual_File, File_Array); begin Sort (Src_Files.all); Create_If_Needed (Sub_Dir); Ada.Text_IO.Put_Line (Index, "<h2>" & HTML.Escape (P.Name) & "</h2>"); Ada.Text_IO.Put_Line (Index, "<ul>"); for F of Src_Files.all loop declare Info : constant File_Info := Prj_Tree.Info (F); Src_Filename : constant String := +Info.File.Base_Name; HTML_Filename : constant String := Src_Filename & ".html"; Output_Filename : constant String := Ada.Directories.Compose (Sub_Dir, HTML_Filename); Output_File : Ada.Text_IO.File_Type; begin Ada.Text_IO.Put_Line (Index, "<li><a href=""" & Output_Filename & """>" & Src_Filename & "</a>"); Ada.Text_IO.Create (Output_File, Ada.Text_IO.Out_File, Output_Filename); if To_XString (Info.Language).To_Lower = "ada" then Process_File (P, +Full_Name (Info.File), Output_File); end if; Ada.Text_IO.Close (Output_File); end; end loop; Unchecked_Free (Src_Files); Ada.Text_IO.Put_Line (Index, "</ul>"); end; end loop; Emit_HTML_Footer (Index); Ada.Text_IO.Close (Index); end Ada2Web;
xclemence/adventofcode2020
Ada
232
ads
with Operation; use Operation; package Calculate2 is function Execute(Value: String; Current_Index: in out Integer; Priority_Mode: Boolean := False) return NaturalDouble; end Calculate2;
ZinebZaad/ENSEEIHT
Ada
4,532
adb
with Ada.Text_IO; use Ada.Text_IO; with Ada.Integer_Text_IO; use Ada.Integer_Text_IO; with Ada.Command_Line; use Ada.Command_Line; with SDA_Exceptions; use SDA_Exceptions; with Alea; with TH; -- Évaluer la qualité du générateur aléatoire et les SDA. procedure Evaluer_Alea_TH is -- Fonction Identité function Identity(Nombre: in Integer) return Integer is begin return Nombre; end Identity; package TH_int_int is new TH (Capacite => 1000, T_Cle => Integer, T_Donnee => Integer, Hachage => Identity); use TH_int_int; -- Afficher l'usage. procedure Afficher_Usage is begin New_Line; Put_Line ("Usage : " & Command_Name & " Borne Taille"); New_Line; Put_Line (" Borne : les nombres sont tirés dans l'intervalle 1..Borne"); Put_Line (" Taille : la taille de l'échantillon"); New_Line; end Afficher_Usage; -- Afficher le Nom et la Valeur d'une variable. -- La Valeur est affichée sur la Largeur_Valeur précisée. procedure Afficher_Variable (Nom: String; Valeur: in Integer; Largeur_Valeur: in Integer := 1) is begin Put (Nom); Put (" : "); Put (Valeur, Largeur_Valeur); New_Line; end Afficher_Variable; -- Évaluer la qualité du générateur de nombre aléatoire Alea sur un -- intervalle donné en calculant les fréquences absolues minimales et -- maximales des entiers obtenus lors de plusieurs tirages aléatoires. -- -- Paramètres : -- Borne: in Entier -- le nombre aléatoire est dans 1..Borne -- Taille: in Entier -- nombre de tirages (taille de l'échantillon) -- Min, Max: out Entier -- fréquence minimale et maximale -- -- Nécessite : -- Borne > 1 -- Taille > 1 -- -- Assure : -- poscondition peu intéressante ! -- 0 <= Min Et Min <= Taille -- 0 <= Max Et Max <= Taille -- Min + Max <= Taille -- Min <= Moyenne Et Moyenne <= Max -- -- Remarque : On ne peut ni formaliser les 'vraies' postconditions, -- ni écrire de programme de test car on ne maîtrise par le générateur -- aléatoire. Pour écrire un programme de test, on pourrait remplacer -- le générateur par un générateur qui fournit une séquence connue -- d'entiers et pour laquelle on pourrait déterminer les données -- statistiques demandées. -- Ici, pour tester on peut afficher les nombres aléatoires et refaire -- les calculs par ailleurs pour vérifier que le résultat produit est -- le bon. procedure Calculer_Statistiques ( Borne : in Integer; -- Borne supérieur de l'intervalle de recherche Taille : in Integer; -- Taille de l'échantillon Min, Max : out Integer -- min et max des fréquences de l'échantillon ) with Pre => Borne > 1 and Taille > 1, Post => 0 <= Min and Min <= Taille and 0 <= Max and Max <= Taille and Min + Max <= Taille is -- Sous procedure mettant à jour le Max et Min. procedure MAJ_Max_Min(Cle: Integer; Donnee: Integer) is begin if Max < Donnee then Max := Donnee; end if; if Min > Donnee then Min := Donnee; end if; end MAJ_Max_Min; procedure Determiner_Max_Min is new Pour_Chaque(MAJ_Max_Min); package Mon_Alea is new Alea (1, Borne); use Mon_Alea; SDA : T_TH; Rand : Integer; begin -- Initialiser la TH. Initialiser(SDA); Min := Taille; Max := 0; for i in 1..Taille loop Get_Random_Number(Rand); begin Enregistrer(SDA, Rand, La_Donnee(SDA, Rand)+1); exception when Cle_Absente_Exception => Enregistrer(SDA, Rand, 1); end; end loop; Determiner_Max_Min(SDA); end Calculer_Statistiques; Min, Max: Integer; -- fréquence minimale et maximale d'un échantillon Borne: Integer; -- les nombres aléatoire sont tirés dans 1..Borne Taille: integer; -- nombre de tirages aléatoires begin if Argument_Count /= 2 then Afficher_Usage; else -- Récupérer les arguments de la ligne de commande begin Borne := Integer'Value (Argument (1)); Taille := Integer'Value (Argument (2)); if Borne < 2 or Taille < 2 then raise CONSTRAINT_ERROR; end if; exception when CONSTRAINT_ERROR => Put_Line("Erreur d'entrée, vous devez entrer des nombres positifs >= 2."); Afficher_Usage; return; end; -- Afficher les valeur de Borne et Taille Afficher_Variable ("Borne ", Borne); Afficher_Variable ("Taille", Taille); Calculer_Statistiques (Borne, Taille, Min, Max); -- Afficher les fréquence Min et Max Afficher_Variable ("Min", Min); Afficher_Variable ("Max", Max); end if; end Evaluer_Alea_TH;
reznikmm/matreshka
Ada
4,427
ads
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- Ada Modeling Framework -- -- -- -- Runtime Library Component -- -- -- ------------------------------------------------------------------------------ -- -- -- Copyright © 2011-2012, Vadim Godunko <[email protected]> -- -- 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. ------------------------------------------------------------------------------ -- A usage dependency whose client is an operation and whose supplier is a -- signal, specifying that the client sends the supplier signal. ------------------------------------------------------------------------------ limited with AMF.UML.Usages; package AMF.Standard_Profile_L2.Sends is pragma Preelaborate; type Standard_Profile_L2_Send is limited interface; type Standard_Profile_L2_Send_Access is access all Standard_Profile_L2_Send'Class; for Standard_Profile_L2_Send_Access'Storage_Size use 0; not overriding function Get_Base_Usage (Self : not null access constant Standard_Profile_L2_Send) return AMF.UML.Usages.UML_Usage_Access is abstract; -- Getter of Send::base_Usage. -- not overriding procedure Set_Base_Usage (Self : not null access Standard_Profile_L2_Send; To : AMF.UML.Usages.UML_Usage_Access) is abstract; -- Setter of Send::base_Usage. -- end AMF.Standard_Profile_L2.Sends;
zhmu/ananas
Ada
3,555
ads
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- A D A . W I D E _ T E X T _ I O . C O M P L E X _ A U X -- -- -- -- S p e c -- -- -- -- Copyright (C) 1992-2022, 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 routines for Ada.Wide_Text_IO.Complex_IO that are -- shared among separate instantiations of this package. The routines in this -- package are identical semantically to those in Complex_IO, except that the -- generic parameter Complex has been replaced by separate real and imaginary -- parameters, and default parameters have been removed because they are -- supplied explicitly by the calls from within the generic template. with Ada.Wide_Text_IO.Float_Aux; private generic type Num is digits <>; with package Aux is new Ada.Wide_Text_IO.Float_Aux (Num, <>, <>); package Ada.Wide_Text_IO.Complex_Aux is procedure Get (File : File_Type; ItemR : out Num; ItemI : out Num; Width : Field); procedure Put (File : File_Type; ItemR : Num; ItemI : Num; Fore : Field; Aft : Field; Exp : Field); procedure Gets (From : String; ItemR : out Num; ItemI : out Num; Last : out Positive); procedure Puts (To : out String; ItemR : Num; ItemI : Num; Aft : Field; Exp : Field); end Ada.Wide_Text_IO.Complex_Aux;
AdaCore/training_material
Ada
4,811
adb
----------------------------------------------------------------------- -- Ada Labs -- -- -- -- Copyright (C) 2008-2009, AdaCore -- -- -- -- Labs is free software; you can redistribute it and/or modify it -- -- under the terms of the GNU General Public License as published by -- -- the Free Software Foundation; either version 2 of the License, or -- -- (at your option) any later version. -- -- -- -- This program is distributed in the hope that it will be useful, -- -- but WITHOUT ANY WARRANTY; without even the implied warranty of -- -- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -- -- General Public License for more details. You should have received -- -- a copy of the GNU General Public License along with this program; -- -- if not, write to the Free Software Foundation, Inc., 59 Temple -- -- Place - Suite 330, Boston, MA 02111-1307, USA. -- ----------------------------------------------------------------------- with Ada.Real_Time; use Ada.Real_Time; with Solar_System; use Solar_System; with Display; use Display; with Display.Basic; use Display.Basic; with Solar_System.Graphics; use Solar_System.Graphics; procedure Main is -- declare variable Bodies which is an array of Body_T Bodies : Bodies_Array_T; -- declare a variable Next of type Time to store the Next step time Next : Time; -- declare a constant Period of 40 milliseconds of type Time_Span defining the loop period Period : constant Time_Span := Milliseconds (40); -- reference to the application window Window : Window_ID; -- reference to the graphical canvas associated with the application window Canvas : Canvas_ID; begin -- Create the main window Window := Create_Window (Width => 240, Height => 320, Name => "Solar System"); -- retrieve the graphical canvas associated with the main window Canvas := Get_Canvas (Window); -- initialize Bodies using Init_Body procedure Init_Body (B => Sun, Bodies => Bodies, Radius => 20.0, Color => Yellow, Distance => 0.0, Angle => 0.0, Speed => 0.0, Turns_Around => Sun); Init_Body (B => Earth, Bodies => Bodies, Radius => 5.0, Color => Blue, Distance => 50.0, Angle => 0.0, Speed => 0.02, Turns_Around => Sun); Init_Body (B => Moon, Bodies => Bodies, Radius => 2.0, Color => White, Distance => 25.0, Angle => 0.0, Speed => 0.08, Turns_Around => Earth); Init_Body (B => Satellite, Bodies => Bodies, Radius => 1.0, Color => Red, Distance => 8.0, Angle => 0.0, Speed => 0.1, Turns_Around => Earth); Init_Body (B => Comet, Bodies => Bodies, Radius => 1.0, Color => Yellow, Distance => 80.0, Angle => 0.0, Speed => 0.05, Turns_Around => Sun); Init_Body (B => Black_Hole, Bodies => Bodies, Radius => 0.0, Color => Blue, Distance => 75.0, Angle => 0.0, Speed => -0.02, Turns_Around => Sun, Visible => False); Init_Body (B => Asteroid_1, Bodies => Bodies, Radius => 1.0, Color => Green, Distance => 5.0, Angle => 0.0, Speed => 0.1, Turns_Around => Black_Hole); Init_Body (B => Asteroid_2, Bodies => Bodies, Radius => 1.0, Color => Yellow, Distance => 5.0, Angle => 3.14, Speed => 0.1, Turns_Around => Black_Hole); -- initialize the Next step time begin the current time (Clock) + the period Next := Clock + Period; -- create an infinite loop -- call Move_All procedure -- call Draw_All procedure -- call Swap_Buffers to update the screen -- wait until Next time -- update the Next time while not Is_Killed loop Move_All (Bodies); Draw_All (Bodies, Canvas); Display.Basic.Swap_Buffers (Window); delay until Next; Next := Next + Period; end loop; end Main;
jscparker/math_packages
Ada
3,768
adb
with Runge_5th; with Text_IO; use Text_IO; with Orbit; procedure runge_5th_order_demo_2 is type Real is digits 15; package One_Electron_Atom is new Orbit (Real); use One_Electron_Atom; package Orb_Integrate is new Runge_5th (Real, Dyn_Index, Dynamical_Variable, F, "*", "+", "-", Norm); use Orb_Integrate; package rio is new Float_IO(Real); use rio; package iio is new Integer_IO(Step_Integer); use iio; Initial_Condition : Dynamical_Variable; Previous_Y, Final_Y : Dynamical_Variable; Final_Time, Starting_Time : Real; Previous_t, Final_t : Real; Delta_t : Real; Initial_Energy : Real; Steps : Step_Integer := 200; Error_Tolerance : Real := 1.0E-7; Error_Control_Desired : Boolean := False; Answer : Character := 'n'; begin -- choose initial conditions new_line; put ("The test calculates the trajectory of a body in a highly elliptical orbit."); new_line; put ("During most of the orbit a large step-size is fine. During the near-"); new_line; put ("collision of the 2 bodies, a tiny step-size is necessary. The test"); new_line; put ("demonstrates that the error control option (which uses variable step-size)"); new_line; put ("is more efficient."); new_line(2); put ("Input number of steps (try 400_000 with and without error control): "); new_line; get (Steps); new_line; put ("Every time the integration advances Delta_t = 4, ERROR is printed."); new_line; put ("Use error control? Enter y or n:"); new_line; get (Answer); if (Answer = 'Y') or (Answer = 'y') then Error_Control_Desired := True; put ("Error control it is. Program attempts to reduce error *per step* to: "); put (Error_Tolerance, Aft => 6); new_line; else Error_Control_Desired := False; put ("OK, no error control."); new_line; end if; --if Error_Control_Desired then --put ("Input error tolerance:"); --new_line; get (Error_Tolerance); --end if; Initial_Condition(0) := 0.0; Initial_Condition(1) := 1.0; --Initial_Condition(2) := 2.0; -- circular orbit Initial_Condition(2) := 0.20; -- highly ellitical orbit Initial_Condition(3) := 0.0; Starting_Time := 0.0; Final_Time := 4.0; Initial_Energy := Energy (Initial_Condition); Previous_Y := Initial_Condition; Previous_t := Starting_Time; Delta_t := Final_Time - Starting_Time; for i in 1..30 loop Final_t := Previous_t + Delta_t; Integrate (Final_State => Final_Y, -- the result (output). Final_Time => Final_t, -- end integration here. Initial_State => Previous_Y, -- the initial condition (input). Initial_Time => Previous_t, -- start integrating here. No_Of_Steps => Steps, -- if no err control, this is no_of_steps Error_Control_Desired => Error_Control_Desired, Error_Tolerance => Error_Tolerance); Previous_Y := Final_Y; Previous_t := Final_t; new_line; put ("Time = t ="); put (Final_t, Aft => 7); put (", Error = (True Energy - Integrated) = "); put (Abs (Initial_Energy - Energy (Final_Y)), Aft => 7); end loop; if (Answer = 'Y') or (Answer = 'y') then new_line(2); put ("With error control enabled, program attempted to reduce"); new_line; put ("error *per step* to (well) under: "); put (Error_Tolerance, Aft => 6); new_line; put ("Over thousands of steps, accumulated error will be much larger than that."); new_line(2); end if; end;
reznikmm/matreshka
Ada
4,648
adb
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- Open Document Toolkit -- -- -- -- Runtime Library Component -- -- -- ------------------------------------------------------------------------------ -- -- -- Copyright © 2014, Vadim Godunko <[email protected]> -- -- 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.DOM_Documents; with Matreshka.ODF_String_Constants; with ODF.DOM.Iterators; with ODF.DOM.Visitors; package body Matreshka.ODF_Chart.Interval_Major_Attributes is ------------ -- Create -- ------------ overriding function Create (Parameters : not null access Matreshka.DOM_Attributes.Attribute_L2_Parameters) return Chart_Interval_Major_Attribute_Node is begin return Self : Chart_Interval_Major_Attribute_Node do Matreshka.ODF_Chart.Constructors.Initialize (Self'Unchecked_Access, Parameters.Document, Matreshka.ODF_String_Constants.Chart_Prefix); end return; end Create; -------------------- -- Get_Local_Name -- -------------------- overriding function Get_Local_Name (Self : not null access constant Chart_Interval_Major_Attribute_Node) return League.Strings.Universal_String is pragma Unreferenced (Self); begin return Matreshka.ODF_String_Constants.Interval_Major_Attribute; end Get_Local_Name; begin Matreshka.DOM_Documents.Register_Attribute (Matreshka.ODF_String_Constants.Chart_URI, Matreshka.ODF_String_Constants.Interval_Major_Attribute, Chart_Interval_Major_Attribute_Node'Tag); end Matreshka.ODF_Chart.Interval_Major_Attributes;
docandrew/YOTROC
Ada
53
ads
package tests is procedure runTests; end tests;
reznikmm/matreshka
Ada
3,780
ads
-- $Header: /cf/ua/arcadia/alex-ayacc/ayacc/src/RCS/file_names.a,v 1.2 88/11/28 13:38:59 arcadia Exp $ -- Copyright (c) 1990 Regents of the University of California. -- All rights reserved. -- -- The primary authors of ayacc were David Taback and Deepak Tolani. -- Enhancements were made by Ronald J. Schmalz. -- -- Send requests for ayacc information to [email protected] -- Send bug reports for ayacc to [email protected] -- -- Redistribution and use in source and binary forms are permitted -- provided that the above copyright notice and this paragraph are -- duplicated in all such forms and that any documentation, -- advertising materials, and other materials related to such -- distribution and use acknowledge that the software was developed -- by the University of California, Irvine. The name of the -- University may not be used to endorse or promote products derived -- from this software without specific prior written permission. -- THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR -- IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED -- WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. -- Module : file_names.ada -- Component of : ayacc -- Version : 1.2 -- Date : 11/21/86 12:29:16 -- SCCS File : disk21~/rschm/hasee/sccs/ayacc/sccs/sxfile_names.ada -- $Header: /cf/ua/arcadia/alex-ayacc/ayacc/src/RCS/file_names.a,v 1.2 88/11/28 13:38:59 arcadia Exp $ -- $Log: file_names.a,v $ --Revision 1.2 88/11/28 13:38:59 arcadia --Modified Get_Unit_Name function to accept legal Ada identifiers. -- --Revision 1.1 88/08/08 12:11:56 arcadia --Initial revision -- -- Revision 0,2 88/03/16 -- Set file names modified to include a file extension parameter. -- Revision 0.1 86/04/01 15:04:19 ada -- This version fixes some minor bugs with empty grammars -- and $$ expansion. It also uses vads5.1b enhancements -- such as pragma inline. -- -- -- Revision 0.0 86/02/19 18:36:22 ada -- -- These files comprise the initial version of Ayacc -- designed and implemented by David Taback and Deepak Tolani. -- Ayacc has been compiled and tested under the Verdix Ada compiler -- version 4.06 on a vax 11/750 running Unix 4.2BSD. -- -- The collection of all file names used by Ayacc -- package Ayacc_File_Names is procedure Set_File_Names(Input_File, Extension: in String); -- Sets the initial value of the file names -- according to the INPUT_FILE. function Get_Source_File_Name return String; function Get_Out_File_Name return String; function Get_Verbose_File_Name return String; function Get_Template_File_Name return String; function Get_Actions_File_Name return String; function Get_Shift_Reduce_File_Name return String; function Get_Goto_File_Name return String; function Get_Tokens_File_Name return String; -- UMASS CODES : function Get_Error_Report_File_Name return String; function Get_Listing_File_Name return String; -- END OF UMASS CODES. function Get_C_Lex_File_Name return String; function Get_Include_File_Name return String; --RJS ========================================== function C_Lex_Unit_Name return String; function Goto_Tables_Unit_Name return String; function Shift_Reduce_Tables_Unit_Name return String; function Tokens_Unit_Name return String; function Main_Unit_Name return String; -- UMASS CODES : function Error_Report_Unit_Name return String; -- END OF UMASS CODES. --RJS ========================================== Illegal_File_Name: exception; -- Raised if the file name does not end with ".y" end Ayacc_File_Names;
Tim-Tom/project-euler
Ada
751
adb
with Ada.Integer_Text_IO; with Ada.Text_IO; package body Problem_09 is package IO renames Ada.Text_IO; package I_IO renames Ada.Integer_Text_IO; procedure Solve is Squares : Array (1 .. 1000) of Positive; begin for index in Squares'Range loop Squares(index) := index * index; end loop; for a in 1 .. 332 loop for b in a + 1 .. 1000 - a loop declare c : constant Positive := 1000 - b - a; begin exit when c <= b; if Squares(a) + Squares(b) = Squares(c) then I_IO.put(a*b*c); IO.New_Line; end if; end; end loop; end loop; end Solve; end Problem_09;
docandrew/troodon
Ada
634,576
ads
pragma Ada_2012; pragma Style_Checks (Off); with Interfaces.C; use Interfaces.C; with bits_stdint_uintn_h; with bits_stdint_intn_h; with xcb; with System; with Interfaces.C.Strings; package xproto is -- Note: modded these to deconflict with function names CONST_XCB_KEY_PRESS : constant := 2; -- /usr/include/xcb/xproto.h:540 CONST_XCB_KEY_RELEASE : constant := 3; -- /usr/include/xcb/xproto.h:563 CONST_XCB_BUTTON_PRESS : constant := 4; -- /usr/include/xcb/xproto.h:577 CONST_XCB_BUTTON_RELEASE : constant := 5; -- /usr/include/xcb/xproto.h:600 CONST_XCB_MOTION_NOTIFY : constant := 6; -- /usr/include/xcb/xproto.h:610 CONST_XCB_ENTER_NOTIFY : constant := 7; -- /usr/include/xcb/xproto.h:651 CONST_XCB_LEAVE_NOTIFY : constant := 8; -- /usr/include/xcb/xproto.h:674 CONST_XCB_FOCUS_IN : constant := 9; -- /usr/include/xcb/xproto.h:679 CONST_XCB_FOCUS_OUT : constant := 10; -- /usr/include/xcb/xproto.h:694 CONST_XCB_KEYMAP_NOTIFY : constant := 11; -- /usr/include/xcb/xproto.h:699 CONST_XCB_EXPOSE : constant := 12; -- /usr/include/xcb/xproto.h:710 CONST_XCB_GRAPHICS_EXPOSURE : constant := 13; -- /usr/include/xcb/xproto.h:729 CONST_XCB_NO_EXPOSURE : constant := 14; -- /usr/include/xcb/xproto.h:750 CONST_XCB_VISIBILITY_NOTIFY : constant := 15; -- /usr/include/xcb/xproto.h:772 CONST_XCB_CREATE_NOTIFY : constant := 16; -- /usr/include/xcb/xproto.h:787 CONST_XCB_DESTROY_NOTIFY : constant := 17; -- /usr/include/xcb/xproto.h:808 CONST_XCB_UNMAP_NOTIFY : constant := 18; -- /usr/include/xcb/xproto.h:822 CONST_XCB_MAP_NOTIFY : constant := 19; -- /usr/include/xcb/xproto.h:838 CONST_XCB_MAP_REQUEST : constant := 20; -- /usr/include/xcb/xproto.h:854 CONST_XCB_REPARENT_NOTIFY : constant := 21; -- /usr/include/xcb/xproto.h:868 CONST_XCB_CONFIGURE_NOTIFY : constant := 22; -- /usr/include/xcb/xproto.h:887 CONST_XCB_CONFIGURE_REQUEST : constant := 23; -- /usr/include/xcb/xproto.h:909 CONST_XCB_GRAVITY_NOTIFY : constant := 24; -- /usr/include/xcb/xproto.h:930 CONST_XCB_RESIZE_REQUEST : constant := 25; -- /usr/include/xcb/xproto.h:946 CONST_XCB_CIRCULATE_NOTIFY : constant := 26; -- /usr/include/xcb/xproto.h:970 CONST_XCB_CIRCULATE_REQUEST : constant := 27; -- /usr/include/xcb/xproto.h:987 CONST_XCB_PROPERTY_NOTIFY : constant := 28; -- /usr/include/xcb/xproto.h:997 CONST_XCB_SELECTION_CLEAR : constant := 29; -- /usr/include/xcb/xproto.h:1014 CONST_XCB_SELECTION_REQUEST : constant := 30; -- /usr/include/xcb/xproto.h:1106 CONST_XCB_SELECTION_NOTIFY : constant := 31; -- /usr/include/xcb/xproto.h:1124 CONST_XCB_COLORMAP_NOTIFY : constant := 32; -- /usr/include/xcb/xproto.h:1154 CONST_XCB_CLIENT_MESSAGE : constant := 33; -- /usr/include/xcb/xproto.h:1189 CONST_XCB_MAPPING_NOTIFY : constant := 34; -- /usr/include/xcb/xproto.h:1210 CONST_XCB_GE_GENERIC : constant := 35; -- /usr/include/xcb/xproto.h:1226 CONST_XCB_REQUEST : constant := 1; -- /usr/include/xcb/xproto.h:1242 CONST_XCB_VALUE : constant := 2; -- /usr/include/xcb/xproto.h:1258 CONST_XCB_WINDOW : constant := 3; -- /usr/include/xcb/xproto.h:1274 CONST_XCB_PIXMAP : constant := 4; -- /usr/include/xcb/xproto.h:1279 CONST_XCB_ATOM : constant := 5; -- /usr/include/xcb/xproto.h:1284 CONST_XCB_CURSOR : constant := 6; -- /usr/include/xcb/xproto.h:1289 CONST_XCB_FONT : constant := 7; -- /usr/include/xcb/xproto.h:1294 CONST_XCB_MATCH : constant := 8; -- /usr/include/xcb/xproto.h:1299 CONST_XCB_DRAWABLE : constant := 9; -- /usr/include/xcb/xproto.h:1304 CONST_XCB_ACCESS : constant := 10; -- /usr/include/xcb/xproto.h:1309 CONST_XCB_ALLOC : constant := 11; -- /usr/include/xcb/xproto.h:1314 CONST_XCB_COLORMAP : constant := 12; -- /usr/include/xcb/xproto.h:1319 CONST_XCB_G_CONTEXT : constant := 13; -- /usr/include/xcb/xproto.h:1324 CONST_XCB_ID_CHOICE : constant := 14; -- /usr/include/xcb/xproto.h:1329 CONST_XCB_NAME : constant := 15; -- /usr/include/xcb/xproto.h:1334 CONST_XCB_LENGTH : constant := 16; -- /usr/include/xcb/xproto.h:1339 CONST_XCB_IMPLEMENTATION : constant := 17; -- /usr/include/xcb/xproto.h:1344 CONST_XCB_CREATE_WINDOW : constant := 1; -- /usr/include/xcb/xproto.h:1497 CONST_XCB_CHANGE_WINDOW_ATTRIBUTES : constant := 2; -- /usr/include/xcb/xproto.h:1540 CONST_XCB_GET_WINDOW_ATTRIBUTES : constant := 3; -- /usr/include/xcb/xproto.h:1567 CONST_XCB_DESTROY_WINDOW : constant := 4; -- /usr/include/xcb/xproto.h:1605 CONST_XCB_DESTROY_SUBWINDOWS : constant := 5; -- /usr/include/xcb/xproto.h:1618 CONST_XCB_CHANGE_SAVE_SET : constant := 6; -- /usr/include/xcb/xproto.h:1636 CONST_XCB_REPARENT_WINDOW : constant := 7; -- /usr/include/xcb/xproto.h:1649 CONST_XCB_MAP_WINDOW : constant := 8; -- /usr/include/xcb/xproto.h:1665 CONST_XCB_MAP_SUBWINDOWS : constant := 9; -- /usr/include/xcb/xproto.h:1678 CONST_XCB_UNMAP_WINDOW : constant := 10; -- /usr/include/xcb/xproto.h:1691 CONST_XCB_UNMAP_SUBWINDOWS : constant := 11; -- /usr/include/xcb/xproto.h:1704 CONST_XCB_CONFIGURE_WINDOW : constant := 12; -- /usr/include/xcb/xproto.h:1748 CONST_XCB_CIRCULATE_WINDOW : constant := 13; -- /usr/include/xcb/xproto.h:1768 CONST_XCB_GET_GEOMETRY : constant := 14; -- /usr/include/xcb/xproto.h:1788 CONST_XCB_QUERY_TREE : constant := 15; -- /usr/include/xcb/xproto.h:1825 CONST_XCB_INTERN_ATOM : constant := 16; -- /usr/include/xcb/xproto.h:1859 CONST_XCB_GET_ATOM_NAME : constant := 17; -- /usr/include/xcb/xproto.h:1891 CONST_XCB_CHANGE_PROPERTY : constant := 18; -- /usr/include/xcb/xproto.h:1932 CONST_XCB_DELETE_PROPERTY : constant := 19; -- /usr/include/xcb/xproto.h:1950 CONST_XCB_GET_PROPERTY : constant := 20; -- /usr/include/xcb/xproto.h:1975 CONST_XCB_LIST_PROPERTIES : constant := 21; -- /usr/include/xcb/xproto.h:2013 CONST_XCB_SET_SELECTION_OWNER : constant := 22; -- /usr/include/xcb/xproto.h:2038 CONST_XCB_GET_SELECTION_OWNER : constant := 23; -- /usr/include/xcb/xproto.h:2060 CONST_XCB_CONVERT_SELECTION : constant := 24; -- /usr/include/xcb/xproto.h:2084 CONST_XCB_SEND_EVENT : constant := 25; -- /usr/include/xcb/xproto.h:2106 CONST_XCB_GRAB_POINTER : constant := 26; -- /usr/include/xcb/xproto.h:2151 CONST_XCB_UNGRAB_POINTER : constant := 27; -- /usr/include/xcb/xproto.h:2180 CONST_XCB_GRAB_BUTTON : constant := 28; -- /usr/include/xcb/xproto.h:2214 CONST_XCB_UNGRAB_BUTTON : constant := 29; -- /usr/include/xcb/xproto.h:2235 CONST_XCB_CHANGE_ACTIVE_POINTER_GRAB : constant := 30; -- /usr/include/xcb/xproto.h:2250 CONST_XCB_GRAB_KEYBOARD : constant := 31; -- /usr/include/xcb/xproto.h:2273 CONST_XCB_UNGRAB_KEYBOARD : constant := 32; -- /usr/include/xcb/xproto.h:2300 CONST_XCB_GRAB_KEY : constant := 33; -- /usr/include/xcb/xproto.h:2317 CONST_XCB_UNGRAB_KEY : constant := 34; -- /usr/include/xcb/xproto.h:2335 CONST_XCB_ALLOW_EVENTS : constant := 35; -- /usr/include/xcb/xproto.h:2426 CONST_XCB_GRAB_SERVER : constant := 36; -- /usr/include/xcb/xproto.h:2439 CONST_XCB_UNGRAB_SERVER : constant := 37; -- /usr/include/xcb/xproto.h:2451 CONST_XCB_QUERY_POINTER : constant := 38; -- /usr/include/xcb/xproto.h:2470 CONST_XCB_GET_MOTION_EVENTS : constant := 39; -- /usr/include/xcb/xproto.h:2526 CONST_XCB_TRANSLATE_COORDINATES : constant := 40; -- /usr/include/xcb/xproto.h:2560 CONST_XCB_WARP_POINTER : constant := 41; -- /usr/include/xcb/xproto.h:2589 CONST_XCB_SET_INPUT_FOCUS : constant := 42; -- /usr/include/xcb/xproto.h:2627 CONST_XCB_GET_INPUT_FOCUS : constant := 43; -- /usr/include/xcb/xproto.h:2648 CONST_XCB_QUERY_KEYMAP : constant := 44; -- /usr/include/xcb/xproto.h:2678 CONST_XCB_OPEN_FONT : constant := 45; -- /usr/include/xcb/xproto.h:2701 CONST_XCB_CLOSE_FONT : constant := 46; -- /usr/include/xcb/xproto.h:2716 CONST_XCB_QUERY_FONT : constant := 47; -- /usr/include/xcb/xproto.h:2779 CONST_XCB_QUERY_TEXT_EXTENTS : constant := 48; -- /usr/include/xcb/xproto.h:2824 CONST_XCB_LIST_FONTS : constant := 49; -- /usr/include/xcb/xproto.h:2877 CONST_XCB_LIST_FONTS_WITH_INFO : constant := 50; -- /usr/include/xcb/xproto.h:2910 CONST_XCB_SET_FONT_PATH : constant := 51; -- /usr/include/xcb/xproto.h:2949 CONST_XCB_GET_FONT_PATH : constant := 52; -- /usr/include/xcb/xproto.h:2970 CONST_XCB_CREATE_PIXMAP : constant := 53; -- /usr/include/xcb/xproto.h:2994 CONST_XCB_FREE_PIXMAP : constant := 54; -- /usr/include/xcb/xproto.h:3010 CONST_XCB_CREATE_GC : constant := 55; -- /usr/include/xcb/xproto.h:3261 CONST_XCB_CHANGE_GC : constant := 56; -- /usr/include/xcb/xproto.h:3305 CONST_XCB_COPY_GC : constant := 57; -- /usr/include/xcb/xproto.h:3319 CONST_XCB_SET_DASHES : constant := 58; -- /usr/include/xcb/xproto.h:3334 CONST_XCB_SET_CLIP_RECTANGLES : constant := 59; -- /usr/include/xcb/xproto.h:3356 CONST_XCB_FREE_GC : constant := 60; -- /usr/include/xcb/xproto.h:3371 CONST_XCB_CLEAR_AREA : constant := 61; -- /usr/include/xcb/xproto.h:3384 CONST_XCB_COPY_AREA : constant := 62; -- /usr/include/xcb/xproto.h:3401 CONST_XCB_COPY_PLANE : constant := 63; -- /usr/include/xcb/xproto.h:3422 CONST_XCB_POLY_POINT : constant := 64; -- /usr/include/xcb/xproto.h:3453 CONST_XCB_POLY_LINE : constant := 65; -- /usr/include/xcb/xproto.h:3467 CONST_XCB_POLY_SEGMENT : constant := 66; -- /usr/include/xcb/xproto.h:3500 CONST_XCB_POLY_RECTANGLE : constant := 67; -- /usr/include/xcb/xproto.h:3514 CONST_XCB_POLY_ARC : constant := 68; -- /usr/include/xcb/xproto.h:3528 CONST_XCB_FILL_POLY : constant := 69; -- /usr/include/xcb/xproto.h:3548 CONST_XCB_POLY_FILL_RECTANGLE : constant := 70; -- /usr/include/xcb/xproto.h:3565 CONST_XCB_POLY_FILL_ARC : constant := 71; -- /usr/include/xcb/xproto.h:3579 CONST_XCB_PUT_IMAGE : constant := 72; -- /usr/include/xcb/xproto.h:3599 CONST_XCB_GET_IMAGE : constant := 73; -- /usr/include/xcb/xproto.h:3627 CONST_XCB_POLY_TEXT_8 : constant := 74; -- /usr/include/xcb/xproto.h:3657 CONST_XCB_POLY_TEXT_16 : constant := 75; -- /usr/include/xcb/xproto.h:3673 CONST_XCB_IMAGE_TEXT_8 : constant := 76; -- /usr/include/xcb/xproto.h:3689 CONST_XCB_IMAGE_TEXT_16 : constant := 77; -- /usr/include/xcb/xproto.h:3705 CONST_XCB_CREATE_COLORMAP : constant := 78; -- /usr/include/xcb/xproto.h:3726 CONST_XCB_FREE_COLORMAP : constant := 79; -- /usr/include/xcb/xproto.h:3741 CONST_XCB_COPY_COLORMAP_AND_FREE : constant := 80; -- /usr/include/xcb/xproto.h:3754 CONST_XCB_INSTALL_COLORMAP : constant := 81; -- /usr/include/xcb/xproto.h:3768 CONST_XCB_UNINSTALL_COLORMAP : constant := 82; -- /usr/include/xcb/xproto.h:3781 CONST_XCB_LIST_INSTALLED_COLORMAPS : constant := 83; -- /usr/include/xcb/xproto.h:3801 CONST_XCB_ALLOC_COLOR : constant := 84; -- /usr/include/xcb/xproto.h:3833 CONST_XCB_ALLOC_NAMED_COLOR : constant := 85; -- /usr/include/xcb/xproto.h:3872 CONST_XCB_ALLOC_COLOR_CELLS : constant := 86; -- /usr/include/xcb/xproto.h:3911 CONST_XCB_ALLOC_COLOR_PLANES : constant := 87; -- /usr/include/xcb/xproto.h:3946 CONST_XCB_FREE_COLORS : constant := 88; -- /usr/include/xcb/xproto.h:3979 CONST_XCB_STORE_COLORS : constant := 89; -- /usr/include/xcb/xproto.h:4020 CONST_XCB_STORE_NAMED_COLOR : constant := 90; -- /usr/include/xcb/xproto.h:4033 CONST_XCB_QUERY_COLORS : constant := 91; -- /usr/include/xcb/xproto.h:4075 CONST_XCB_LOOKUP_COLOR : constant := 92; -- /usr/include/xcb/xproto.h:4107 CONST_XCB_CREATE_CURSOR : constant := 93; -- /usr/include/xcb/xproto.h:4142 CONST_XCB_CREATE_GLYPH_CURSOR : constant := 94; -- /usr/include/xcb/xproto.h:4169 CONST_XCB_FREE_CURSOR : constant := 95; -- /usr/include/xcb/xproto.h:4192 CONST_XCB_RECOLOR_CURSOR : constant := 96; -- /usr/include/xcb/xproto.h:4205 CONST_XCB_QUERY_BEST_SIZE : constant := 97; -- /usr/include/xcb/xproto.h:4237 CONST_XCB_QUERY_EXTENSION : constant := 98; -- /usr/include/xcb/xproto.h:4271 CONST_XCB_LIST_EXTENSIONS : constant := 99; -- /usr/include/xcb/xproto.h:4306 CONST_XCB_CHANGE_KEYBOARD_MAPPING : constant := 100; -- /usr/include/xcb/xproto.h:4329 CONST_XCB_GET_KEYBOARD_MAPPING : constant := 101; -- /usr/include/xcb/xproto.h:4351 CONST_XCB_CHANGE_KEYBOARD_CONTROL : constant := 102; -- /usr/include/xcb/xproto.h:4412 CONST_XCB_GET_KEYBOARD_CONTROL : constant := 103; -- /usr/include/xcb/xproto.h:4432 CONST_XCB_BELL : constant := 104; -- /usr/include/xcb/xproto.h:4461 CONST_XCB_CHANGE_POINTER_CONTROL : constant := 105; -- /usr/include/xcb/xproto.h:4473 CONST_XCB_GET_POINTER_CONTROL : constant := 106; -- /usr/include/xcb/xproto.h:4497 CONST_XCB_SET_SCREEN_SAVER : constant := 107; -- /usr/include/xcb/xproto.h:4535 CONST_XCB_GET_SCREEN_SAVER : constant := 108; -- /usr/include/xcb/xproto.h:4558 CONST_XCB_CHANGE_HOSTS : constant := 109; -- /usr/include/xcb/xproto.h:4598 CONST_XCB_LIST_HOSTS : constant := 110; -- /usr/include/xcb/xproto.h:4638 CONST_XCB_SET_ACCESS_CONTROL : constant := 111; -- /usr/include/xcb/xproto.h:4667 CONST_XCB_SET_CLOSE_DOWN_MODE : constant := 112; -- /usr/include/xcb/xproto.h:4685 CONST_XCB_KILL_CLIENT : constant := 113; -- /usr/include/xcb/xproto.h:4701 CONST_XCB_ROTATE_PROPERTIES : constant := 114; -- /usr/include/xcb/xproto.h:4714 CONST_XCB_FORCE_SCREEN_SAVER : constant := 115; -- /usr/include/xcb/xproto.h:4734 CONST_XCB_SET_POINTER_MAPPING : constant := 116; -- /usr/include/xcb/xproto.h:4759 CONST_XCB_GET_POINTER_MAPPING : constant := 117; -- /usr/include/xcb/xproto.h:4788 CONST_XCB_SET_MODIFIER_MAPPING : constant := 118; -- /usr/include/xcb/xproto.h:4829 CONST_XCB_GET_MODIFIER_MAPPING : constant := 119; -- /usr/include/xcb/xproto.h:4858 CONST_XCB_NO_OPERATION : constant := 127; -- /usr/include/xcb/xproto.h:4881 -- * This file generated automatically from xproto.xml by c_client.py. -- * Edit at your peril. -- --* -- * @defgroup XCB__API XCB API -- * @brief XCB Protocol Implementation. -- * @{ -- * --* -- * @brief xcb_char2b_t -- * type xcb_char2b_t is record byte1 : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:25 byte2 : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:26 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:24 --* -- * @brief xcb_char2b_iterator_t -- * type xcb_char2b_iterator_t is record data : access xcb_char2b_t; -- /usr/include/xcb/xproto.h:33 c_rem : aliased int; -- /usr/include/xcb/xproto.h:34 index : aliased int; -- /usr/include/xcb/xproto.h:35 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:32 subtype xcb_window_t is bits_stdint_uintn_h.uint32_t; -- /usr/include/xcb/xproto.h:38 --* -- * @brief xcb_window_iterator_t -- * type xcb_window_iterator_t is record data : access xcb_window_t; -- /usr/include/xcb/xproto.h:44 c_rem : aliased int; -- /usr/include/xcb/xproto.h:45 index : aliased int; -- /usr/include/xcb/xproto.h:46 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:43 subtype xcb_pixmap_t is bits_stdint_uintn_h.uint32_t; -- /usr/include/xcb/xproto.h:49 --* -- * @brief xcb_pixmap_iterator_t -- * type xcb_pixmap_iterator_t is record data : access xcb_pixmap_t; -- /usr/include/xcb/xproto.h:55 c_rem : aliased int; -- /usr/include/xcb/xproto.h:56 index : aliased int; -- /usr/include/xcb/xproto.h:57 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:54 subtype xcb_cursor_t is bits_stdint_uintn_h.uint32_t; -- /usr/include/xcb/xproto.h:60 --* -- * @brief xcb_cursor_iterator_t -- * type xcb_cursor_iterator_t is record data : access xcb_cursor_t; -- /usr/include/xcb/xproto.h:66 c_rem : aliased int; -- /usr/include/xcb/xproto.h:67 index : aliased int; -- /usr/include/xcb/xproto.h:68 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:65 subtype xcb_font_t is bits_stdint_uintn_h.uint32_t; -- /usr/include/xcb/xproto.h:71 --* -- * @brief xcb_font_iterator_t -- * type xcb_font_iterator_t is record data : access xcb_font_t; -- /usr/include/xcb/xproto.h:77 c_rem : aliased int; -- /usr/include/xcb/xproto.h:78 index : aliased int; -- /usr/include/xcb/xproto.h:79 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:76 subtype xcb_gcontext_t is bits_stdint_uintn_h.uint32_t; -- /usr/include/xcb/xproto.h:82 --* -- * @brief xcb_gcontext_iterator_t -- * type xcb_gcontext_iterator_t is record data : access xcb_gcontext_t; -- /usr/include/xcb/xproto.h:88 c_rem : aliased int; -- /usr/include/xcb/xproto.h:89 index : aliased int; -- /usr/include/xcb/xproto.h:90 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:87 subtype xcb_colormap_t is bits_stdint_uintn_h.uint32_t; -- /usr/include/xcb/xproto.h:93 --* -- * @brief xcb_colormap_iterator_t -- * type xcb_colormap_iterator_t is record data : access xcb_colormap_t; -- /usr/include/xcb/xproto.h:99 c_rem : aliased int; -- /usr/include/xcb/xproto.h:100 index : aliased int; -- /usr/include/xcb/xproto.h:101 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:98 subtype xcb_atom_t is bits_stdint_uintn_h.uint32_t; -- /usr/include/xcb/xproto.h:104 --* -- * @brief xcb_atom_iterator_t -- * type xcb_atom_iterator_t is record data : access xcb_atom_t; -- /usr/include/xcb/xproto.h:110 c_rem : aliased int; -- /usr/include/xcb/xproto.h:111 index : aliased int; -- /usr/include/xcb/xproto.h:112 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:109 subtype xcb_drawable_t is bits_stdint_uintn_h.uint32_t; -- /usr/include/xcb/xproto.h:115 --* -- * @brief xcb_drawable_iterator_t -- * type xcb_drawable_iterator_t is record data : access xcb_drawable_t; -- /usr/include/xcb/xproto.h:121 c_rem : aliased int; -- /usr/include/xcb/xproto.h:122 index : aliased int; -- /usr/include/xcb/xproto.h:123 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:120 subtype xcb_fontable_t is bits_stdint_uintn_h.uint32_t; -- /usr/include/xcb/xproto.h:126 --* -- * @brief xcb_fontable_iterator_t -- * type xcb_fontable_iterator_t is record data : access xcb_fontable_t; -- /usr/include/xcb/xproto.h:132 c_rem : aliased int; -- /usr/include/xcb/xproto.h:133 index : aliased int; -- /usr/include/xcb/xproto.h:134 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:131 subtype xcb_bool32_t is bits_stdint_uintn_h.uint32_t; -- /usr/include/xcb/xproto.h:137 --* -- * @brief xcb_bool32_iterator_t -- * type xcb_bool32_iterator_t is record data : access xcb_bool32_t; -- /usr/include/xcb/xproto.h:143 c_rem : aliased int; -- /usr/include/xcb/xproto.h:144 index : aliased int; -- /usr/include/xcb/xproto.h:145 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:142 subtype xcb_visualid_t is bits_stdint_uintn_h.uint32_t; -- /usr/include/xcb/xproto.h:148 --* -- * @brief xcb_visualid_iterator_t -- * type xcb_visualid_iterator_t is record data : access xcb_visualid_t; -- /usr/include/xcb/xproto.h:154 c_rem : aliased int; -- /usr/include/xcb/xproto.h:155 index : aliased int; -- /usr/include/xcb/xproto.h:156 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:153 subtype xcb_timestamp_t is bits_stdint_uintn_h.uint32_t; -- /usr/include/xcb/xproto.h:159 --* -- * @brief xcb_timestamp_iterator_t -- * type xcb_timestamp_iterator_t is record data : access xcb_timestamp_t; -- /usr/include/xcb/xproto.h:165 c_rem : aliased int; -- /usr/include/xcb/xproto.h:166 index : aliased int; -- /usr/include/xcb/xproto.h:167 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:164 subtype xcb_keysym_t is bits_stdint_uintn_h.uint32_t; -- /usr/include/xcb/xproto.h:170 --* -- * @brief xcb_keysym_iterator_t -- * type xcb_keysym_iterator_t is record data : access xcb_keysym_t; -- /usr/include/xcb/xproto.h:176 c_rem : aliased int; -- /usr/include/xcb/xproto.h:177 index : aliased int; -- /usr/include/xcb/xproto.h:178 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:175 subtype xcb_keycode_t is bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:181 --* -- * @brief xcb_keycode_iterator_t -- * type xcb_keycode_iterator_t is record data : access xcb_keycode_t; -- /usr/include/xcb/xproto.h:187 c_rem : aliased int; -- /usr/include/xcb/xproto.h:188 index : aliased int; -- /usr/include/xcb/xproto.h:189 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:186 subtype xcb_keycode32_t is bits_stdint_uintn_h.uint32_t; -- /usr/include/xcb/xproto.h:192 --* -- * @brief xcb_keycode32_iterator_t -- * type xcb_keycode32_iterator_t is record data : access xcb_keycode32_t; -- /usr/include/xcb/xproto.h:198 c_rem : aliased int; -- /usr/include/xcb/xproto.h:199 index : aliased int; -- /usr/include/xcb/xproto.h:200 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:197 subtype xcb_button_t is bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:203 --* -- * @brief xcb_button_iterator_t -- * type xcb_button_iterator_t is record data : access xcb_button_t; -- /usr/include/xcb/xproto.h:209 c_rem : aliased int; -- /usr/include/xcb/xproto.h:210 index : aliased int; -- /usr/include/xcb/xproto.h:211 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:208 --* -- * @brief xcb_point_t -- * type xcb_point_t is record x : aliased bits_stdint_intn_h.int16_t; -- /usr/include/xcb/xproto.h:218 y : aliased bits_stdint_intn_h.int16_t; -- /usr/include/xcb/xproto.h:219 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:217 --* -- * @brief xcb_point_iterator_t -- * type xcb_point_iterator_t is record data : access xcb_point_t; -- /usr/include/xcb/xproto.h:226 c_rem : aliased int; -- /usr/include/xcb/xproto.h:227 index : aliased int; -- /usr/include/xcb/xproto.h:228 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:225 --* -- * @brief xcb_rectangle_t -- * type xcb_rectangle_t is record x : aliased bits_stdint_intn_h.int16_t; -- /usr/include/xcb/xproto.h:235 y : aliased bits_stdint_intn_h.int16_t; -- /usr/include/xcb/xproto.h:236 width : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:237 height : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:238 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:234 --* -- * @brief xcb_rectangle_iterator_t -- * type xcb_rectangle_iterator_t is record data : access xcb_rectangle_t; -- /usr/include/xcb/xproto.h:245 c_rem : aliased int; -- /usr/include/xcb/xproto.h:246 index : aliased int; -- /usr/include/xcb/xproto.h:247 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:244 --* -- * @brief xcb_arc_t -- * type xcb_arc_t is record x : aliased bits_stdint_intn_h.int16_t; -- /usr/include/xcb/xproto.h:254 y : aliased bits_stdint_intn_h.int16_t; -- /usr/include/xcb/xproto.h:255 width : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:256 height : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:257 angle1 : aliased bits_stdint_intn_h.int16_t; -- /usr/include/xcb/xproto.h:258 angle2 : aliased bits_stdint_intn_h.int16_t; -- /usr/include/xcb/xproto.h:259 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:253 --* -- * @brief xcb_arc_iterator_t -- * type xcb_arc_iterator_t is record data : access xcb_arc_t; -- /usr/include/xcb/xproto.h:266 c_rem : aliased int; -- /usr/include/xcb/xproto.h:267 index : aliased int; -- /usr/include/xcb/xproto.h:268 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:265 --* -- * @brief xcb_format_t -- * type xcb_format_t_array1778 is array (0 .. 4) of aliased bits_stdint_uintn_h.uint8_t; type xcb_format_t is record depth : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:275 bits_per_pixel : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:276 scanline_pad : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:277 pad0 : aliased xcb_format_t_array1778; -- /usr/include/xcb/xproto.h:278 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:274 --* -- * @brief xcb_format_iterator_t -- * type xcb_format_iterator_t is record data : access xcb_format_t; -- /usr/include/xcb/xproto.h:285 c_rem : aliased int; -- /usr/include/xcb/xproto.h:286 index : aliased int; -- /usr/include/xcb/xproto.h:287 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:284 type xcb_visual_class_t is (XCB_VISUAL_CLASS_STATIC_GRAY, XCB_VISUAL_CLASS_GRAY_SCALE, XCB_VISUAL_CLASS_STATIC_COLOR, XCB_VISUAL_CLASS_PSEUDO_COLOR, XCB_VISUAL_CLASS_TRUE_COLOR, XCB_VISUAL_CLASS_DIRECT_COLOR) with Convention => C; -- /usr/include/xcb/xproto.h:290 --* -- * @brief xcb_visualtype_t -- * type xcb_visualtype_t_array1791 is array (0 .. 3) of aliased bits_stdint_uintn_h.uint8_t; type xcb_visualtype_t is record visual_id : aliased xcb_visualid_t; -- /usr/include/xcb/xproto.h:303 u_class : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:304 bits_per_rgb_value : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:305 colormap_entries : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:306 red_mask : aliased bits_stdint_uintn_h.uint32_t; -- /usr/include/xcb/xproto.h:307 green_mask : aliased bits_stdint_uintn_h.uint32_t; -- /usr/include/xcb/xproto.h:308 blue_mask : aliased bits_stdint_uintn_h.uint32_t; -- /usr/include/xcb/xproto.h:309 pad0 : aliased xcb_visualtype_t_array1791; -- /usr/include/xcb/xproto.h:310 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:302 --* -- * @brief xcb_visualtype_iterator_t -- * type xcb_visualtype_iterator_t is record data : access xcb_visualtype_t; -- /usr/include/xcb/xproto.h:317 c_rem : aliased int; -- /usr/include/xcb/xproto.h:318 index : aliased int; -- /usr/include/xcb/xproto.h:319 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:316 --* -- * @brief xcb_depth_t -- * type xcb_depth_t_array1791 is array (0 .. 3) of aliased bits_stdint_uintn_h.uint8_t; type xcb_depth_t is record depth : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:326 pad0 : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:327 visuals_len : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:328 pad1 : aliased xcb_depth_t_array1791; -- /usr/include/xcb/xproto.h:329 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:325 --* -- * @brief xcb_depth_iterator_t -- * type xcb_depth_iterator_t is record data : access xcb_depth_t; -- /usr/include/xcb/xproto.h:336 c_rem : aliased int; -- /usr/include/xcb/xproto.h:337 index : aliased int; -- /usr/include/xcb/xproto.h:338 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:335 subtype xcb_event_mask_t is unsigned; XCB_EVENT_MASK_NO_EVENT : constant unsigned := 0; XCB_EVENT_MASK_KEY_PRESS : constant unsigned := 1; XCB_EVENT_MASK_KEY_RELEASE : constant unsigned := 2; XCB_EVENT_MASK_BUTTON_PRESS : constant unsigned := 4; XCB_EVENT_MASK_BUTTON_RELEASE : constant unsigned := 8; XCB_EVENT_MASK_ENTER_WINDOW : constant unsigned := 16; XCB_EVENT_MASK_LEAVE_WINDOW : constant unsigned := 32; XCB_EVENT_MASK_POINTER_MOTION : constant unsigned := 64; XCB_EVENT_MASK_POINTER_MOTION_HINT : constant unsigned := 128; XCB_EVENT_MASK_BUTTON_1_MOTION : constant unsigned := 256; XCB_EVENT_MASK_BUTTON_2_MOTION : constant unsigned := 512; XCB_EVENT_MASK_BUTTON_3_MOTION : constant unsigned := 1024; XCB_EVENT_MASK_BUTTON_4_MOTION : constant unsigned := 2048; XCB_EVENT_MASK_BUTTON_5_MOTION : constant unsigned := 4096; XCB_EVENT_MASK_BUTTON_MOTION : constant unsigned := 8192; XCB_EVENT_MASK_KEYMAP_STATE : constant unsigned := 16384; XCB_EVENT_MASK_EXPOSURE : constant unsigned := 32768; XCB_EVENT_MASK_VISIBILITY_CHANGE : constant unsigned := 65536; XCB_EVENT_MASK_STRUCTURE_NOTIFY : constant unsigned := 131072; XCB_EVENT_MASK_RESIZE_REDIRECT : constant unsigned := 262144; XCB_EVENT_MASK_SUBSTRUCTURE_NOTIFY : constant unsigned := 524288; XCB_EVENT_MASK_SUBSTRUCTURE_REDIRECT : constant unsigned := 1048576; XCB_EVENT_MASK_FOCUS_CHANGE : constant unsigned := 2097152; XCB_EVENT_MASK_PROPERTY_CHANGE : constant unsigned := 4194304; XCB_EVENT_MASK_COLOR_MAP_CHANGE : constant unsigned := 8388608; XCB_EVENT_MASK_OWNER_GRAB_BUTTON : constant unsigned := 16777216; -- /usr/include/xcb/xproto.h:341 type xcb_backing_store_t is (XCB_BACKING_STORE_NOT_USEFUL, XCB_BACKING_STORE_WHEN_MAPPED, XCB_BACKING_STORE_ALWAYS) with Convention => C; -- /usr/include/xcb/xproto.h:370 --* -- * @brief xcb_screen_t -- * type xcb_screen_t is record root : aliased xcb_window_t; -- /usr/include/xcb/xproto.h:380 default_colormap : aliased xcb_colormap_t; -- /usr/include/xcb/xproto.h:381 white_pixel : aliased bits_stdint_uintn_h.uint32_t; -- /usr/include/xcb/xproto.h:382 black_pixel : aliased bits_stdint_uintn_h.uint32_t; -- /usr/include/xcb/xproto.h:383 current_input_masks : aliased bits_stdint_uintn_h.uint32_t; -- /usr/include/xcb/xproto.h:384 width_in_pixels : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:385 height_in_pixels : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:386 width_in_millimeters : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:387 height_in_millimeters : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:388 min_installed_maps : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:389 max_installed_maps : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:390 root_visual : aliased xcb_visualid_t; -- /usr/include/xcb/xproto.h:391 backing_stores : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:392 save_unders : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:393 root_depth : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:394 allowed_depths_len : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:395 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:379 --* -- * @brief xcb_screen_iterator_t -- * type xcb_screen_iterator_t is record data : access xcb_screen_t; -- /usr/include/xcb/xproto.h:402 c_rem : aliased int; -- /usr/include/xcb/xproto.h:403 index : aliased int; -- /usr/include/xcb/xproto.h:404 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:401 --* -- * @brief xcb_setup_request_t -- * type xcb_setup_request_t_array1823 is array (0 .. 1) of aliased bits_stdint_uintn_h.uint8_t; type xcb_setup_request_t is record byte_order : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:411 pad0 : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:412 protocol_major_version : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:413 protocol_minor_version : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:414 authorization_protocol_name_len : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:415 authorization_protocol_data_len : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:416 pad1 : aliased xcb_setup_request_t_array1823; -- /usr/include/xcb/xproto.h:417 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:410 --* -- * @brief xcb_setup_request_iterator_t -- * type xcb_setup_request_iterator_t is record data : access xcb_setup_request_t; -- /usr/include/xcb/xproto.h:424 c_rem : aliased int; -- /usr/include/xcb/xproto.h:425 index : aliased int; -- /usr/include/xcb/xproto.h:426 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:423 --* -- * @brief xcb_setup_failed_t -- * type xcb_setup_failed_t is record status : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:433 reason_len : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:434 protocol_major_version : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:435 protocol_minor_version : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:436 length : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:437 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:432 --* -- * @brief xcb_setup_failed_iterator_t -- * type xcb_setup_failed_iterator_t is record data : access xcb_setup_failed_t; -- /usr/include/xcb/xproto.h:444 c_rem : aliased int; -- /usr/include/xcb/xproto.h:445 index : aliased int; -- /usr/include/xcb/xproto.h:446 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:443 --* -- * @brief xcb_setup_authenticate_t -- * type xcb_setup_authenticate_t_array1778 is array (0 .. 4) of aliased bits_stdint_uintn_h.uint8_t; type xcb_setup_authenticate_t is record status : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:453 pad0 : aliased xcb_setup_authenticate_t_array1778; -- /usr/include/xcb/xproto.h:454 length : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:455 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:452 --* -- * @brief xcb_setup_authenticate_iterator_t -- * type xcb_setup_authenticate_iterator_t is record data : access xcb_setup_authenticate_t; -- /usr/include/xcb/xproto.h:462 c_rem : aliased int; -- /usr/include/xcb/xproto.h:463 index : aliased int; -- /usr/include/xcb/xproto.h:464 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:461 type xcb_image_order_t is (XCB_IMAGE_ORDER_LSB_FIRST, XCB_IMAGE_ORDER_MSB_FIRST) with Convention => C; -- /usr/include/xcb/xproto.h:467 --* -- * @brief xcb_setup_t -- * type xcb_setup_t_array1791 is array (0 .. 3) of aliased bits_stdint_uintn_h.uint8_t; type xcb_setup_t is record status : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:476 pad0 : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:477 protocol_major_version : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:478 protocol_minor_version : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:479 length : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:480 release_number : aliased bits_stdint_uintn_h.uint32_t; -- /usr/include/xcb/xproto.h:481 resource_id_base : aliased bits_stdint_uintn_h.uint32_t; -- /usr/include/xcb/xproto.h:482 resource_id_mask : aliased bits_stdint_uintn_h.uint32_t; -- /usr/include/xcb/xproto.h:483 motion_buffer_size : aliased bits_stdint_uintn_h.uint32_t; -- /usr/include/xcb/xproto.h:484 vendor_len : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:485 maximum_request_length : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:486 roots_len : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:487 pixmap_formats_len : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:488 image_byte_order : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:489 bitmap_format_bit_order : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:490 bitmap_format_scanline_unit : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:491 bitmap_format_scanline_pad : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:492 min_keycode : aliased xcb_keycode_t; -- /usr/include/xcb/xproto.h:493 max_keycode : aliased xcb_keycode_t; -- /usr/include/xcb/xproto.h:494 pad1 : aliased xcb_setup_t_array1791; -- /usr/include/xcb/xproto.h:495 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:475 --* -- * @brief xcb_setup_iterator_t -- * type xcb_setup_iterator_t is record data : access xcb_setup_t; -- /usr/include/xcb/xproto.h:502 c_rem : aliased int; -- /usr/include/xcb/xproto.h:503 index : aliased int; -- /usr/include/xcb/xproto.h:504 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:501 subtype xcb_mod_mask_t is unsigned; XCB_MOD_MASK_SHIFT : constant unsigned := 1; XCB_MOD_MASK_LOCK : constant unsigned := 2; XCB_MOD_MASK_CONTROL : constant unsigned := 4; XCB_MOD_MASK_1 : constant unsigned := 8; XCB_MOD_MASK_2 : constant unsigned := 16; XCB_MOD_MASK_3 : constant unsigned := 32; XCB_MOD_MASK_4 : constant unsigned := 64; XCB_MOD_MASK_5 : constant unsigned := 128; XCB_MOD_MASK_ANY : constant unsigned := 32768; -- /usr/include/xcb/xproto.h:507 subtype xcb_key_but_mask_t is unsigned; XCB_KEY_BUT_MASK_SHIFT : constant unsigned := 1; XCB_KEY_BUT_MASK_LOCK : constant unsigned := 2; XCB_KEY_BUT_MASK_CONTROL : constant unsigned := 4; XCB_KEY_BUT_MASK_MOD_1 : constant unsigned := 8; XCB_KEY_BUT_MASK_MOD_2 : constant unsigned := 16; XCB_KEY_BUT_MASK_MOD_3 : constant unsigned := 32; XCB_KEY_BUT_MASK_MOD_4 : constant unsigned := 64; XCB_KEY_BUT_MASK_MOD_5 : constant unsigned := 128; XCB_KEY_BUT_MASK_BUTTON_1 : constant unsigned := 256; XCB_KEY_BUT_MASK_BUTTON_2 : constant unsigned := 512; XCB_KEY_BUT_MASK_BUTTON_3 : constant unsigned := 1024; XCB_KEY_BUT_MASK_BUTTON_4 : constant unsigned := 2048; XCB_KEY_BUT_MASK_BUTTON_5 : constant unsigned := 4096; -- /usr/include/xcb/xproto.h:519 type xcb_window_enum_t is (XCB_WINDOW_NONE) with Convention => C; -- /usr/include/xcb/xproto.h:535 --* Opcode for xcb_key_press. --* -- * @brief xcb_key_press_event_t -- * type xcb_key_press_event_t is record response_type : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:546 detail : aliased xcb_keycode_t; -- /usr/include/xcb/xproto.h:547 sequence : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:548 time : aliased xcb_timestamp_t; -- /usr/include/xcb/xproto.h:549 root : aliased xcb_window_t; -- /usr/include/xcb/xproto.h:550 event : aliased xcb_window_t; -- /usr/include/xcb/xproto.h:551 child : aliased xcb_window_t; -- /usr/include/xcb/xproto.h:552 root_x : aliased bits_stdint_intn_h.int16_t; -- /usr/include/xcb/xproto.h:553 root_y : aliased bits_stdint_intn_h.int16_t; -- /usr/include/xcb/xproto.h:554 event_x : aliased bits_stdint_intn_h.int16_t; -- /usr/include/xcb/xproto.h:555 event_y : aliased bits_stdint_intn_h.int16_t; -- /usr/include/xcb/xproto.h:556 state : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:557 same_screen : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:558 pad0 : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:559 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:545 --* Opcode for xcb_key_release. subtype xcb_key_release_event_t is xcb_key_press_event_t; -- /usr/include/xcb/xproto.h:565 subtype xcb_button_mask_t is unsigned; XCB_BUTTON_MASK_1 : constant unsigned := 256; XCB_BUTTON_MASK_2 : constant unsigned := 512; XCB_BUTTON_MASK_3 : constant unsigned := 1024; XCB_BUTTON_MASK_4 : constant unsigned := 2048; XCB_BUTTON_MASK_5 : constant unsigned := 4096; XCB_BUTTON_MASK_ANY : constant unsigned := 32768; -- /usr/include/xcb/xproto.h:567 --* Opcode for xcb_button_press. --* -- * @brief xcb_button_press_event_t -- * type xcb_button_press_event_t is record response_type : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:583 detail : aliased xcb_button_t; -- /usr/include/xcb/xproto.h:584 sequence : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:585 time : aliased xcb_timestamp_t; -- /usr/include/xcb/xproto.h:586 root : aliased xcb_window_t; -- /usr/include/xcb/xproto.h:587 event : aliased xcb_window_t; -- /usr/include/xcb/xproto.h:588 child : aliased xcb_window_t; -- /usr/include/xcb/xproto.h:589 root_x : aliased bits_stdint_intn_h.int16_t; -- /usr/include/xcb/xproto.h:590 root_y : aliased bits_stdint_intn_h.int16_t; -- /usr/include/xcb/xproto.h:591 event_x : aliased bits_stdint_intn_h.int16_t; -- /usr/include/xcb/xproto.h:592 event_y : aliased bits_stdint_intn_h.int16_t; -- /usr/include/xcb/xproto.h:593 state : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:594 same_screen : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:595 pad0 : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:596 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:582 --* Opcode for xcb_button_release. subtype xcb_button_release_event_t is xcb_button_press_event_t; -- /usr/include/xcb/xproto.h:602 type xcb_motion_t is (XCB_MOTION_NORMAL, XCB_MOTION_HINT) with Convention => C; -- /usr/include/xcb/xproto.h:604 --* Opcode for xcb_motion_notify. --* -- * @brief xcb_motion_notify_event_t -- * type xcb_motion_notify_event_t is record response_type : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:616 detail : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:617 sequence : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:618 time : aliased xcb_timestamp_t; -- /usr/include/xcb/xproto.h:619 root : aliased xcb_window_t; -- /usr/include/xcb/xproto.h:620 event : aliased xcb_window_t; -- /usr/include/xcb/xproto.h:621 child : aliased xcb_window_t; -- /usr/include/xcb/xproto.h:622 root_x : aliased bits_stdint_intn_h.int16_t; -- /usr/include/xcb/xproto.h:623 root_y : aliased bits_stdint_intn_h.int16_t; -- /usr/include/xcb/xproto.h:624 event_x : aliased bits_stdint_intn_h.int16_t; -- /usr/include/xcb/xproto.h:625 event_y : aliased bits_stdint_intn_h.int16_t; -- /usr/include/xcb/xproto.h:626 state : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:627 same_screen : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:628 pad0 : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:629 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:615 type xcb_notify_detail_t is (XCB_NOTIFY_DETAIL_ANCESTOR, XCB_NOTIFY_DETAIL_VIRTUAL, XCB_NOTIFY_DETAIL_INFERIOR, XCB_NOTIFY_DETAIL_NONLINEAR, XCB_NOTIFY_DETAIL_NONLINEAR_VIRTUAL, XCB_NOTIFY_DETAIL_POINTER, XCB_NOTIFY_DETAIL_POINTER_ROOT, XCB_NOTIFY_DETAIL_NONE) with Convention => C; -- /usr/include/xcb/xproto.h:632 type xcb_notify_mode_t is (XCB_NOTIFY_MODE_NORMAL, XCB_NOTIFY_MODE_GRAB, XCB_NOTIFY_MODE_UNGRAB, XCB_NOTIFY_MODE_WHILE_GRABBED) with Convention => C; -- /usr/include/xcb/xproto.h:643 --* Opcode for xcb_enter_notify. --* -- * @brief xcb_enter_notify_event_t -- * type xcb_enter_notify_event_t is record response_type : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:657 detail : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:658 sequence : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:659 time : aliased xcb_timestamp_t; -- /usr/include/xcb/xproto.h:660 root : aliased xcb_window_t; -- /usr/include/xcb/xproto.h:661 event : aliased xcb_window_t; -- /usr/include/xcb/xproto.h:662 child : aliased xcb_window_t; -- /usr/include/xcb/xproto.h:663 root_x : aliased bits_stdint_intn_h.int16_t; -- /usr/include/xcb/xproto.h:664 root_y : aliased bits_stdint_intn_h.int16_t; -- /usr/include/xcb/xproto.h:665 event_x : aliased bits_stdint_intn_h.int16_t; -- /usr/include/xcb/xproto.h:666 event_y : aliased bits_stdint_intn_h.int16_t; -- /usr/include/xcb/xproto.h:667 state : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:668 mode : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:669 same_screen_focus : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:670 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:656 --* Opcode for xcb_leave_notify. subtype xcb_leave_notify_event_t is xcb_enter_notify_event_t; -- /usr/include/xcb/xproto.h:676 --* Opcode for xcb_focus_in. --* -- * @brief xcb_focus_in_event_t -- * type xcb_focus_in_event_t_array1897 is array (0 .. 2) of aliased bits_stdint_uintn_h.uint8_t; type xcb_focus_in_event_t is record response_type : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:685 detail : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:686 sequence : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:687 event : aliased xcb_window_t; -- /usr/include/xcb/xproto.h:688 mode : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:689 pad0 : aliased xcb_focus_in_event_t_array1897; -- /usr/include/xcb/xproto.h:690 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:684 --* Opcode for xcb_focus_out. subtype xcb_focus_out_event_t is xcb_focus_in_event_t; -- /usr/include/xcb/xproto.h:696 --* Opcode for xcb_keymap_notify. --* -- * @brief xcb_keymap_notify_event_t -- * type xcb_keymap_notify_event_t_array1904 is array (0 .. 30) of aliased bits_stdint_uintn_h.uint8_t; type xcb_keymap_notify_event_t is record response_type : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:705 keys : aliased xcb_keymap_notify_event_t_array1904; -- /usr/include/xcb/xproto.h:706 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:704 --* Opcode for xcb_expose. --* -- * @brief xcb_expose_event_t -- * type xcb_expose_event_t_array1823 is array (0 .. 1) of aliased bits_stdint_uintn_h.uint8_t; type xcb_expose_event_t is record response_type : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:716 pad0 : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:717 sequence : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:718 window : aliased xcb_window_t; -- /usr/include/xcb/xproto.h:719 x : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:720 y : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:721 width : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:722 height : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:723 count : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:724 pad1 : aliased xcb_expose_event_t_array1823; -- /usr/include/xcb/xproto.h:725 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:715 --* Opcode for xcb_graphics_exposure. --* -- * @brief xcb_graphics_exposure_event_t -- * type xcb_graphics_exposure_event_t_array1897 is array (0 .. 2) of aliased bits_stdint_uintn_h.uint8_t; type xcb_graphics_exposure_event_t is record response_type : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:735 pad0 : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:736 sequence : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:737 drawable : aliased xcb_drawable_t; -- /usr/include/xcb/xproto.h:738 x : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:739 y : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:740 width : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:741 height : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:742 minor_opcode : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:743 count : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:744 major_opcode : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:745 pad1 : aliased xcb_graphics_exposure_event_t_array1897; -- /usr/include/xcb/xproto.h:746 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:734 --* Opcode for xcb_no_exposure. --* -- * @brief xcb_no_exposure_event_t -- * type xcb_no_exposure_event_t is record response_type : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:756 pad0 : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:757 sequence : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:758 drawable : aliased xcb_drawable_t; -- /usr/include/xcb/xproto.h:759 minor_opcode : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:760 major_opcode : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:761 pad1 : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:762 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:755 type xcb_visibility_t is (XCB_VISIBILITY_UNOBSCURED, XCB_VISIBILITY_PARTIALLY_OBSCURED, XCB_VISIBILITY_FULLY_OBSCURED) with Convention => C; -- /usr/include/xcb/xproto.h:765 --* Opcode for xcb_visibility_notify. --* -- * @brief xcb_visibility_notify_event_t -- * type xcb_visibility_notify_event_t_array1897 is array (0 .. 2) of aliased bits_stdint_uintn_h.uint8_t; type xcb_visibility_notify_event_t is record response_type : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:778 pad0 : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:779 sequence : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:780 window : aliased xcb_window_t; -- /usr/include/xcb/xproto.h:781 state : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:782 pad1 : aliased xcb_visibility_notify_event_t_array1897; -- /usr/include/xcb/xproto.h:783 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:777 --* Opcode for xcb_create_notify. --* -- * @brief xcb_create_notify_event_t -- * type xcb_create_notify_event_t is record response_type : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:793 pad0 : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:794 sequence : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:795 parent : aliased xcb_window_t; -- /usr/include/xcb/xproto.h:796 window : aliased xcb_window_t; -- /usr/include/xcb/xproto.h:797 x : aliased bits_stdint_intn_h.int16_t; -- /usr/include/xcb/xproto.h:798 y : aliased bits_stdint_intn_h.int16_t; -- /usr/include/xcb/xproto.h:799 width : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:800 height : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:801 border_width : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:802 override_redirect : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:803 pad1 : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:804 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:792 --* Opcode for xcb_destroy_notify. --* -- * @brief xcb_destroy_notify_event_t -- * type xcb_destroy_notify_event_t is record response_type : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:814 pad0 : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:815 sequence : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:816 event : aliased xcb_window_t; -- /usr/include/xcb/xproto.h:817 window : aliased xcb_window_t; -- /usr/include/xcb/xproto.h:818 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:813 --* Opcode for xcb_unmap_notify. --* -- * @brief xcb_unmap_notify_event_t -- * type xcb_unmap_notify_event_t_array1897 is array (0 .. 2) of aliased bits_stdint_uintn_h.uint8_t; type xcb_unmap_notify_event_t is record response_type : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:828 pad0 : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:829 sequence : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:830 event : aliased xcb_window_t; -- /usr/include/xcb/xproto.h:831 window : aliased xcb_window_t; -- /usr/include/xcb/xproto.h:832 from_configure : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:833 pad1 : aliased xcb_unmap_notify_event_t_array1897; -- /usr/include/xcb/xproto.h:834 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:827 --* Opcode for xcb_map_notify. --* -- * @brief xcb_map_notify_event_t -- * type xcb_map_notify_event_t_array1897 is array (0 .. 2) of aliased bits_stdint_uintn_h.uint8_t; type xcb_map_notify_event_t is record response_type : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:844 pad0 : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:845 sequence : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:846 event : aliased xcb_window_t; -- /usr/include/xcb/xproto.h:847 window : aliased xcb_window_t; -- /usr/include/xcb/xproto.h:848 override_redirect : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:849 pad1 : aliased xcb_map_notify_event_t_array1897; -- /usr/include/xcb/xproto.h:850 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:843 --* Opcode for xcb_map_request. --* -- * @brief xcb_map_request_event_t -- * type xcb_map_request_event_t is record response_type : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:860 pad0 : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:861 sequence : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:862 parent : aliased xcb_window_t; -- /usr/include/xcb/xproto.h:863 window : aliased xcb_window_t; -- /usr/include/xcb/xproto.h:864 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:859 --* Opcode for xcb_reparent_notify. --* -- * @brief xcb_reparent_notify_event_t -- * type xcb_reparent_notify_event_t_array1897 is array (0 .. 2) of aliased bits_stdint_uintn_h.uint8_t; type xcb_reparent_notify_event_t is record response_type : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:874 pad0 : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:875 sequence : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:876 event : aliased xcb_window_t; -- /usr/include/xcb/xproto.h:877 window : aliased xcb_window_t; -- /usr/include/xcb/xproto.h:878 parent : aliased xcb_window_t; -- /usr/include/xcb/xproto.h:879 x : aliased bits_stdint_intn_h.int16_t; -- /usr/include/xcb/xproto.h:880 y : aliased bits_stdint_intn_h.int16_t; -- /usr/include/xcb/xproto.h:881 override_redirect : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:882 pad1 : aliased xcb_reparent_notify_event_t_array1897; -- /usr/include/xcb/xproto.h:883 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:873 --* Opcode for xcb_configure_notify. --* -- * @brief xcb_configure_notify_event_t -- * type xcb_configure_notify_event_t is record response_type : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:893 pad0 : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:894 sequence : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:895 event : aliased xcb_window_t; -- /usr/include/xcb/xproto.h:896 window : aliased xcb_window_t; -- /usr/include/xcb/xproto.h:897 above_sibling : aliased xcb_window_t; -- /usr/include/xcb/xproto.h:898 x : aliased bits_stdint_intn_h.int16_t; -- /usr/include/xcb/xproto.h:899 y : aliased bits_stdint_intn_h.int16_t; -- /usr/include/xcb/xproto.h:900 width : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:901 height : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:902 border_width : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:903 override_redirect : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:904 pad1 : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:905 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:892 --* Opcode for xcb_configure_request. --* -- * @brief xcb_configure_request_event_t -- * type xcb_configure_request_event_t is record response_type : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:915 stack_mode : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:916 sequence : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:917 parent : aliased xcb_window_t; -- /usr/include/xcb/xproto.h:918 window : aliased xcb_window_t; -- /usr/include/xcb/xproto.h:919 sibling : aliased xcb_window_t; -- /usr/include/xcb/xproto.h:920 x : aliased bits_stdint_intn_h.int16_t; -- /usr/include/xcb/xproto.h:921 y : aliased bits_stdint_intn_h.int16_t; -- /usr/include/xcb/xproto.h:922 width : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:923 height : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:924 border_width : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:925 value_mask : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:926 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:914 --* Opcode for xcb_gravity_notify. --* -- * @brief xcb_gravity_notify_event_t -- * type xcb_gravity_notify_event_t is record response_type : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:936 pad0 : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:937 sequence : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:938 event : aliased xcb_window_t; -- /usr/include/xcb/xproto.h:939 window : aliased xcb_window_t; -- /usr/include/xcb/xproto.h:940 x : aliased bits_stdint_intn_h.int16_t; -- /usr/include/xcb/xproto.h:941 y : aliased bits_stdint_intn_h.int16_t; -- /usr/include/xcb/xproto.h:942 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:935 --* Opcode for xcb_resize_request. --* -- * @brief xcb_resize_request_event_t -- * type xcb_resize_request_event_t is record response_type : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:952 pad0 : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:953 sequence : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:954 window : aliased xcb_window_t; -- /usr/include/xcb/xproto.h:955 width : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:956 height : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:957 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:951 type xcb_place_t is (XCB_PLACE_ON_TOP, XCB_PLACE_ON_BOTTOM) with Convention => C; -- /usr/include/xcb/xproto.h:960 --*< The window is now on top of all siblings. --*< The window is now below all siblings. --* Opcode for xcb_circulate_notify. --* -- * @brief xcb_circulate_notify_event_t -- * type xcb_circulate_notify_event_t_array1791 is array (0 .. 3) of aliased bits_stdint_uintn_h.uint8_t; type xcb_circulate_notify_event_t_array1897 is array (0 .. 2) of aliased bits_stdint_uintn_h.uint8_t; type xcb_circulate_notify_event_t is record response_type : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:976 pad0 : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:977 sequence : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:978 event : aliased xcb_window_t; -- /usr/include/xcb/xproto.h:979 window : aliased xcb_window_t; -- /usr/include/xcb/xproto.h:980 pad1 : aliased xcb_circulate_notify_event_t_array1791; -- /usr/include/xcb/xproto.h:981 place : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:982 pad2 : aliased xcb_circulate_notify_event_t_array1897; -- /usr/include/xcb/xproto.h:983 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:975 --* Opcode for xcb_circulate_request. subtype xcb_circulate_request_event_t is xcb_circulate_notify_event_t; -- /usr/include/xcb/xproto.h:989 type xcb_property_t is (XCB_PROPERTY_NEW_VALUE, XCB_PROPERTY_DELETE) with Convention => C; -- /usr/include/xcb/xproto.h:991 --* Opcode for xcb_property_notify. --* -- * @brief xcb_property_notify_event_t -- * type xcb_property_notify_event_t_array1897 is array (0 .. 2) of aliased bits_stdint_uintn_h.uint8_t; type xcb_property_notify_event_t is record response_type : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:1003 pad0 : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:1004 sequence : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:1005 window : aliased xcb_window_t; -- /usr/include/xcb/xproto.h:1006 atom : aliased xcb_atom_t; -- /usr/include/xcb/xproto.h:1007 time : aliased xcb_timestamp_t; -- /usr/include/xcb/xproto.h:1008 state : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:1009 pad1 : aliased xcb_property_notify_event_t_array1897; -- /usr/include/xcb/xproto.h:1010 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:1002 --* Opcode for xcb_selection_clear. --* -- * @brief xcb_selection_clear_event_t -- * type xcb_selection_clear_event_t is record response_type : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:1020 pad0 : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:1021 sequence : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:1022 time : aliased xcb_timestamp_t; -- /usr/include/xcb/xproto.h:1023 owner : aliased xcb_window_t; -- /usr/include/xcb/xproto.h:1024 selection : aliased xcb_atom_t; -- /usr/include/xcb/xproto.h:1025 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:1019 type xcb_time_t is (XCB_TIME_CURRENT_TIME) with Convention => C; -- /usr/include/xcb/xproto.h:1028 subtype xcb_atom_enum_t is unsigned; XCB_ATOM_NONE : constant unsigned := 0; XCB_ATOM_ANY : constant unsigned := 0; XCB_ATOM_PRIMARY : constant unsigned := 1; XCB_ATOM_SECONDARY : constant unsigned := 2; XCB_ATOM_ARC : constant unsigned := 3; XCB_ATOM_ATOM : constant unsigned := 4; XCB_ATOM_BITMAP : constant unsigned := 5; XCB_ATOM_CARDINAL : constant unsigned := 6; XCB_ATOM_COLORMAP : constant unsigned := 7; XCB_ATOM_CURSOR : constant unsigned := 8; XCB_ATOM_CUT_BUFFER0 : constant unsigned := 9; XCB_ATOM_CUT_BUFFER1 : constant unsigned := 10; XCB_ATOM_CUT_BUFFER2 : constant unsigned := 11; XCB_ATOM_CUT_BUFFER3 : constant unsigned := 12; XCB_ATOM_CUT_BUFFER4 : constant unsigned := 13; XCB_ATOM_CUT_BUFFER5 : constant unsigned := 14; XCB_ATOM_CUT_BUFFER6 : constant unsigned := 15; XCB_ATOM_CUT_BUFFER7 : constant unsigned := 16; XCB_ATOM_DRAWABLE : constant unsigned := 17; XCB_ATOM_FONT : constant unsigned := 18; XCB_ATOM_INTEGER : constant unsigned := 19; XCB_ATOM_PIXMAP : constant unsigned := 20; XCB_ATOM_POINT : constant unsigned := 21; XCB_ATOM_RECTANGLE : constant unsigned := 22; XCB_ATOM_RESOURCE_MANAGER : constant unsigned := 23; XCB_ATOM_RGB_COLOR_MAP : constant unsigned := 24; XCB_ATOM_RGB_BEST_MAP : constant unsigned := 25; XCB_ATOM_RGB_BLUE_MAP : constant unsigned := 26; XCB_ATOM_RGB_DEFAULT_MAP : constant unsigned := 27; XCB_ATOM_RGB_GRAY_MAP : constant unsigned := 28; XCB_ATOM_RGB_GREEN_MAP : constant unsigned := 29; XCB_ATOM_RGB_RED_MAP : constant unsigned := 30; XCB_ATOM_STRING : constant unsigned := 31; XCB_ATOM_VISUALID : constant unsigned := 32; XCB_ATOM_WINDOW : constant unsigned := 33; XCB_ATOM_WM_COMMAND : constant unsigned := 34; XCB_ATOM_WM_HINTS : constant unsigned := 35; XCB_ATOM_WM_CLIENT_MACHINE : constant unsigned := 36; XCB_ATOM_WM_ICON_NAME : constant unsigned := 37; XCB_ATOM_WM_ICON_SIZE : constant unsigned := 38; XCB_ATOM_WM_NAME : constant unsigned := 39; XCB_ATOM_WM_NORMAL_HINTS : constant unsigned := 40; XCB_ATOM_WM_SIZE_HINTS : constant unsigned := 41; XCB_ATOM_WM_ZOOM_HINTS : constant unsigned := 42; XCB_ATOM_MIN_SPACE : constant unsigned := 43; XCB_ATOM_NORM_SPACE : constant unsigned := 44; XCB_ATOM_MAX_SPACE : constant unsigned := 45; XCB_ATOM_END_SPACE : constant unsigned := 46; XCB_ATOM_SUPERSCRIPT_X : constant unsigned := 47; XCB_ATOM_SUPERSCRIPT_Y : constant unsigned := 48; XCB_ATOM_SUBSCRIPT_X : constant unsigned := 49; XCB_ATOM_SUBSCRIPT_Y : constant unsigned := 50; XCB_ATOM_UNDERLINE_POSITION : constant unsigned := 51; XCB_ATOM_UNDERLINE_THICKNESS : constant unsigned := 52; XCB_ATOM_STRIKEOUT_ASCENT : constant unsigned := 53; XCB_ATOM_STRIKEOUT_DESCENT : constant unsigned := 54; XCB_ATOM_ITALIC_ANGLE : constant unsigned := 55; XCB_ATOM_X_HEIGHT : constant unsigned := 56; XCB_ATOM_QUAD_WIDTH : constant unsigned := 57; XCB_ATOM_WEIGHT : constant unsigned := 58; XCB_ATOM_POINT_SIZE : constant unsigned := 59; XCB_ATOM_RESOLUTION : constant unsigned := 60; XCB_ATOM_COPYRIGHT : constant unsigned := 61; XCB_ATOM_NOTICE : constant unsigned := 62; XCB_ATOM_FONT_NAME : constant unsigned := 63; XCB_ATOM_FAMILY_NAME : constant unsigned := 64; XCB_ATOM_FULL_NAME : constant unsigned := 65; XCB_ATOM_CAP_HEIGHT : constant unsigned := 66; XCB_ATOM_WM_CLASS : constant unsigned := 67; XCB_ATOM_WM_TRANSIENT_FOR : constant unsigned := 68; -- /usr/include/xcb/xproto.h:1032 --* Opcode for xcb_selection_request. --* -- * @brief xcb_selection_request_event_t -- * type xcb_selection_request_event_t is record response_type : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:1112 pad0 : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:1113 sequence : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:1114 time : aliased xcb_timestamp_t; -- /usr/include/xcb/xproto.h:1115 owner : aliased xcb_window_t; -- /usr/include/xcb/xproto.h:1116 requestor : aliased xcb_window_t; -- /usr/include/xcb/xproto.h:1117 selection : aliased xcb_atom_t; -- /usr/include/xcb/xproto.h:1118 target : aliased xcb_atom_t; -- /usr/include/xcb/xproto.h:1119 property : aliased xcb_atom_t; -- /usr/include/xcb/xproto.h:1120 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:1111 --* Opcode for xcb_selection_notify. --* -- * @brief xcb_selection_notify_event_t -- * type xcb_selection_notify_event_t is record response_type : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:1130 pad0 : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:1131 sequence : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:1132 time : aliased xcb_timestamp_t; -- /usr/include/xcb/xproto.h:1133 requestor : aliased xcb_window_t; -- /usr/include/xcb/xproto.h:1134 selection : aliased xcb_atom_t; -- /usr/include/xcb/xproto.h:1135 target : aliased xcb_atom_t; -- /usr/include/xcb/xproto.h:1136 property : aliased xcb_atom_t; -- /usr/include/xcb/xproto.h:1137 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:1129 type xcb_colormap_state_t is (XCB_COLORMAP_STATE_UNINSTALLED, XCB_COLORMAP_STATE_INSTALLED) with Convention => C; -- /usr/include/xcb/xproto.h:1140 --*< The colormap was uninstalled. --*< The colormap was installed. type xcb_colormap_enum_t is (XCB_COLORMAP_NONE) with Convention => C; -- /usr/include/xcb/xproto.h:1149 --* Opcode for xcb_colormap_notify. --* -- * @brief xcb_colormap_notify_event_t -- * type xcb_colormap_notify_event_t_array1823 is array (0 .. 1) of aliased bits_stdint_uintn_h.uint8_t; type xcb_colormap_notify_event_t is record response_type : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:1160 pad0 : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:1161 sequence : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:1162 window : aliased xcb_window_t; -- /usr/include/xcb/xproto.h:1163 colormap : aliased xcb_colormap_t; -- /usr/include/xcb/xproto.h:1164 u_new : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:1165 state : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:1166 pad1 : aliased xcb_colormap_notify_event_t_array1823; -- /usr/include/xcb/xproto.h:1167 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:1159 --* -- * @brief xcb_client_message_data_t -- * type xcb_client_message_data_t_array1992 is array (0 .. 19) of aliased bits_stdint_uintn_h.uint8_t; type xcb_client_message_data_t_array1995 is array (0 .. 9) of aliased bits_stdint_uintn_h.uint16_t; type xcb_client_message_data_t_array1657 is array (0 .. 4) of aliased bits_stdint_uintn_h.uint32_t; type xcb_client_message_data_t (discr : unsigned := 0) is record case discr is when 0 => data8 : aliased xcb_client_message_data_t_array1992; -- /usr/include/xcb/xproto.h:1174 when 1 => data16 : aliased xcb_client_message_data_t_array1995; -- /usr/include/xcb/xproto.h:1175 when others => data32 : aliased xcb_client_message_data_t_array1657; -- /usr/include/xcb/xproto.h:1176 end case; end record with Convention => C_Pass_By_Copy, Unchecked_Union => True; -- /usr/include/xcb/xproto.h:1173 --* -- * @brief xcb_client_message_data_iterator_t -- * type xcb_client_message_data_iterator_t is record data : access xcb_client_message_data_t; -- /usr/include/xcb/xproto.h:1183 c_rem : aliased int; -- /usr/include/xcb/xproto.h:1184 index : aliased int; -- /usr/include/xcb/xproto.h:1185 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:1182 --* Opcode for xcb_client_message. --* -- * @brief xcb_client_message_event_t -- * type xcb_client_message_event_t is record response_type : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:1195 format : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:1196 sequence : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:1197 window : aliased xcb_window_t; -- /usr/include/xcb/xproto.h:1198 c_type : aliased xcb_atom_t; -- /usr/include/xcb/xproto.h:1199 data : aliased xcb_client_message_data_t; -- /usr/include/xcb/xproto.h:1200 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:1194 type xcb_mapping_t is (XCB_MAPPING_MODIFIER, XCB_MAPPING_KEYBOARD, XCB_MAPPING_POINTER) with Convention => C; -- /usr/include/xcb/xproto.h:1203 --* Opcode for xcb_mapping_notify. --* -- * @brief xcb_mapping_notify_event_t -- * type xcb_mapping_notify_event_t is record response_type : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:1216 pad0 : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:1217 sequence : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:1218 request : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:1219 first_keycode : aliased xcb_keycode_t; -- /usr/include/xcb/xproto.h:1220 count : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:1221 pad1 : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:1222 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:1215 --* Opcode for xcb_ge_generic. --* -- * @brief xcb_ge_generic_event_t -- * type xcb_ge_generic_event_t_array2015 is array (0 .. 21) of aliased bits_stdint_uintn_h.uint8_t; type xcb_ge_generic_event_t is record response_type : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:1232 extension : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:1233 sequence : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:1234 length : aliased bits_stdint_uintn_h.uint32_t; -- /usr/include/xcb/xproto.h:1235 event_type : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:1236 pad0 : aliased xcb_ge_generic_event_t_array2015; -- /usr/include/xcb/xproto.h:1237 full_sequence : aliased bits_stdint_uintn_h.uint32_t; -- /usr/include/xcb/xproto.h:1238 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:1231 --* Opcode for xcb_request. --* -- * @brief xcb_request_error_t -- * type xcb_request_error_t is record response_type : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:1248 error_code : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:1249 sequence : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:1250 bad_value : aliased bits_stdint_uintn_h.uint32_t; -- /usr/include/xcb/xproto.h:1251 minor_opcode : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:1252 major_opcode : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:1253 pad0 : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:1254 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:1247 --* Opcode for xcb_value. --* -- * @brief xcb_value_error_t -- * type xcb_value_error_t is record response_type : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:1264 error_code : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:1265 sequence : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:1266 bad_value : aliased bits_stdint_uintn_h.uint32_t; -- /usr/include/xcb/xproto.h:1267 minor_opcode : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:1268 major_opcode : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:1269 pad0 : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:1270 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:1263 --* Opcode for xcb_window. subtype xcb_window_error_t is xcb_value_error_t; -- /usr/include/xcb/xproto.h:1276 --* Opcode for xcb_pixmap. subtype xcb_pixmap_error_t is xcb_value_error_t; -- /usr/include/xcb/xproto.h:1281 --* Opcode for xcb_atom. subtype xcb_atom_error_t is xcb_value_error_t; -- /usr/include/xcb/xproto.h:1286 --* Opcode for xcb_cursor. subtype xcb_cursor_error_t is xcb_value_error_t; -- /usr/include/xcb/xproto.h:1291 --* Opcode for xcb_font. subtype xcb_font_error_t is xcb_value_error_t; -- /usr/include/xcb/xproto.h:1296 --* Opcode for xcb_match. subtype xcb_match_error_t is xcb_request_error_t; -- /usr/include/xcb/xproto.h:1301 --* Opcode for xcb_drawable. subtype xcb_drawable_error_t is xcb_value_error_t; -- /usr/include/xcb/xproto.h:1306 --* Opcode for xcb_access. subtype xcb_access_error_t is xcb_request_error_t; -- /usr/include/xcb/xproto.h:1311 --* Opcode for xcb_alloc. subtype xcb_alloc_error_t is xcb_request_error_t; -- /usr/include/xcb/xproto.h:1316 --* Opcode for xcb_colormap. subtype xcb_colormap_error_t is xcb_value_error_t; -- /usr/include/xcb/xproto.h:1321 --* Opcode for xcb_g_context. subtype xcb_g_context_error_t is xcb_value_error_t; -- /usr/include/xcb/xproto.h:1326 --* Opcode for xcb_id_choice. subtype xcb_id_choice_error_t is xcb_value_error_t; -- /usr/include/xcb/xproto.h:1331 --* Opcode for xcb_name. subtype xcb_name_error_t is xcb_request_error_t; -- /usr/include/xcb/xproto.h:1336 --* Opcode for xcb_length. subtype xcb_length_error_t is xcb_request_error_t; -- /usr/include/xcb/xproto.h:1341 --* Opcode for xcb_implementation. subtype xcb_implementation_error_t is xcb_request_error_t; -- /usr/include/xcb/xproto.h:1346 type xcb_window_class_t is (XCB_WINDOW_CLASS_COPY_FROM_PARENT, XCB_WINDOW_CLASS_INPUT_OUTPUT, XCB_WINDOW_CLASS_INPUT_ONLY) with Convention => C; -- /usr/include/xcb/xproto.h:1348 subtype xcb_cw_t is unsigned; XCB_CW_BACK_PIXMAP : constant unsigned := 1; XCB_CW_BACK_PIXEL : constant unsigned := 2; XCB_CW_BORDER_PIXMAP : constant unsigned := 4; XCB_CW_BORDER_PIXEL : constant unsigned := 8; XCB_CW_BIT_GRAVITY : constant unsigned := 16; XCB_CW_WIN_GRAVITY : constant unsigned := 32; XCB_CW_BACKING_STORE : constant unsigned := 64; XCB_CW_BACKING_PLANES : constant unsigned := 128; XCB_CW_BACKING_PIXEL : constant unsigned := 256; XCB_CW_OVERRIDE_REDIRECT : constant unsigned := 512; XCB_CW_SAVE_UNDER : constant unsigned := 1024; XCB_CW_EVENT_MASK : constant unsigned := 2048; XCB_CW_DONT_PROPAGATE : constant unsigned := 4096; XCB_CW_COLORMAP : constant unsigned := 8192; XCB_CW_CURSOR : constant unsigned := 16384; -- /usr/include/xcb/xproto.h:1354 --*< Overrides the default background-pixmap. The background pixmap and window must --have the same root and same depth. Any size pixmap can be used, although some --sizes may be faster than others. --If `XCB_BACK_PIXMAP_NONE` is specified, the window has no defined background. --The server may fill the contents with the previous screen contents or with --contents of its own choosing. --If `XCB_BACK_PIXMAP_PARENT_RELATIVE` is specified, the parent's background is --used, but the window must have the same depth as the parent (or a Match error --results). The parent's background is tracked, and the current version is --used each time the window background is required. --*< Overrides `BackPixmap`. A pixmap of undefined size filled with the specified --background pixel is used for the background. Range-checking is not performed, --the background pixel is truncated to the appropriate number of bits. --*< Overrides the default border-pixmap. The border pixmap and window must have the --same root and the same depth. Any size pixmap can be used, although some sizes --may be faster than others. --The special value `XCB_COPY_FROM_PARENT` means the parent's border pixmap is --copied (subsequent changes to the parent's border attribute do not affect the --child), but the window must have the same depth as the parent. --*< Overrides `BorderPixmap`. A pixmap of undefined size filled with the specified --border pixel is used for the border. Range checking is not performed on the --border-pixel value, it is truncated to the appropriate number of bits. --*< Defines which region of the window should be retained if the window is resized. --*< Defines how the window should be repositioned if the parent is resized (see --`ConfigureWindow`). --*< A backing-store of `WhenMapped` advises the server that maintaining contents of --obscured regions when the window is mapped would be beneficial. A backing-store --of `Always` advises the server that maintaining contents even when the window --is unmapped would be beneficial. In this case, the server may generate an --exposure event when the window is created. A value of `NotUseful` advises the --server that maintaining contents is unnecessary, although a server may still --choose to maintain contents while the window is mapped. Note that if the server --maintains contents, then the server should maintain complete contents not just --the region within the parent boundaries, even if the window is larger than its --parent. While the server maintains contents, exposure events will not normally --be generated, but the server may stop maintaining contents at any time. --*< The backing-planes indicates (with bits set to 1) which bit planes of the --window hold dynamic data that must be preserved in backing-stores and during --save-unders. --*< The backing-pixel specifies what value to use in planes not covered by --backing-planes. The server is free to save only the specified bit planes in the --backing-store or save-under and regenerate the remaining planes with the --specified pixel value. Any bits beyond the specified depth of the window in --these values are simply ignored. --*< The override-redirect specifies whether map and configure requests on this --window should override a SubstructureRedirect on the parent, typically to --inform a window manager not to tamper with the window. --*< If 1, the server is advised that when this window is mapped, saving the --contents of windows it obscures would be beneficial. --*< The event-mask defines which events the client is interested in for this window --(or for some event types, inferiors of the window). --*< The do-not-propagate-mask defines which events should not be propagated to --ancestor windows when no client has the event type selected in this window. --*< The colormap specifies the colormap that best reflects the true colors of the window. Servers --capable of supporting multiple hardware colormaps may use this information, and window man- --agers may use it for InstallColormap requests. The colormap must have the same visual type --and root as the window (or a Match error results). If CopyFromParent is specified, the parent's --colormap is copied (subsequent changes to the parent's colormap attribute do not affect the child). --However, the window must have the same visual type as the parent (or a Match error results), --and the parent must not have a colormap of None (or a Match error results). For an explanation --of None, see FreeColormap request. The colormap is copied by sharing the colormap object --between the child and the parent, not by making a complete copy of the colormap contents. --*< If a cursor is specified, it will be used whenever the pointer is in the window. If None is speci- --fied, the parent's cursor will be used when the pointer is in the window, and any change in the --parent's cursor will cause an immediate change in the displayed cursor. type xcb_back_pixmap_t is (XCB_BACK_PIXMAP_NONE, XCB_BACK_PIXMAP_PARENT_RELATIVE) with Convention => C; -- /usr/include/xcb/xproto.h:1455 subtype xcb_gravity_t is unsigned; XCB_GRAVITY_BIT_FORGET : constant unsigned := 0; XCB_GRAVITY_WIN_UNMAP : constant unsigned := 0; XCB_GRAVITY_NORTH_WEST : constant unsigned := 1; XCB_GRAVITY_NORTH : constant unsigned := 2; XCB_GRAVITY_NORTH_EAST : constant unsigned := 3; XCB_GRAVITY_WEST : constant unsigned := 4; XCB_GRAVITY_CENTER : constant unsigned := 5; XCB_GRAVITY_EAST : constant unsigned := 6; XCB_GRAVITY_SOUTH_WEST : constant unsigned := 7; XCB_GRAVITY_SOUTH : constant unsigned := 8; XCB_GRAVITY_SOUTH_EAST : constant unsigned := 9; XCB_GRAVITY_STATIC : constant unsigned := 10; -- /usr/include/xcb/xproto.h:1460 --* -- * @brief xcb_create_window_value_list_t -- * type xcb_create_window_value_list_t is record background_pixmap : aliased xcb_pixmap_t; -- /usr/include/xcb/xproto.h:1479 background_pixel : aliased bits_stdint_uintn_h.uint32_t; -- /usr/include/xcb/xproto.h:1480 border_pixmap : aliased xcb_pixmap_t; -- /usr/include/xcb/xproto.h:1481 border_pixel : aliased bits_stdint_uintn_h.uint32_t; -- /usr/include/xcb/xproto.h:1482 bit_gravity : aliased bits_stdint_uintn_h.uint32_t; -- /usr/include/xcb/xproto.h:1483 win_gravity : aliased bits_stdint_uintn_h.uint32_t; -- /usr/include/xcb/xproto.h:1484 backing_store : aliased bits_stdint_uintn_h.uint32_t; -- /usr/include/xcb/xproto.h:1485 backing_planes : aliased bits_stdint_uintn_h.uint32_t; -- /usr/include/xcb/xproto.h:1486 backing_pixel : aliased bits_stdint_uintn_h.uint32_t; -- /usr/include/xcb/xproto.h:1487 override_redirect : aliased xcb_bool32_t; -- /usr/include/xcb/xproto.h:1488 save_under : aliased xcb_bool32_t; -- /usr/include/xcb/xproto.h:1489 event_mask : aliased bits_stdint_uintn_h.uint32_t; -- /usr/include/xcb/xproto.h:1490 do_not_propogate_mask : aliased bits_stdint_uintn_h.uint32_t; -- /usr/include/xcb/xproto.h:1491 colormap : aliased xcb_colormap_t; -- /usr/include/xcb/xproto.h:1492 cursor : aliased xcb_cursor_t; -- /usr/include/xcb/xproto.h:1493 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:1478 --* Opcode for xcb_create_window. --* -- * @brief xcb_create_window_request_t -- * type xcb_create_window_request_t is record major_opcode : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:1503 depth : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:1504 length : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:1505 wid : aliased xcb_window_t; -- /usr/include/xcb/xproto.h:1506 parent : aliased xcb_window_t; -- /usr/include/xcb/xproto.h:1507 x : aliased bits_stdint_intn_h.int16_t; -- /usr/include/xcb/xproto.h:1508 y : aliased bits_stdint_intn_h.int16_t; -- /usr/include/xcb/xproto.h:1509 width : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:1510 height : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:1511 border_width : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:1512 u_class : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:1513 visual : aliased xcb_visualid_t; -- /usr/include/xcb/xproto.h:1514 value_mask : aliased bits_stdint_uintn_h.uint32_t; -- /usr/include/xcb/xproto.h:1515 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:1502 --* -- * @brief xcb_change_window_attributes_value_list_t -- * type xcb_change_window_attributes_value_list_t is record background_pixmap : aliased xcb_pixmap_t; -- /usr/include/xcb/xproto.h:1522 background_pixel : aliased bits_stdint_uintn_h.uint32_t; -- /usr/include/xcb/xproto.h:1523 border_pixmap : aliased xcb_pixmap_t; -- /usr/include/xcb/xproto.h:1524 border_pixel : aliased bits_stdint_uintn_h.uint32_t; -- /usr/include/xcb/xproto.h:1525 bit_gravity : aliased bits_stdint_uintn_h.uint32_t; -- /usr/include/xcb/xproto.h:1526 win_gravity : aliased bits_stdint_uintn_h.uint32_t; -- /usr/include/xcb/xproto.h:1527 backing_store : aliased bits_stdint_uintn_h.uint32_t; -- /usr/include/xcb/xproto.h:1528 backing_planes : aliased bits_stdint_uintn_h.uint32_t; -- /usr/include/xcb/xproto.h:1529 backing_pixel : aliased bits_stdint_uintn_h.uint32_t; -- /usr/include/xcb/xproto.h:1530 override_redirect : aliased xcb_bool32_t; -- /usr/include/xcb/xproto.h:1531 save_under : aliased xcb_bool32_t; -- /usr/include/xcb/xproto.h:1532 event_mask : aliased bits_stdint_uintn_h.uint32_t; -- /usr/include/xcb/xproto.h:1533 do_not_propogate_mask : aliased bits_stdint_uintn_h.uint32_t; -- /usr/include/xcb/xproto.h:1534 colormap : aliased xcb_colormap_t; -- /usr/include/xcb/xproto.h:1535 cursor : aliased xcb_cursor_t; -- /usr/include/xcb/xproto.h:1536 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:1521 --* Opcode for xcb_change_window_attributes. --* -- * @brief xcb_change_window_attributes_request_t -- * type xcb_change_window_attributes_request_t is record major_opcode : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:1546 pad0 : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:1547 length : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:1548 window : aliased xcb_window_t; -- /usr/include/xcb/xproto.h:1549 value_mask : aliased bits_stdint_uintn_h.uint32_t; -- /usr/include/xcb/xproto.h:1550 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:1545 type xcb_map_state_t is (XCB_MAP_STATE_UNMAPPED, XCB_MAP_STATE_UNVIEWABLE, XCB_MAP_STATE_VIEWABLE) with Convention => C; -- /usr/include/xcb/xproto.h:1553 --* -- * @brief xcb_get_window_attributes_cookie_t -- * type xcb_get_window_attributes_cookie_t is record sequence : aliased unsigned; -- /usr/include/xcb/xproto.h:1563 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:1562 --* Opcode for xcb_get_window_attributes. --* -- * @brief xcb_get_window_attributes_request_t -- * type xcb_get_window_attributes_request_t is record major_opcode : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:1573 pad0 : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:1574 length : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:1575 window : aliased xcb_window_t; -- /usr/include/xcb/xproto.h:1576 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:1572 --* -- * @brief xcb_get_window_attributes_reply_t -- * type xcb_get_window_attributes_reply_t_array1823 is array (0 .. 1) of aliased bits_stdint_uintn_h.uint8_t; type xcb_get_window_attributes_reply_t is record response_type : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:1583 backing_store : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:1584 sequence : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:1585 length : aliased bits_stdint_uintn_h.uint32_t; -- /usr/include/xcb/xproto.h:1586 visual : aliased xcb_visualid_t; -- /usr/include/xcb/xproto.h:1587 u_class : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:1588 bit_gravity : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:1589 win_gravity : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:1590 backing_planes : aliased bits_stdint_uintn_h.uint32_t; -- /usr/include/xcb/xproto.h:1591 backing_pixel : aliased bits_stdint_uintn_h.uint32_t; -- /usr/include/xcb/xproto.h:1592 save_under : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:1593 map_is_installed : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:1594 map_state : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:1595 override_redirect : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:1596 colormap : aliased xcb_colormap_t; -- /usr/include/xcb/xproto.h:1597 all_event_masks : aliased bits_stdint_uintn_h.uint32_t; -- /usr/include/xcb/xproto.h:1598 your_event_mask : aliased bits_stdint_uintn_h.uint32_t; -- /usr/include/xcb/xproto.h:1599 do_not_propagate_mask : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:1600 pad0 : aliased xcb_get_window_attributes_reply_t_array1823; -- /usr/include/xcb/xproto.h:1601 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:1582 --* Opcode for xcb_destroy_window. --* -- * @brief xcb_destroy_window_request_t -- * type xcb_destroy_window_request_t is record major_opcode : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:1611 pad0 : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:1612 length : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:1613 window : aliased xcb_window_t; -- /usr/include/xcb/xproto.h:1614 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:1610 --* Opcode for xcb_destroy_subwindows. --* -- * @brief xcb_destroy_subwindows_request_t -- * type xcb_destroy_subwindows_request_t is record major_opcode : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:1624 pad0 : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:1625 length : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:1626 window : aliased xcb_window_t; -- /usr/include/xcb/xproto.h:1627 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:1623 type xcb_set_mode_t is (XCB_SET_MODE_INSERT, XCB_SET_MODE_DELETE) with Convention => C; -- /usr/include/xcb/xproto.h:1630 --* Opcode for xcb_change_save_set. --* -- * @brief xcb_change_save_set_request_t -- * type xcb_change_save_set_request_t is record major_opcode : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:1642 mode : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:1643 length : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:1644 window : aliased xcb_window_t; -- /usr/include/xcb/xproto.h:1645 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:1641 --* Opcode for xcb_reparent_window. --* -- * @brief xcb_reparent_window_request_t -- * type xcb_reparent_window_request_t is record major_opcode : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:1655 pad0 : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:1656 length : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:1657 window : aliased xcb_window_t; -- /usr/include/xcb/xproto.h:1658 parent : aliased xcb_window_t; -- /usr/include/xcb/xproto.h:1659 x : aliased bits_stdint_intn_h.int16_t; -- /usr/include/xcb/xproto.h:1660 y : aliased bits_stdint_intn_h.int16_t; -- /usr/include/xcb/xproto.h:1661 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:1654 --* Opcode for xcb_map_window. --* -- * @brief xcb_map_window_request_t -- * type xcb_map_window_request_t is record major_opcode : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:1671 pad0 : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:1672 length : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:1673 window : aliased xcb_window_t; -- /usr/include/xcb/xproto.h:1674 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:1670 --* Opcode for xcb_map_subwindows. --* -- * @brief xcb_map_subwindows_request_t -- * type xcb_map_subwindows_request_t is record major_opcode : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:1684 pad0 : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:1685 length : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:1686 window : aliased xcb_window_t; -- /usr/include/xcb/xproto.h:1687 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:1683 --* Opcode for xcb_unmap_window. --* -- * @brief xcb_unmap_window_request_t -- * type xcb_unmap_window_request_t is record major_opcode : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:1697 pad0 : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:1698 length : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:1699 window : aliased xcb_window_t; -- /usr/include/xcb/xproto.h:1700 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:1696 --* Opcode for xcb_unmap_subwindows. --* -- * @brief xcb_unmap_subwindows_request_t -- * type xcb_unmap_subwindows_request_t is record major_opcode : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:1710 pad0 : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:1711 length : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:1712 window : aliased xcb_window_t; -- /usr/include/xcb/xproto.h:1713 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:1709 subtype xcb_config_window_t is unsigned; XCB_CONFIG_WINDOW_X : constant unsigned := 1; XCB_CONFIG_WINDOW_Y : constant unsigned := 2; XCB_CONFIG_WINDOW_WIDTH : constant unsigned := 4; XCB_CONFIG_WINDOW_HEIGHT : constant unsigned := 8; XCB_CONFIG_WINDOW_BORDER_WIDTH : constant unsigned := 16; XCB_CONFIG_WINDOW_SIBLING : constant unsigned := 32; XCB_CONFIG_WINDOW_STACK_MODE : constant unsigned := 64; -- /usr/include/xcb/xproto.h:1716 type xcb_stack_mode_t is (XCB_STACK_MODE_ABOVE, XCB_STACK_MODE_BELOW, XCB_STACK_MODE_TOP_IF, XCB_STACK_MODE_BOTTOM_IF, XCB_STACK_MODE_OPPOSITE) with Convention => C; -- /usr/include/xcb/xproto.h:1726 --* -- * @brief xcb_configure_window_value_list_t -- * type xcb_configure_window_value_list_t is record x : aliased bits_stdint_intn_h.int32_t; -- /usr/include/xcb/xproto.h:1738 y : aliased bits_stdint_intn_h.int32_t; -- /usr/include/xcb/xproto.h:1739 width : aliased bits_stdint_uintn_h.uint32_t; -- /usr/include/xcb/xproto.h:1740 height : aliased bits_stdint_uintn_h.uint32_t; -- /usr/include/xcb/xproto.h:1741 border_width : aliased bits_stdint_uintn_h.uint32_t; -- /usr/include/xcb/xproto.h:1742 sibling : aliased xcb_window_t; -- /usr/include/xcb/xproto.h:1743 stack_mode : aliased bits_stdint_uintn_h.uint32_t; -- /usr/include/xcb/xproto.h:1744 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:1737 --* Opcode for xcb_configure_window. --* -- * @brief xcb_configure_window_request_t -- * type xcb_configure_window_request_t_array1823 is array (0 .. 1) of aliased bits_stdint_uintn_h.uint8_t; type xcb_configure_window_request_t is record major_opcode : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:1754 pad0 : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:1755 length : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:1756 window : aliased xcb_window_t; -- /usr/include/xcb/xproto.h:1757 value_mask : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:1758 pad1 : aliased xcb_configure_window_request_t_array1823; -- /usr/include/xcb/xproto.h:1759 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:1753 type xcb_circulate_t is (XCB_CIRCULATE_RAISE_LOWEST, XCB_CIRCULATE_LOWER_HIGHEST) with Convention => C; -- /usr/include/xcb/xproto.h:1762 --* Opcode for xcb_circulate_window. --* -- * @brief xcb_circulate_window_request_t -- * type xcb_circulate_window_request_t is record major_opcode : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:1774 direction : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:1775 length : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:1776 window : aliased xcb_window_t; -- /usr/include/xcb/xproto.h:1777 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:1773 --* -- * @brief xcb_get_geometry_cookie_t -- * type xcb_get_geometry_cookie_t is record sequence : aliased unsigned; -- /usr/include/xcb/xproto.h:1784 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:1783 --* Opcode for xcb_get_geometry. --* -- * @brief xcb_get_geometry_request_t -- * type xcb_get_geometry_request_t is record major_opcode : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:1794 pad0 : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:1795 length : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:1796 drawable : aliased xcb_drawable_t; -- /usr/include/xcb/xproto.h:1797 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:1793 --* -- * @brief xcb_get_geometry_reply_t -- * type xcb_get_geometry_reply_t_array1823 is array (0 .. 1) of aliased bits_stdint_uintn_h.uint8_t; type xcb_get_geometry_reply_t is record response_type : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:1804 depth : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:1805 sequence : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:1806 length : aliased bits_stdint_uintn_h.uint32_t; -- /usr/include/xcb/xproto.h:1807 root : aliased xcb_window_t; -- /usr/include/xcb/xproto.h:1808 x : aliased bits_stdint_intn_h.int16_t; -- /usr/include/xcb/xproto.h:1809 y : aliased bits_stdint_intn_h.int16_t; -- /usr/include/xcb/xproto.h:1810 width : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:1811 height : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:1812 border_width : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:1813 pad0 : aliased xcb_get_geometry_reply_t_array1823; -- /usr/include/xcb/xproto.h:1814 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:1803 --* -- * @brief xcb_query_tree_cookie_t -- * type xcb_query_tree_cookie_t is record sequence : aliased unsigned; -- /usr/include/xcb/xproto.h:1821 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:1820 --* Opcode for xcb_query_tree. --* -- * @brief xcb_query_tree_request_t -- * type xcb_query_tree_request_t is record major_opcode : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:1831 pad0 : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:1832 length : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:1833 window : aliased xcb_window_t; -- /usr/include/xcb/xproto.h:1834 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:1830 --* -- * @brief xcb_query_tree_reply_t -- * type xcb_query_tree_reply_t_array2138 is array (0 .. 13) of aliased bits_stdint_uintn_h.uint8_t; type xcb_query_tree_reply_t is record response_type : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:1841 pad0 : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:1842 sequence : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:1843 length : aliased bits_stdint_uintn_h.uint32_t; -- /usr/include/xcb/xproto.h:1844 root : aliased xcb_window_t; -- /usr/include/xcb/xproto.h:1845 parent : aliased xcb_window_t; -- /usr/include/xcb/xproto.h:1846 children_len : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:1847 pad1 : aliased xcb_query_tree_reply_t_array2138; -- /usr/include/xcb/xproto.h:1848 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:1840 --* -- * @brief xcb_intern_atom_cookie_t -- * type xcb_intern_atom_cookie_t is record sequence : aliased unsigned; -- /usr/include/xcb/xproto.h:1855 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:1854 --* Opcode for xcb_intern_atom. --* -- * @brief xcb_intern_atom_request_t -- * type xcb_intern_atom_request_t_array1823 is array (0 .. 1) of aliased bits_stdint_uintn_h.uint8_t; type xcb_intern_atom_request_t is record major_opcode : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:1865 only_if_exists : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:1866 length : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:1867 name_len : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:1868 pad0 : aliased xcb_intern_atom_request_t_array1823; -- /usr/include/xcb/xproto.h:1869 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:1864 --* -- * @brief xcb_intern_atom_reply_t -- * type xcb_intern_atom_reply_t is record response_type : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:1876 pad0 : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:1877 sequence : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:1878 length : aliased bits_stdint_uintn_h.uint32_t; -- /usr/include/xcb/xproto.h:1879 atom : aliased xcb_atom_t; -- /usr/include/xcb/xproto.h:1880 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:1875 --* -- * @brief xcb_get_atom_name_cookie_t -- * type xcb_get_atom_name_cookie_t is record sequence : aliased unsigned; -- /usr/include/xcb/xproto.h:1887 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:1886 --* Opcode for xcb_get_atom_name. --* -- * @brief xcb_get_atom_name_request_t -- * type xcb_get_atom_name_request_t is record major_opcode : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:1897 pad0 : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:1898 length : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:1899 atom : aliased xcb_atom_t; -- /usr/include/xcb/xproto.h:1900 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:1896 --* -- * @brief xcb_get_atom_name_reply_t -- * type xcb_get_atom_name_reply_t_array2015 is array (0 .. 21) of aliased bits_stdint_uintn_h.uint8_t; type xcb_get_atom_name_reply_t is record response_type : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:1907 pad0 : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:1908 sequence : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:1909 length : aliased bits_stdint_uintn_h.uint32_t; -- /usr/include/xcb/xproto.h:1910 name_len : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:1911 pad1 : aliased xcb_get_atom_name_reply_t_array2015; -- /usr/include/xcb/xproto.h:1912 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:1906 type xcb_prop_mode_t is (XCB_PROP_MODE_REPLACE, XCB_PROP_MODE_PREPEND, XCB_PROP_MODE_APPEND) with Convention => C; -- /usr/include/xcb/xproto.h:1915 --*< Discard the previous property value and store the new data. --*< Insert the new data before the beginning of existing data. The `format` must --match existing property value. If the property is undefined, it is treated as --defined with the correct type and format with zero-length data. --*< Insert the new data after the beginning of existing data. The `format` must --match existing property value. If the property is undefined, it is treated as --defined with the correct type and format with zero-length data. --* Opcode for xcb_change_property. --* -- * @brief xcb_change_property_request_t -- * type xcb_change_property_request_t_array1897 is array (0 .. 2) of aliased bits_stdint_uintn_h.uint8_t; type xcb_change_property_request_t is record major_opcode : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:1938 mode : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:1939 length : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:1940 window : aliased xcb_window_t; -- /usr/include/xcb/xproto.h:1941 property : aliased xcb_atom_t; -- /usr/include/xcb/xproto.h:1942 c_type : aliased xcb_atom_t; -- /usr/include/xcb/xproto.h:1943 format : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:1944 pad0 : aliased xcb_change_property_request_t_array1897; -- /usr/include/xcb/xproto.h:1945 data_len : aliased bits_stdint_uintn_h.uint32_t; -- /usr/include/xcb/xproto.h:1946 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:1937 --* Opcode for xcb_delete_property. --* -- * @brief xcb_delete_property_request_t -- * type xcb_delete_property_request_t is record major_opcode : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:1956 pad0 : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:1957 length : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:1958 window : aliased xcb_window_t; -- /usr/include/xcb/xproto.h:1959 property : aliased xcb_atom_t; -- /usr/include/xcb/xproto.h:1960 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:1955 type xcb_get_property_type_t is (XCB_GET_PROPERTY_TYPE_ANY) with Convention => C; -- /usr/include/xcb/xproto.h:1963 --* -- * @brief xcb_get_property_cookie_t -- * type xcb_get_property_cookie_t is record sequence : aliased unsigned; -- /usr/include/xcb/xproto.h:1971 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:1970 --* Opcode for xcb_get_property. --* -- * @brief xcb_get_property_request_t -- * type xcb_get_property_request_t is record major_opcode : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:1981 u_delete : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:1982 length : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:1983 window : aliased xcb_window_t; -- /usr/include/xcb/xproto.h:1984 property : aliased xcb_atom_t; -- /usr/include/xcb/xproto.h:1985 c_type : aliased xcb_atom_t; -- /usr/include/xcb/xproto.h:1986 long_offset : aliased bits_stdint_uintn_h.uint32_t; -- /usr/include/xcb/xproto.h:1987 long_length : aliased bits_stdint_uintn_h.uint32_t; -- /usr/include/xcb/xproto.h:1988 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:1980 --* -- * @brief xcb_get_property_reply_t -- * type xcb_get_property_reply_t_array2180 is array (0 .. 11) of aliased bits_stdint_uintn_h.uint8_t; type xcb_get_property_reply_t is record response_type : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:1995 format : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:1996 sequence : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:1997 length : aliased bits_stdint_uintn_h.uint32_t; -- /usr/include/xcb/xproto.h:1998 c_type : aliased xcb_atom_t; -- /usr/include/xcb/xproto.h:1999 bytes_after : aliased bits_stdint_uintn_h.uint32_t; -- /usr/include/xcb/xproto.h:2000 value_len : aliased bits_stdint_uintn_h.uint32_t; -- /usr/include/xcb/xproto.h:2001 pad0 : aliased xcb_get_property_reply_t_array2180; -- /usr/include/xcb/xproto.h:2002 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:1994 --* -- * @brief xcb_list_properties_cookie_t -- * type xcb_list_properties_cookie_t is record sequence : aliased unsigned; -- /usr/include/xcb/xproto.h:2009 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:2008 --* Opcode for xcb_list_properties. --* -- * @brief xcb_list_properties_request_t -- * type xcb_list_properties_request_t is record major_opcode : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:2019 pad0 : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:2020 length : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:2021 window : aliased xcb_window_t; -- /usr/include/xcb/xproto.h:2022 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:2018 --* -- * @brief xcb_list_properties_reply_t -- * type xcb_list_properties_reply_t_array2015 is array (0 .. 21) of aliased bits_stdint_uintn_h.uint8_t; type xcb_list_properties_reply_t is record response_type : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:2029 pad0 : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:2030 sequence : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:2031 length : aliased bits_stdint_uintn_h.uint32_t; -- /usr/include/xcb/xproto.h:2032 atoms_len : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:2033 pad1 : aliased xcb_list_properties_reply_t_array2015; -- /usr/include/xcb/xproto.h:2034 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:2028 --* Opcode for xcb_set_selection_owner. --* -- * @brief xcb_set_selection_owner_request_t -- * type xcb_set_selection_owner_request_t is record major_opcode : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:2044 pad0 : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:2045 length : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:2046 owner : aliased xcb_window_t; -- /usr/include/xcb/xproto.h:2047 selection : aliased xcb_atom_t; -- /usr/include/xcb/xproto.h:2048 time : aliased xcb_timestamp_t; -- /usr/include/xcb/xproto.h:2049 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:2043 --* -- * @brief xcb_get_selection_owner_cookie_t -- * type xcb_get_selection_owner_cookie_t is record sequence : aliased unsigned; -- /usr/include/xcb/xproto.h:2056 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:2055 --* Opcode for xcb_get_selection_owner. --* -- * @brief xcb_get_selection_owner_request_t -- * type xcb_get_selection_owner_request_t is record major_opcode : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:2066 pad0 : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:2067 length : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:2068 selection : aliased xcb_atom_t; -- /usr/include/xcb/xproto.h:2069 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:2065 --* -- * @brief xcb_get_selection_owner_reply_t -- * type xcb_get_selection_owner_reply_t is record response_type : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:2076 pad0 : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:2077 sequence : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:2078 length : aliased bits_stdint_uintn_h.uint32_t; -- /usr/include/xcb/xproto.h:2079 owner : aliased xcb_window_t; -- /usr/include/xcb/xproto.h:2080 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:2075 --* Opcode for xcb_convert_selection. --* -- * @brief xcb_convert_selection_request_t -- * type xcb_convert_selection_request_t is record major_opcode : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:2090 pad0 : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:2091 length : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:2092 requestor : aliased xcb_window_t; -- /usr/include/xcb/xproto.h:2093 selection : aliased xcb_atom_t; -- /usr/include/xcb/xproto.h:2094 target : aliased xcb_atom_t; -- /usr/include/xcb/xproto.h:2095 property : aliased xcb_atom_t; -- /usr/include/xcb/xproto.h:2096 time : aliased xcb_timestamp_t; -- /usr/include/xcb/xproto.h:2097 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:2089 type xcb_send_event_dest_t is (XCB_SEND_EVENT_DEST_POINTER_WINDOW, XCB_SEND_EVENT_DEST_ITEM_FOCUS) with Convention => C; -- /usr/include/xcb/xproto.h:2100 --* Opcode for xcb_send_event. --* -- * @brief xcb_send_event_request_t -- * subtype xcb_send_event_request_t_array1030 is Interfaces.C.char_array (0 .. 31); type xcb_send_event_request_t is record major_opcode : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:2112 propagate : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:2113 length : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:2114 destination : aliased xcb_window_t; -- /usr/include/xcb/xproto.h:2115 event_mask : aliased bits_stdint_uintn_h.uint32_t; -- /usr/include/xcb/xproto.h:2116 event : aliased xcb_send_event_request_t_array1030; -- /usr/include/xcb/xproto.h:2117 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:2111 type xcb_grab_mode_t is (XCB_GRAB_MODE_SYNC, XCB_GRAB_MODE_ASYNC) with Convention => C; -- /usr/include/xcb/xproto.h:2120 --*< The state of the keyboard appears to freeze: No further keyboard events are --generated by the server until the grabbing client issues a releasing --`AllowEvents` request or until the keyboard grab is released. --*< Keyboard event processing continues normally. type xcb_grab_status_t is (XCB_GRAB_STATUS_SUCCESS, XCB_GRAB_STATUS_ALREADY_GRABBED, XCB_GRAB_STATUS_INVALID_TIME, XCB_GRAB_STATUS_NOT_VIEWABLE, XCB_GRAB_STATUS_FROZEN) with Convention => C; -- /usr/include/xcb/xproto.h:2131 type xcb_cursor_enum_t is (XCB_CURSOR_NONE) with Convention => C; -- /usr/include/xcb/xproto.h:2139 --* -- * @brief xcb_grab_pointer_cookie_t -- * type xcb_grab_pointer_cookie_t is record sequence : aliased unsigned; -- /usr/include/xcb/xproto.h:2147 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:2146 --* Opcode for xcb_grab_pointer. --* -- * @brief xcb_grab_pointer_request_t -- * type xcb_grab_pointer_request_t is record major_opcode : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:2157 owner_events : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:2158 length : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:2159 grab_window : aliased xcb_window_t; -- /usr/include/xcb/xproto.h:2160 event_mask : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:2161 pointer_mode : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:2162 keyboard_mode : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:2163 confine_to : aliased xcb_window_t; -- /usr/include/xcb/xproto.h:2164 cursor : aliased xcb_cursor_t; -- /usr/include/xcb/xproto.h:2165 time : aliased xcb_timestamp_t; -- /usr/include/xcb/xproto.h:2166 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:2156 --* -- * @brief xcb_grab_pointer_reply_t -- * type xcb_grab_pointer_reply_t is record response_type : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:2173 status : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:2174 sequence : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:2175 length : aliased bits_stdint_uintn_h.uint32_t; -- /usr/include/xcb/xproto.h:2176 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:2172 --* Opcode for xcb_ungrab_pointer. --* -- * @brief xcb_ungrab_pointer_request_t -- * type xcb_ungrab_pointer_request_t is record major_opcode : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:2186 pad0 : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:2187 length : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:2188 time : aliased xcb_timestamp_t; -- /usr/include/xcb/xproto.h:2189 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:2185 type xcb_button_index_t is (XCB_BUTTON_INDEX_ANY, XCB_BUTTON_INDEX_1, XCB_BUTTON_INDEX_2, XCB_BUTTON_INDEX_3, XCB_BUTTON_INDEX_4, XCB_BUTTON_INDEX_5) with Convention => C; -- /usr/include/xcb/xproto.h:2192 --*< Any of the following (or none): --*< The left mouse button. --*< The right mouse button. --*< The middle mouse button. --*< Scroll wheel. TODO: direction? --*< Scroll wheel. TODO: direction? --* Opcode for xcb_grab_button. --* -- * @brief xcb_grab_button_request_t -- * type xcb_grab_button_request_t is record major_opcode : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:2220 owner_events : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:2221 length : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:2222 grab_window : aliased xcb_window_t; -- /usr/include/xcb/xproto.h:2223 event_mask : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:2224 pointer_mode : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:2225 keyboard_mode : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:2226 confine_to : aliased xcb_window_t; -- /usr/include/xcb/xproto.h:2227 cursor : aliased xcb_cursor_t; -- /usr/include/xcb/xproto.h:2228 button : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:2229 pad0 : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:2230 modifiers : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:2231 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:2219 --* Opcode for xcb_ungrab_button. --* -- * @brief xcb_ungrab_button_request_t -- * type xcb_ungrab_button_request_t_array1823 is array (0 .. 1) of aliased bits_stdint_uintn_h.uint8_t; type xcb_ungrab_button_request_t is record major_opcode : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:2241 button : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:2242 length : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:2243 grab_window : aliased xcb_window_t; -- /usr/include/xcb/xproto.h:2244 modifiers : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:2245 pad0 : aliased xcb_ungrab_button_request_t_array1823; -- /usr/include/xcb/xproto.h:2246 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:2240 --* Opcode for xcb_change_active_pointer_grab. --* -- * @brief xcb_change_active_pointer_grab_request_t -- * type xcb_change_active_pointer_grab_request_t_array1823 is array (0 .. 1) of aliased bits_stdint_uintn_h.uint8_t; type xcb_change_active_pointer_grab_request_t is record major_opcode : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:2256 pad0 : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:2257 length : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:2258 cursor : aliased xcb_cursor_t; -- /usr/include/xcb/xproto.h:2259 time : aliased xcb_timestamp_t; -- /usr/include/xcb/xproto.h:2260 event_mask : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:2261 pad1 : aliased xcb_change_active_pointer_grab_request_t_array1823; -- /usr/include/xcb/xproto.h:2262 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:2255 --* -- * @brief xcb_grab_keyboard_cookie_t -- * type xcb_grab_keyboard_cookie_t is record sequence : aliased unsigned; -- /usr/include/xcb/xproto.h:2269 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:2268 --* Opcode for xcb_grab_keyboard. --* -- * @brief xcb_grab_keyboard_request_t -- * type xcb_grab_keyboard_request_t_array1823 is array (0 .. 1) of aliased bits_stdint_uintn_h.uint8_t; type xcb_grab_keyboard_request_t is record major_opcode : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:2279 owner_events : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:2280 length : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:2281 grab_window : aliased xcb_window_t; -- /usr/include/xcb/xproto.h:2282 time : aliased xcb_timestamp_t; -- /usr/include/xcb/xproto.h:2283 pointer_mode : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:2284 keyboard_mode : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:2285 pad0 : aliased xcb_grab_keyboard_request_t_array1823; -- /usr/include/xcb/xproto.h:2286 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:2278 --* -- * @brief xcb_grab_keyboard_reply_t -- * type xcb_grab_keyboard_reply_t is record response_type : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:2293 status : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:2294 sequence : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:2295 length : aliased bits_stdint_uintn_h.uint32_t; -- /usr/include/xcb/xproto.h:2296 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:2292 --* Opcode for xcb_ungrab_keyboard. --* -- * @brief xcb_ungrab_keyboard_request_t -- * type xcb_ungrab_keyboard_request_t is record major_opcode : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:2306 pad0 : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:2307 length : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:2308 time : aliased xcb_timestamp_t; -- /usr/include/xcb/xproto.h:2309 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:2305 type xcb_grab_t is (XCB_GRAB_ANY) with Convention => C; -- /usr/include/xcb/xproto.h:2312 --* Opcode for xcb_grab_key. --* -- * @brief xcb_grab_key_request_t -- * type xcb_grab_key_request_t_array1897 is array (0 .. 2) of aliased bits_stdint_uintn_h.uint8_t; type xcb_grab_key_request_t is record major_opcode : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:2323 owner_events : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:2324 length : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:2325 grab_window : aliased xcb_window_t; -- /usr/include/xcb/xproto.h:2326 modifiers : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:2327 key : aliased xcb_keycode_t; -- /usr/include/xcb/xproto.h:2328 pointer_mode : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:2329 keyboard_mode : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:2330 pad0 : aliased xcb_grab_key_request_t_array1897; -- /usr/include/xcb/xproto.h:2331 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:2322 --* Opcode for xcb_ungrab_key. --* -- * @brief xcb_ungrab_key_request_t -- * type xcb_ungrab_key_request_t_array1823 is array (0 .. 1) of aliased bits_stdint_uintn_h.uint8_t; type xcb_ungrab_key_request_t is record major_opcode : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:2341 key : aliased xcb_keycode_t; -- /usr/include/xcb/xproto.h:2342 length : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:2343 grab_window : aliased xcb_window_t; -- /usr/include/xcb/xproto.h:2344 modifiers : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:2345 pad0 : aliased xcb_ungrab_key_request_t_array1823; -- /usr/include/xcb/xproto.h:2346 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:2340 type xcb_allow_t is (XCB_ALLOW_ASYNC_POINTER, XCB_ALLOW_SYNC_POINTER, XCB_ALLOW_REPLAY_POINTER, XCB_ALLOW_ASYNC_KEYBOARD, XCB_ALLOW_SYNC_KEYBOARD, XCB_ALLOW_REPLAY_KEYBOARD, XCB_ALLOW_ASYNC_BOTH, XCB_ALLOW_SYNC_BOTH) with Convention => C; -- /usr/include/xcb/xproto.h:2349 --*< For AsyncPointer, if the pointer is frozen by the client, pointer event --processing continues normally. If the pointer is frozen twice by the client on --behalf of two separate grabs, AsyncPointer thaws for both. AsyncPointer has no --effect if the pointer is not frozen by the client, but the pointer need not be --grabbed by the client. --TODO: rewrite this in more understandable terms. --*< For SyncPointer, if the pointer is frozen and actively grabbed by the client, --pointer event processing continues normally until the next ButtonPress or --ButtonRelease event is reported to the client, at which time the pointer again --appears to freeze. However, if the reported event causes the pointer grab to be --released, then the pointer does not freeze. SyncPointer has no effect if the --pointer is not frozen by the client or if the pointer is not grabbed by the --client. --*< For ReplayPointer, if the pointer is actively grabbed by the client and is --frozen as the result of an event having been sent to the client (either from --the activation of a GrabButton or from a previous AllowEvents with mode --SyncPointer but not from a GrabPointer), then the pointer grab is released and --that event is completely reprocessed, this time ignoring any passive grabs at --or above (towards the root) the grab-window of the grab just released. The --request has no effect if the pointer is not grabbed by the client or if the --pointer is not frozen as the result of an event. --*< For AsyncKeyboard, if the keyboard is frozen by the client, keyboard event --processing continues normally. If the keyboard is frozen twice by the client on --behalf of two separate grabs, AsyncKeyboard thaws for both. AsyncKeyboard has --no effect if the keyboard is not frozen by the client, but the keyboard need --not be grabbed by the client. --*< For SyncKeyboard, if the keyboard is frozen and actively grabbed by the client, --keyboard event processing continues normally until the next KeyPress or --KeyRelease event is reported to the client, at which time the keyboard again --appears to freeze. However, if the reported event causes the keyboard grab to --be released, then the keyboard does not freeze. SyncKeyboard has no effect if --the keyboard is not frozen by the client or if the keyboard is not grabbed by --the client. --*< For ReplayKeyboard, if the keyboard is actively grabbed by the client and is --frozen as the result of an event having been sent to the client (either from --the activation of a GrabKey or from a previous AllowEvents with mode --SyncKeyboard but not from a GrabKeyboard), then the keyboard grab is released --and that event is completely reprocessed, this time ignoring any passive grabs --at or above (towards the root) the grab-window of the grab just released. The --request has no effect if the keyboard is not grabbed by the client or if the --keyboard is not frozen as the result of an event. --*< For AsyncBoth, if the pointer and the keyboard are frozen by the client, event --processing for both devices continues normally. If a device is frozen twice by --the client on behalf of two separate grabs, AsyncBoth thaws for both. AsyncBoth --has no effect unless both pointer and keyboard are frozen by the client. --*< For SyncBoth, if both pointer and keyboard are frozen by the client, event --processing (for both devices) continues normally until the next ButtonPress, --ButtonRelease, KeyPress, or KeyRelease event is reported to the client for a --grabbed device (button event for the pointer, key event for the keyboard), at --which time the devices again appear to freeze. However, if the reported event --causes the grab to be released, then the devices do not freeze (but if the --other device is still grabbed, then a subsequent event for it will still cause --both devices to freeze). SyncBoth has no effect unless both pointer and --keyboard are frozen by the client. If the pointer or keyboard is frozen twice --by the client on behalf of two separate grabs, SyncBoth thaws for both (but a --subsequent freeze for SyncBoth will only freeze each device once). --* Opcode for xcb_allow_events. --* -- * @brief xcb_allow_events_request_t -- * type xcb_allow_events_request_t is record major_opcode : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:2432 mode : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:2433 length : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:2434 time : aliased xcb_timestamp_t; -- /usr/include/xcb/xproto.h:2435 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:2431 --* Opcode for xcb_grab_server. --* -- * @brief xcb_grab_server_request_t -- * type xcb_grab_server_request_t is record major_opcode : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:2445 pad0 : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:2446 length : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:2447 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:2444 --* Opcode for xcb_ungrab_server. --* -- * @brief xcb_ungrab_server_request_t -- * type xcb_ungrab_server_request_t is record major_opcode : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:2457 pad0 : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:2458 length : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:2459 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:2456 --* -- * @brief xcb_query_pointer_cookie_t -- * type xcb_query_pointer_cookie_t is record sequence : aliased unsigned; -- /usr/include/xcb/xproto.h:2466 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:2465 --* Opcode for xcb_query_pointer. --* -- * @brief xcb_query_pointer_request_t -- * type xcb_query_pointer_request_t is record major_opcode : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:2476 pad0 : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:2477 length : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:2478 window : aliased xcb_window_t; -- /usr/include/xcb/xproto.h:2479 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:2475 --* -- * @brief xcb_query_pointer_reply_t -- * type xcb_query_pointer_reply_t_array1823 is array (0 .. 1) of aliased bits_stdint_uintn_h.uint8_t; type xcb_query_pointer_reply_t is record response_type : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:2486 same_screen : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:2487 sequence : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:2488 length : aliased bits_stdint_uintn_h.uint32_t; -- /usr/include/xcb/xproto.h:2489 root : aliased xcb_window_t; -- /usr/include/xcb/xproto.h:2490 child : aliased xcb_window_t; -- /usr/include/xcb/xproto.h:2491 root_x : aliased bits_stdint_intn_h.int16_t; -- /usr/include/xcb/xproto.h:2492 root_y : aliased bits_stdint_intn_h.int16_t; -- /usr/include/xcb/xproto.h:2493 win_x : aliased bits_stdint_intn_h.int16_t; -- /usr/include/xcb/xproto.h:2494 win_y : aliased bits_stdint_intn_h.int16_t; -- /usr/include/xcb/xproto.h:2495 mask : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:2496 pad0 : aliased xcb_query_pointer_reply_t_array1823; -- /usr/include/xcb/xproto.h:2497 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:2485 --* -- * @brief xcb_timecoord_t -- * type xcb_timecoord_t is record time : aliased xcb_timestamp_t; -- /usr/include/xcb/xproto.h:2504 x : aliased bits_stdint_intn_h.int16_t; -- /usr/include/xcb/xproto.h:2505 y : aliased bits_stdint_intn_h.int16_t; -- /usr/include/xcb/xproto.h:2506 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:2503 --* -- * @brief xcb_timecoord_iterator_t -- * type xcb_timecoord_iterator_t is record data : access xcb_timecoord_t; -- /usr/include/xcb/xproto.h:2513 c_rem : aliased int; -- /usr/include/xcb/xproto.h:2514 index : aliased int; -- /usr/include/xcb/xproto.h:2515 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:2512 --* -- * @brief xcb_get_motion_events_cookie_t -- * type xcb_get_motion_events_cookie_t is record sequence : aliased unsigned; -- /usr/include/xcb/xproto.h:2522 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:2521 --* Opcode for xcb_get_motion_events. --* -- * @brief xcb_get_motion_events_request_t -- * type xcb_get_motion_events_request_t is record major_opcode : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:2532 pad0 : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:2533 length : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:2534 window : aliased xcb_window_t; -- /usr/include/xcb/xproto.h:2535 start : aliased xcb_timestamp_t; -- /usr/include/xcb/xproto.h:2536 stop : aliased xcb_timestamp_t; -- /usr/include/xcb/xproto.h:2537 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:2531 --* -- * @brief xcb_get_motion_events_reply_t -- * type xcb_get_motion_events_reply_t_array1992 is array (0 .. 19) of aliased bits_stdint_uintn_h.uint8_t; type xcb_get_motion_events_reply_t is record response_type : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:2544 pad0 : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:2545 sequence : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:2546 length : aliased bits_stdint_uintn_h.uint32_t; -- /usr/include/xcb/xproto.h:2547 events_len : aliased bits_stdint_uintn_h.uint32_t; -- /usr/include/xcb/xproto.h:2548 pad1 : aliased xcb_get_motion_events_reply_t_array1992; -- /usr/include/xcb/xproto.h:2549 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:2543 --* -- * @brief xcb_translate_coordinates_cookie_t -- * type xcb_translate_coordinates_cookie_t is record sequence : aliased unsigned; -- /usr/include/xcb/xproto.h:2556 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:2555 --* Opcode for xcb_translate_coordinates. --* -- * @brief xcb_translate_coordinates_request_t -- * type xcb_translate_coordinates_request_t is record major_opcode : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:2566 pad0 : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:2567 length : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:2568 src_window : aliased xcb_window_t; -- /usr/include/xcb/xproto.h:2569 dst_window : aliased xcb_window_t; -- /usr/include/xcb/xproto.h:2570 src_x : aliased bits_stdint_intn_h.int16_t; -- /usr/include/xcb/xproto.h:2571 src_y : aliased bits_stdint_intn_h.int16_t; -- /usr/include/xcb/xproto.h:2572 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:2565 --* -- * @brief xcb_translate_coordinates_reply_t -- * type xcb_translate_coordinates_reply_t is record response_type : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:2579 same_screen : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:2580 sequence : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:2581 length : aliased bits_stdint_uintn_h.uint32_t; -- /usr/include/xcb/xproto.h:2582 child : aliased xcb_window_t; -- /usr/include/xcb/xproto.h:2583 dst_x : aliased bits_stdint_intn_h.int16_t; -- /usr/include/xcb/xproto.h:2584 dst_y : aliased bits_stdint_intn_h.int16_t; -- /usr/include/xcb/xproto.h:2585 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:2578 --* Opcode for xcb_warp_pointer. --* -- * @brief xcb_warp_pointer_request_t -- * type xcb_warp_pointer_request_t is record major_opcode : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:2595 pad0 : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:2596 length : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:2597 src_window : aliased xcb_window_t; -- /usr/include/xcb/xproto.h:2598 dst_window : aliased xcb_window_t; -- /usr/include/xcb/xproto.h:2599 src_x : aliased bits_stdint_intn_h.int16_t; -- /usr/include/xcb/xproto.h:2600 src_y : aliased bits_stdint_intn_h.int16_t; -- /usr/include/xcb/xproto.h:2601 src_width : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:2602 src_height : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:2603 dst_x : aliased bits_stdint_intn_h.int16_t; -- /usr/include/xcb/xproto.h:2604 dst_y : aliased bits_stdint_intn_h.int16_t; -- /usr/include/xcb/xproto.h:2605 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:2594 type xcb_input_focus_t is (XCB_INPUT_FOCUS_NONE, XCB_INPUT_FOCUS_POINTER_ROOT, XCB_INPUT_FOCUS_PARENT, XCB_INPUT_FOCUS_FOLLOW_KEYBOARD) with Convention => C; -- /usr/include/xcb/xproto.h:2608 --*< The focus reverts to `XCB_NONE`, so no window will have the input focus. --*< The focus reverts to `XCB_POINTER_ROOT` respectively. When the focus reverts, --FocusIn and FocusOut events are generated, but the last-focus-change time is --not changed. --*< The focus reverts to the parent (or closest viewable ancestor) and the new --revert_to value is `XCB_INPUT_FOCUS_NONE`. --*< NOT YET DOCUMENTED. Only relevant for the xinput extension. --* Opcode for xcb_set_input_focus. --* -- * @brief xcb_set_input_focus_request_t -- * type xcb_set_input_focus_request_t is record major_opcode : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:2633 revert_to : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:2634 length : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:2635 focus : aliased xcb_window_t; -- /usr/include/xcb/xproto.h:2636 time : aliased xcb_timestamp_t; -- /usr/include/xcb/xproto.h:2637 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:2632 --* -- * @brief xcb_get_input_focus_cookie_t -- * type xcb_get_input_focus_cookie_t is record sequence : aliased unsigned; -- /usr/include/xcb/xproto.h:2644 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:2643 --* Opcode for xcb_get_input_focus. --* -- * @brief xcb_get_input_focus_request_t -- * type xcb_get_input_focus_request_t is record major_opcode : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:2654 pad0 : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:2655 length : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:2656 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:2653 --* -- * @brief xcb_get_input_focus_reply_t -- * type xcb_get_input_focus_reply_t is record response_type : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:2663 revert_to : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:2664 sequence : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:2665 length : aliased bits_stdint_uintn_h.uint32_t; -- /usr/include/xcb/xproto.h:2666 focus : aliased xcb_window_t; -- /usr/include/xcb/xproto.h:2667 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:2662 --* -- * @brief xcb_query_keymap_cookie_t -- * type xcb_query_keymap_cookie_t is record sequence : aliased unsigned; -- /usr/include/xcb/xproto.h:2674 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:2673 --* Opcode for xcb_query_keymap. --* -- * @brief xcb_query_keymap_request_t -- * type xcb_query_keymap_request_t is record major_opcode : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:2684 pad0 : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:2685 length : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:2686 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:2683 --* -- * @brief xcb_query_keymap_reply_t -- * type xcb_query_keymap_reply_t_array2340 is array (0 .. 31) of aliased bits_stdint_uintn_h.uint8_t; type xcb_query_keymap_reply_t is record response_type : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:2693 pad0 : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:2694 sequence : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:2695 length : aliased bits_stdint_uintn_h.uint32_t; -- /usr/include/xcb/xproto.h:2696 keys : aliased xcb_query_keymap_reply_t_array2340; -- /usr/include/xcb/xproto.h:2697 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:2692 --* Opcode for xcb_open_font. --* -- * @brief xcb_open_font_request_t -- * type xcb_open_font_request_t_array1823 is array (0 .. 1) of aliased bits_stdint_uintn_h.uint8_t; type xcb_open_font_request_t is record major_opcode : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:2707 pad0 : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:2708 length : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:2709 fid : aliased xcb_font_t; -- /usr/include/xcb/xproto.h:2710 name_len : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:2711 pad1 : aliased xcb_open_font_request_t_array1823; -- /usr/include/xcb/xproto.h:2712 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:2706 --* Opcode for xcb_close_font. --* -- * @brief xcb_close_font_request_t -- * type xcb_close_font_request_t is record major_opcode : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:2722 pad0 : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:2723 length : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:2724 font : aliased xcb_font_t; -- /usr/include/xcb/xproto.h:2725 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:2721 type xcb_font_draw_t is (XCB_FONT_DRAW_LEFT_TO_RIGHT, XCB_FONT_DRAW_RIGHT_TO_LEFT) with Convention => C; -- /usr/include/xcb/xproto.h:2728 --* -- * @brief xcb_fontprop_t -- * type xcb_fontprop_t is record name : aliased xcb_atom_t; -- /usr/include/xcb/xproto.h:2737 value : aliased bits_stdint_uintn_h.uint32_t; -- /usr/include/xcb/xproto.h:2738 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:2736 --* -- * @brief xcb_fontprop_iterator_t -- * type xcb_fontprop_iterator_t is record data : access xcb_fontprop_t; -- /usr/include/xcb/xproto.h:2745 c_rem : aliased int; -- /usr/include/xcb/xproto.h:2746 index : aliased int; -- /usr/include/xcb/xproto.h:2747 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:2744 --* -- * @brief xcb_charinfo_t -- * type xcb_charinfo_t is record left_side_bearing : aliased bits_stdint_intn_h.int16_t; -- /usr/include/xcb/xproto.h:2754 right_side_bearing : aliased bits_stdint_intn_h.int16_t; -- /usr/include/xcb/xproto.h:2755 character_width : aliased bits_stdint_intn_h.int16_t; -- /usr/include/xcb/xproto.h:2756 ascent : aliased bits_stdint_intn_h.int16_t; -- /usr/include/xcb/xproto.h:2757 descent : aliased bits_stdint_intn_h.int16_t; -- /usr/include/xcb/xproto.h:2758 attributes : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:2759 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:2753 --* -- * @brief xcb_charinfo_iterator_t -- * type xcb_charinfo_iterator_t is record data : access xcb_charinfo_t; -- /usr/include/xcb/xproto.h:2766 c_rem : aliased int; -- /usr/include/xcb/xproto.h:2767 index : aliased int; -- /usr/include/xcb/xproto.h:2768 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:2765 --* -- * @brief xcb_query_font_cookie_t -- * type xcb_query_font_cookie_t is record sequence : aliased unsigned; -- /usr/include/xcb/xproto.h:2775 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:2774 --* Opcode for xcb_query_font. --* -- * @brief xcb_query_font_request_t -- * type xcb_query_font_request_t is record major_opcode : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:2785 pad0 : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:2786 length : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:2787 font : aliased xcb_fontable_t; -- /usr/include/xcb/xproto.h:2788 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:2784 --* -- * @brief xcb_query_font_reply_t -- * type xcb_query_font_reply_t_array1791 is array (0 .. 3) of aliased bits_stdint_uintn_h.uint8_t; type xcb_query_font_reply_t is record response_type : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:2795 pad0 : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:2796 sequence : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:2797 length : aliased bits_stdint_uintn_h.uint32_t; -- /usr/include/xcb/xproto.h:2798 min_bounds : aliased xcb_charinfo_t; -- /usr/include/xcb/xproto.h:2799 pad1 : aliased xcb_query_font_reply_t_array1791; -- /usr/include/xcb/xproto.h:2800 max_bounds : aliased xcb_charinfo_t; -- /usr/include/xcb/xproto.h:2801 pad2 : aliased xcb_query_font_reply_t_array1791; -- /usr/include/xcb/xproto.h:2802 min_char_or_byte2 : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:2803 max_char_or_byte2 : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:2804 default_char : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:2805 properties_len : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:2806 draw_direction : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:2807 min_byte1 : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:2808 max_byte1 : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:2809 all_chars_exist : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:2810 font_ascent : aliased bits_stdint_intn_h.int16_t; -- /usr/include/xcb/xproto.h:2811 font_descent : aliased bits_stdint_intn_h.int16_t; -- /usr/include/xcb/xproto.h:2812 char_infos_len : aliased bits_stdint_uintn_h.uint32_t; -- /usr/include/xcb/xproto.h:2813 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:2794 --* -- * @brief xcb_query_text_extents_cookie_t -- * type xcb_query_text_extents_cookie_t is record sequence : aliased unsigned; -- /usr/include/xcb/xproto.h:2820 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:2819 --* Opcode for xcb_query_text_extents. --* -- * @brief xcb_query_text_extents_request_t -- * type xcb_query_text_extents_request_t is record major_opcode : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:2830 odd_length : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:2831 length : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:2832 font : aliased xcb_fontable_t; -- /usr/include/xcb/xproto.h:2833 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:2829 --* -- * @brief xcb_query_text_extents_reply_t -- * type xcb_query_text_extents_reply_t is record response_type : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:2840 draw_direction : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:2841 sequence : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:2842 length : aliased bits_stdint_uintn_h.uint32_t; -- /usr/include/xcb/xproto.h:2843 font_ascent : aliased bits_stdint_intn_h.int16_t; -- /usr/include/xcb/xproto.h:2844 font_descent : aliased bits_stdint_intn_h.int16_t; -- /usr/include/xcb/xproto.h:2845 overall_ascent : aliased bits_stdint_intn_h.int16_t; -- /usr/include/xcb/xproto.h:2846 overall_descent : aliased bits_stdint_intn_h.int16_t; -- /usr/include/xcb/xproto.h:2847 overall_width : aliased bits_stdint_intn_h.int32_t; -- /usr/include/xcb/xproto.h:2848 overall_left : aliased bits_stdint_intn_h.int32_t; -- /usr/include/xcb/xproto.h:2849 overall_right : aliased bits_stdint_intn_h.int32_t; -- /usr/include/xcb/xproto.h:2850 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:2839 --* -- * @brief xcb_str_t -- * type xcb_str_t is record name_len : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:2857 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:2856 --* -- * @brief xcb_str_iterator_t -- * type xcb_str_iterator_t is record data : access xcb_str_t; -- /usr/include/xcb/xproto.h:2864 c_rem : aliased int; -- /usr/include/xcb/xproto.h:2865 index : aliased int; -- /usr/include/xcb/xproto.h:2866 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:2863 --* -- * @brief xcb_list_fonts_cookie_t -- * type xcb_list_fonts_cookie_t is record sequence : aliased unsigned; -- /usr/include/xcb/xproto.h:2873 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:2872 --* Opcode for xcb_list_fonts. --* -- * @brief xcb_list_fonts_request_t -- * type xcb_list_fonts_request_t is record major_opcode : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:2883 pad0 : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:2884 length : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:2885 max_names : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:2886 pattern_len : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:2887 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:2882 --* -- * @brief xcb_list_fonts_reply_t -- * type xcb_list_fonts_reply_t_array2015 is array (0 .. 21) of aliased bits_stdint_uintn_h.uint8_t; type xcb_list_fonts_reply_t is record response_type : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:2894 pad0 : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:2895 sequence : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:2896 length : aliased bits_stdint_uintn_h.uint32_t; -- /usr/include/xcb/xproto.h:2897 names_len : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:2898 pad1 : aliased xcb_list_fonts_reply_t_array2015; -- /usr/include/xcb/xproto.h:2899 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:2893 --* -- * @brief xcb_list_fonts_with_info_cookie_t -- * type xcb_list_fonts_with_info_cookie_t is record sequence : aliased unsigned; -- /usr/include/xcb/xproto.h:2906 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:2905 --* Opcode for xcb_list_fonts_with_info. --* -- * @brief xcb_list_fonts_with_info_request_t -- * type xcb_list_fonts_with_info_request_t is record major_opcode : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:2916 pad0 : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:2917 length : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:2918 max_names : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:2919 pattern_len : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:2920 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:2915 --* -- * @brief xcb_list_fonts_with_info_reply_t -- * type xcb_list_fonts_with_info_reply_t_array1791 is array (0 .. 3) of aliased bits_stdint_uintn_h.uint8_t; type xcb_list_fonts_with_info_reply_t is record response_type : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:2927 name_len : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:2928 sequence : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:2929 length : aliased bits_stdint_uintn_h.uint32_t; -- /usr/include/xcb/xproto.h:2930 min_bounds : aliased xcb_charinfo_t; -- /usr/include/xcb/xproto.h:2931 pad0 : aliased xcb_list_fonts_with_info_reply_t_array1791; -- /usr/include/xcb/xproto.h:2932 max_bounds : aliased xcb_charinfo_t; -- /usr/include/xcb/xproto.h:2933 pad1 : aliased xcb_list_fonts_with_info_reply_t_array1791; -- /usr/include/xcb/xproto.h:2934 min_char_or_byte2 : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:2935 max_char_or_byte2 : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:2936 default_char : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:2937 properties_len : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:2938 draw_direction : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:2939 min_byte1 : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:2940 max_byte1 : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:2941 all_chars_exist : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:2942 font_ascent : aliased bits_stdint_intn_h.int16_t; -- /usr/include/xcb/xproto.h:2943 font_descent : aliased bits_stdint_intn_h.int16_t; -- /usr/include/xcb/xproto.h:2944 replies_hint : aliased bits_stdint_uintn_h.uint32_t; -- /usr/include/xcb/xproto.h:2945 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:2926 --* Opcode for xcb_set_font_path. --* -- * @brief xcb_set_font_path_request_t -- * type xcb_set_font_path_request_t_array1823 is array (0 .. 1) of aliased bits_stdint_uintn_h.uint8_t; type xcb_set_font_path_request_t is record major_opcode : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:2955 pad0 : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:2956 length : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:2957 font_qty : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:2958 pad1 : aliased xcb_set_font_path_request_t_array1823; -- /usr/include/xcb/xproto.h:2959 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:2954 --* -- * @brief xcb_get_font_path_cookie_t -- * type xcb_get_font_path_cookie_t is record sequence : aliased unsigned; -- /usr/include/xcb/xproto.h:2966 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:2965 --* Opcode for xcb_get_font_path. --* -- * @brief xcb_get_font_path_request_t -- * type xcb_get_font_path_request_t is record major_opcode : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:2976 pad0 : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:2977 length : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:2978 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:2975 --* -- * @brief xcb_get_font_path_reply_t -- * type xcb_get_font_path_reply_t_array2015 is array (0 .. 21) of aliased bits_stdint_uintn_h.uint8_t; type xcb_get_font_path_reply_t is record response_type : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:2985 pad0 : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:2986 sequence : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:2987 length : aliased bits_stdint_uintn_h.uint32_t; -- /usr/include/xcb/xproto.h:2988 path_len : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:2989 pad1 : aliased xcb_get_font_path_reply_t_array2015; -- /usr/include/xcb/xproto.h:2990 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:2984 --* Opcode for xcb_create_pixmap. --* -- * @brief xcb_create_pixmap_request_t -- * type xcb_create_pixmap_request_t is record major_opcode : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:3000 depth : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:3001 length : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:3002 pid : aliased xcb_pixmap_t; -- /usr/include/xcb/xproto.h:3003 drawable : aliased xcb_drawable_t; -- /usr/include/xcb/xproto.h:3004 width : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:3005 height : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:3006 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:2999 --* Opcode for xcb_free_pixmap. --* -- * @brief xcb_free_pixmap_request_t -- * type xcb_free_pixmap_request_t is record major_opcode : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:3016 pad0 : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:3017 length : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:3018 pixmap : aliased xcb_pixmap_t; -- /usr/include/xcb/xproto.h:3019 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:3015 subtype xcb_gc_t is unsigned; XCB_GC_FUNCTION : constant unsigned := 1; XCB_GC_PLANE_MASK : constant unsigned := 2; XCB_GC_FOREGROUND : constant unsigned := 4; XCB_GC_BACKGROUND : constant unsigned := 8; XCB_GC_LINE_WIDTH : constant unsigned := 16; XCB_GC_LINE_STYLE : constant unsigned := 32; XCB_GC_CAP_STYLE : constant unsigned := 64; XCB_GC_JOIN_STYLE : constant unsigned := 128; XCB_GC_FILL_STYLE : constant unsigned := 256; XCB_GC_FILL_RULE : constant unsigned := 512; XCB_GC_TILE : constant unsigned := 1024; XCB_GC_STIPPLE : constant unsigned := 2048; XCB_GC_TILE_STIPPLE_ORIGIN_X : constant unsigned := 4096; XCB_GC_TILE_STIPPLE_ORIGIN_Y : constant unsigned := 8192; XCB_GC_FONT : constant unsigned := 16384; XCB_GC_SUBWINDOW_MODE : constant unsigned := 32768; XCB_GC_GRAPHICS_EXPOSURES : constant unsigned := 65536; XCB_GC_CLIP_ORIGIN_X : constant unsigned := 131072; XCB_GC_CLIP_ORIGIN_Y : constant unsigned := 262144; XCB_GC_CLIP_MASK : constant unsigned := 524288; XCB_GC_DASH_OFFSET : constant unsigned := 1048576; XCB_GC_DASH_LIST : constant unsigned := 2097152; XCB_GC_ARC_MODE : constant unsigned := 4194304; -- /usr/include/xcb/xproto.h:3022 --*< TODO: Refer to GX --*< In graphics operations, given a source and destination pixel, the result is --computed bitwise on corresponding bits of the pixels; that is, a Boolean --operation is performed in each bit plane. The plane-mask restricts the --operation to a subset of planes, so the result is: -- ((src FUNC dst) AND plane-mask) OR (dst AND (NOT plane-mask)) --*< Foreground colorpixel. --*< Background colorpixel. --*< The line-width is measured in pixels and can be greater than or equal to one, a wide line, or the --special value zero, a thin line. --*< The line-style defines which sections of a line are drawn: --Solid The full path of the line is drawn. --DoubleDash The full path of the line is drawn, but the even dashes are filled differently -- than the odd dashes (see fill-style), with Butt cap-style used where even and -- odd dashes meet. --OnOffDash Only the even dashes are drawn, and cap-style applies to all internal ends of -- the individual dashes (except NotLast is treated as Butt). --*< The cap-style defines how the endpoints of a path are drawn: --NotLast The result is equivalent to Butt, except that for a line-width of zero the final -- endpoint is not drawn. --Butt The result is square at the endpoint (perpendicular to the slope of the line) -- with no projection beyond. --Round The result is a circular arc with its diameter equal to the line-width, centered -- on the endpoint; it is equivalent to Butt for line-width zero. --Projecting The result is square at the end, but the path continues beyond the endpoint for -- a distance equal to half the line-width; it is equivalent to Butt for line-width -- zero. --*< The join-style defines how corners are drawn for wide lines: --Miter The outer edges of the two lines extend to meet at an angle. However, if the -- angle is less than 11 degrees, a Bevel join-style is used instead. --Round The result is a circular arc with a diameter equal to the line-width, centered -- on the joinpoint. --Bevel The result is Butt endpoint styles, and then the triangular notch is filled. --*< The fill-style defines the contents of the source for line, text, and fill requests. For all text and fill --requests (for example, PolyText8, PolyText16, PolyFillRectangle, FillPoly, and PolyFillArc) --as well as for line requests with line-style Solid, (for example, PolyLine, PolySegment, --PolyRectangle, PolyArc) and for the even dashes for line requests with line-style OnOffDash --or DoubleDash: --Solid Foreground --Tiled Tile --OpaqueStippled A tile with the same width and height as stipple but with background -- everywhere stipple has a zero and with foreground everywhere stipple -- has a one --Stippled Foreground masked by stipple --For the odd dashes for line requests with line-style DoubleDash: --Solid Background --Tiled Same as for even dashes --OpaqueStippled Same as for even dashes --Stippled Background masked by stipple --*< --*< The tile/stipple represents an infinite two-dimensional plane with the tile/stipple replicated in all --dimensions. When that plane is superimposed on the drawable for use in a graphics operation, --the upper-left corner of some instance of the tile/stipple is at the coordinates within the drawable --specified by the tile/stipple origin. The tile/stipple and clip origins are interpreted relative to the --origin of whatever destination drawable is specified in a graphics request. --The tile pixmap must have the same root and depth as the gcontext (or a Match error results). --The stipple pixmap must have depth one and must have the same root as the gcontext (or a --Match error results). For fill-style Stippled (but not fill-style --OpaqueStippled), the stipple pattern is tiled in a single plane and acts as an --additional clip mask to be ANDed with the clip-mask. --Any size pixmap can be used for tiling or stippling, although some sizes may be faster to use than --others. --*< The tile/stipple represents an infinite two-dimensional plane with the tile/stipple replicated in all --dimensions. When that plane is superimposed on the drawable for use in a graphics operation, --the upper-left corner of some instance of the tile/stipple is at the coordinates within the drawable --specified by the tile/stipple origin. The tile/stipple and clip origins are interpreted relative to the --origin of whatever destination drawable is specified in a graphics request. --The tile pixmap must have the same root and depth as the gcontext (or a Match error results). --The stipple pixmap must have depth one and must have the same root as the gcontext (or a --Match error results). For fill-style Stippled (but not fill-style --OpaqueStippled), the stipple pattern is tiled in a single plane and acts as an --additional clip mask to be ANDed with the clip-mask. --Any size pixmap can be used for tiling or stippling, although some sizes may be faster to use than --others. --*< TODO --*< TODO --*< Which font to use for the `ImageText8` and `ImageText16` requests. --*< For ClipByChildren, both source and destination windows are additionally --clipped by all viewable InputOutput children. For IncludeInferiors, neither --source nor destination window is --clipped by inferiors. This will result in including subwindow contents in the source and drawing --through subwindow boundaries of the destination. The use of IncludeInferiors with a source or --destination window of one depth with mapped inferiors of differing depth is not illegal, but the --semantics is undefined by the core protocol. --*< Whether ExposureEvents should be generated (1) or not (0). --The default is 1. --*< TODO --*< TODO --*< The clip-mask restricts writes to the destination drawable. Only pixels where the clip-mask has --bits set to 1 are drawn. Pixels are not drawn outside the area covered by the clip-mask or where --the clip-mask has bits set to 0. The clip-mask affects all graphics requests, but it does not clip --sources. The clip-mask origin is interpreted relative to the origin of whatever destination drawable is specified in a graphics request. If a pixmap is specified as the clip-mask, it must have --depth 1 and have the same root as the gcontext (or a Match error results). If clip-mask is None, --then pixels are always drawn, regardless of the clip origin. The clip-mask can also be set with the --SetClipRectangles request. --*< TODO --*< TODO --*< TODO type xcb_gx_t is (XCB_GX_CLEAR, XCB_GX_AND, XCB_GX_AND_REVERSE, XCB_GX_COPY, XCB_GX_AND_INVERTED, XCB_GX_NOOP, XCB_GX_XOR, XCB_GX_OR, XCB_GX_NOR, XCB_GX_EQUIV, XCB_GX_INVERT, XCB_GX_OR_REVERSE, XCB_GX_COPY_INVERTED, XCB_GX_OR_INVERTED, XCB_GX_NAND, XCB_GX_SET) with Convention => C; -- /usr/include/xcb/xproto.h:3171 type xcb_line_style_t is (XCB_LINE_STYLE_SOLID, XCB_LINE_STYLE_ON_OFF_DASH, XCB_LINE_STYLE_DOUBLE_DASH) with Convention => C; -- /usr/include/xcb/xproto.h:3190 type xcb_cap_style_t is (XCB_CAP_STYLE_NOT_LAST, XCB_CAP_STYLE_BUTT, XCB_CAP_STYLE_ROUND, XCB_CAP_STYLE_PROJECTING) with Convention => C; -- /usr/include/xcb/xproto.h:3196 type xcb_join_style_t is (XCB_JOIN_STYLE_MITER, XCB_JOIN_STYLE_ROUND, XCB_JOIN_STYLE_BEVEL) with Convention => C; -- /usr/include/xcb/xproto.h:3203 type xcb_fill_style_t is (XCB_FILL_STYLE_SOLID, XCB_FILL_STYLE_TILED, XCB_FILL_STYLE_STIPPLED, XCB_FILL_STYLE_OPAQUE_STIPPLED) with Convention => C; -- /usr/include/xcb/xproto.h:3209 type xcb_fill_rule_t is (XCB_FILL_RULE_EVEN_ODD, XCB_FILL_RULE_WINDING) with Convention => C; -- /usr/include/xcb/xproto.h:3216 type xcb_subwindow_mode_t is (XCB_SUBWINDOW_MODE_CLIP_BY_CHILDREN, XCB_SUBWINDOW_MODE_INCLUDE_INFERIORS) with Convention => C; -- /usr/include/xcb/xproto.h:3221 type xcb_arc_mode_t is (XCB_ARC_MODE_CHORD, XCB_ARC_MODE_PIE_SLICE) with Convention => C; -- /usr/include/xcb/xproto.h:3226 --* -- * @brief xcb_create_gc_value_list_t -- * type xcb_create_gc_value_list_t is record c_function : aliased bits_stdint_uintn_h.uint32_t; -- /usr/include/xcb/xproto.h:3235 plane_mask : aliased bits_stdint_uintn_h.uint32_t; -- /usr/include/xcb/xproto.h:3236 foreground : aliased bits_stdint_uintn_h.uint32_t; -- /usr/include/xcb/xproto.h:3237 background : aliased bits_stdint_uintn_h.uint32_t; -- /usr/include/xcb/xproto.h:3238 line_width : aliased bits_stdint_uintn_h.uint32_t; -- /usr/include/xcb/xproto.h:3239 line_style : aliased bits_stdint_uintn_h.uint32_t; -- /usr/include/xcb/xproto.h:3240 cap_style : aliased bits_stdint_uintn_h.uint32_t; -- /usr/include/xcb/xproto.h:3241 join_style : aliased bits_stdint_uintn_h.uint32_t; -- /usr/include/xcb/xproto.h:3242 fill_style : aliased bits_stdint_uintn_h.uint32_t; -- /usr/include/xcb/xproto.h:3243 fill_rule : aliased bits_stdint_uintn_h.uint32_t; -- /usr/include/xcb/xproto.h:3244 tile : aliased xcb_pixmap_t; -- /usr/include/xcb/xproto.h:3245 stipple : aliased xcb_pixmap_t; -- /usr/include/xcb/xproto.h:3246 tile_stipple_x_origin : aliased bits_stdint_intn_h.int32_t; -- /usr/include/xcb/xproto.h:3247 tile_stipple_y_origin : aliased bits_stdint_intn_h.int32_t; -- /usr/include/xcb/xproto.h:3248 font : aliased xcb_font_t; -- /usr/include/xcb/xproto.h:3249 subwindow_mode : aliased bits_stdint_uintn_h.uint32_t; -- /usr/include/xcb/xproto.h:3250 graphics_exposures : aliased xcb_bool32_t; -- /usr/include/xcb/xproto.h:3251 clip_x_origin : aliased bits_stdint_intn_h.int32_t; -- /usr/include/xcb/xproto.h:3252 clip_y_origin : aliased bits_stdint_intn_h.int32_t; -- /usr/include/xcb/xproto.h:3253 clip_mask : aliased xcb_pixmap_t; -- /usr/include/xcb/xproto.h:3254 dash_offset : aliased bits_stdint_uintn_h.uint32_t; -- /usr/include/xcb/xproto.h:3255 dashes : aliased bits_stdint_uintn_h.uint32_t; -- /usr/include/xcb/xproto.h:3256 arc_mode : aliased bits_stdint_uintn_h.uint32_t; -- /usr/include/xcb/xproto.h:3257 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:3234 --* Opcode for xcb_create_gc. --* -- * @brief xcb_create_gc_request_t -- * type xcb_create_gc_request_t is record major_opcode : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:3267 pad0 : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:3268 length : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:3269 cid : aliased xcb_gcontext_t; -- /usr/include/xcb/xproto.h:3270 drawable : aliased xcb_drawable_t; -- /usr/include/xcb/xproto.h:3271 value_mask : aliased bits_stdint_uintn_h.uint32_t; -- /usr/include/xcb/xproto.h:3272 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:3266 --* -- * @brief xcb_change_gc_value_list_t -- * type xcb_change_gc_value_list_t is record c_function : aliased bits_stdint_uintn_h.uint32_t; -- /usr/include/xcb/xproto.h:3279 plane_mask : aliased bits_stdint_uintn_h.uint32_t; -- /usr/include/xcb/xproto.h:3280 foreground : aliased bits_stdint_uintn_h.uint32_t; -- /usr/include/xcb/xproto.h:3281 background : aliased bits_stdint_uintn_h.uint32_t; -- /usr/include/xcb/xproto.h:3282 line_width : aliased bits_stdint_uintn_h.uint32_t; -- /usr/include/xcb/xproto.h:3283 line_style : aliased bits_stdint_uintn_h.uint32_t; -- /usr/include/xcb/xproto.h:3284 cap_style : aliased bits_stdint_uintn_h.uint32_t; -- /usr/include/xcb/xproto.h:3285 join_style : aliased bits_stdint_uintn_h.uint32_t; -- /usr/include/xcb/xproto.h:3286 fill_style : aliased bits_stdint_uintn_h.uint32_t; -- /usr/include/xcb/xproto.h:3287 fill_rule : aliased bits_stdint_uintn_h.uint32_t; -- /usr/include/xcb/xproto.h:3288 tile : aliased xcb_pixmap_t; -- /usr/include/xcb/xproto.h:3289 stipple : aliased xcb_pixmap_t; -- /usr/include/xcb/xproto.h:3290 tile_stipple_x_origin : aliased bits_stdint_intn_h.int32_t; -- /usr/include/xcb/xproto.h:3291 tile_stipple_y_origin : aliased bits_stdint_intn_h.int32_t; -- /usr/include/xcb/xproto.h:3292 font : aliased xcb_font_t; -- /usr/include/xcb/xproto.h:3293 subwindow_mode : aliased bits_stdint_uintn_h.uint32_t; -- /usr/include/xcb/xproto.h:3294 graphics_exposures : aliased xcb_bool32_t; -- /usr/include/xcb/xproto.h:3295 clip_x_origin : aliased bits_stdint_intn_h.int32_t; -- /usr/include/xcb/xproto.h:3296 clip_y_origin : aliased bits_stdint_intn_h.int32_t; -- /usr/include/xcb/xproto.h:3297 clip_mask : aliased xcb_pixmap_t; -- /usr/include/xcb/xproto.h:3298 dash_offset : aliased bits_stdint_uintn_h.uint32_t; -- /usr/include/xcb/xproto.h:3299 dashes : aliased bits_stdint_uintn_h.uint32_t; -- /usr/include/xcb/xproto.h:3300 arc_mode : aliased bits_stdint_uintn_h.uint32_t; -- /usr/include/xcb/xproto.h:3301 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:3278 --* Opcode for xcb_change_gc. --* -- * @brief xcb_change_gc_request_t -- * type xcb_change_gc_request_t is record major_opcode : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:3311 pad0 : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:3312 length : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:3313 gc : aliased xcb_gcontext_t; -- /usr/include/xcb/xproto.h:3314 value_mask : aliased bits_stdint_uintn_h.uint32_t; -- /usr/include/xcb/xproto.h:3315 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:3310 --* Opcode for xcb_copy_gc. --* -- * @brief xcb_copy_gc_request_t -- * type xcb_copy_gc_request_t is record major_opcode : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:3325 pad0 : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:3326 length : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:3327 src_gc : aliased xcb_gcontext_t; -- /usr/include/xcb/xproto.h:3328 dst_gc : aliased xcb_gcontext_t; -- /usr/include/xcb/xproto.h:3329 value_mask : aliased bits_stdint_uintn_h.uint32_t; -- /usr/include/xcb/xproto.h:3330 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:3324 --* Opcode for xcb_set_dashes. --* -- * @brief xcb_set_dashes_request_t -- * type xcb_set_dashes_request_t is record major_opcode : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:3340 pad0 : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:3341 length : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:3342 gc : aliased xcb_gcontext_t; -- /usr/include/xcb/xproto.h:3343 dash_offset : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:3344 dashes_len : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:3345 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:3339 type xcb_clip_ordering_t is (XCB_CLIP_ORDERING_UNSORTED, XCB_CLIP_ORDERING_Y_SORTED, XCB_CLIP_ORDERING_YX_SORTED, XCB_CLIP_ORDERING_YX_BANDED) with Convention => C; -- /usr/include/xcb/xproto.h:3348 --* Opcode for xcb_set_clip_rectangles. --* -- * @brief xcb_set_clip_rectangles_request_t -- * type xcb_set_clip_rectangles_request_t is record major_opcode : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:3362 ordering : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:3363 length : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:3364 gc : aliased xcb_gcontext_t; -- /usr/include/xcb/xproto.h:3365 clip_x_origin : aliased bits_stdint_intn_h.int16_t; -- /usr/include/xcb/xproto.h:3366 clip_y_origin : aliased bits_stdint_intn_h.int16_t; -- /usr/include/xcb/xproto.h:3367 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:3361 --* Opcode for xcb_free_gc. --* -- * @brief xcb_free_gc_request_t -- * type xcb_free_gc_request_t is record major_opcode : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:3377 pad0 : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:3378 length : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:3379 gc : aliased xcb_gcontext_t; -- /usr/include/xcb/xproto.h:3380 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:3376 --* Opcode for xcb_clear_area. --* -- * @brief xcb_clear_area_request_t -- * type xcb_clear_area_request_t is record major_opcode : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:3390 exposures : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:3391 length : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:3392 window : aliased xcb_window_t; -- /usr/include/xcb/xproto.h:3393 x : aliased bits_stdint_intn_h.int16_t; -- /usr/include/xcb/xproto.h:3394 y : aliased bits_stdint_intn_h.int16_t; -- /usr/include/xcb/xproto.h:3395 width : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:3396 height : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:3397 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:3389 --* Opcode for xcb_copy_area. --* -- * @brief xcb_copy_area_request_t -- * type xcb_copy_area_request_t is record major_opcode : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:3407 pad0 : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:3408 length : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:3409 src_drawable : aliased xcb_drawable_t; -- /usr/include/xcb/xproto.h:3410 dst_drawable : aliased xcb_drawable_t; -- /usr/include/xcb/xproto.h:3411 gc : aliased xcb_gcontext_t; -- /usr/include/xcb/xproto.h:3412 src_x : aliased bits_stdint_intn_h.int16_t; -- /usr/include/xcb/xproto.h:3413 src_y : aliased bits_stdint_intn_h.int16_t; -- /usr/include/xcb/xproto.h:3414 dst_x : aliased bits_stdint_intn_h.int16_t; -- /usr/include/xcb/xproto.h:3415 dst_y : aliased bits_stdint_intn_h.int16_t; -- /usr/include/xcb/xproto.h:3416 width : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:3417 height : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:3418 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:3406 --* Opcode for xcb_copy_plane. --* -- * @brief xcb_copy_plane_request_t -- * type xcb_copy_plane_request_t is record major_opcode : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:3428 pad0 : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:3429 length : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:3430 src_drawable : aliased xcb_drawable_t; -- /usr/include/xcb/xproto.h:3431 dst_drawable : aliased xcb_drawable_t; -- /usr/include/xcb/xproto.h:3432 gc : aliased xcb_gcontext_t; -- /usr/include/xcb/xproto.h:3433 src_x : aliased bits_stdint_intn_h.int16_t; -- /usr/include/xcb/xproto.h:3434 src_y : aliased bits_stdint_intn_h.int16_t; -- /usr/include/xcb/xproto.h:3435 dst_x : aliased bits_stdint_intn_h.int16_t; -- /usr/include/xcb/xproto.h:3436 dst_y : aliased bits_stdint_intn_h.int16_t; -- /usr/include/xcb/xproto.h:3437 width : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:3438 height : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:3439 bit_plane : aliased bits_stdint_uintn_h.uint32_t; -- /usr/include/xcb/xproto.h:3440 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:3427 type xcb_coord_mode_t is (XCB_COORD_MODE_ORIGIN, XCB_COORD_MODE_PREVIOUS) with Convention => C; -- /usr/include/xcb/xproto.h:3443 --*< Treats all coordinates as relative to the origin. --*< Treats all coordinates after the first as relative to the previous coordinate. --* Opcode for xcb_poly_point. --* -- * @brief xcb_poly_point_request_t -- * type xcb_poly_point_request_t is record major_opcode : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:3459 coordinate_mode : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:3460 length : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:3461 drawable : aliased xcb_drawable_t; -- /usr/include/xcb/xproto.h:3462 gc : aliased xcb_gcontext_t; -- /usr/include/xcb/xproto.h:3463 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:3458 --* Opcode for xcb_poly_line. --* -- * @brief xcb_poly_line_request_t -- * type xcb_poly_line_request_t is record major_opcode : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:3473 coordinate_mode : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:3474 length : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:3475 drawable : aliased xcb_drawable_t; -- /usr/include/xcb/xproto.h:3476 gc : aliased xcb_gcontext_t; -- /usr/include/xcb/xproto.h:3477 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:3472 --* -- * @brief xcb_segment_t -- * type xcb_segment_t is record x1 : aliased bits_stdint_intn_h.int16_t; -- /usr/include/xcb/xproto.h:3484 y1 : aliased bits_stdint_intn_h.int16_t; -- /usr/include/xcb/xproto.h:3485 x2 : aliased bits_stdint_intn_h.int16_t; -- /usr/include/xcb/xproto.h:3486 y2 : aliased bits_stdint_intn_h.int16_t; -- /usr/include/xcb/xproto.h:3487 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:3483 --* -- * @brief xcb_segment_iterator_t -- * type xcb_segment_iterator_t is record data : access xcb_segment_t; -- /usr/include/xcb/xproto.h:3494 c_rem : aliased int; -- /usr/include/xcb/xproto.h:3495 index : aliased int; -- /usr/include/xcb/xproto.h:3496 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:3493 --* Opcode for xcb_poly_segment. --* -- * @brief xcb_poly_segment_request_t -- * type xcb_poly_segment_request_t is record major_opcode : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:3506 pad0 : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:3507 length : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:3508 drawable : aliased xcb_drawable_t; -- /usr/include/xcb/xproto.h:3509 gc : aliased xcb_gcontext_t; -- /usr/include/xcb/xproto.h:3510 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:3505 --* Opcode for xcb_poly_rectangle. --* -- * @brief xcb_poly_rectangle_request_t -- * type xcb_poly_rectangle_request_t is record major_opcode : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:3520 pad0 : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:3521 length : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:3522 drawable : aliased xcb_drawable_t; -- /usr/include/xcb/xproto.h:3523 gc : aliased xcb_gcontext_t; -- /usr/include/xcb/xproto.h:3524 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:3519 --* Opcode for xcb_poly_arc. --* -- * @brief xcb_poly_arc_request_t -- * type xcb_poly_arc_request_t is record major_opcode : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:3534 pad0 : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:3535 length : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:3536 drawable : aliased xcb_drawable_t; -- /usr/include/xcb/xproto.h:3537 gc : aliased xcb_gcontext_t; -- /usr/include/xcb/xproto.h:3538 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:3533 type xcb_poly_shape_t is (XCB_POLY_SHAPE_COMPLEX, XCB_POLY_SHAPE_NONCONVEX, XCB_POLY_SHAPE_CONVEX) with Convention => C; -- /usr/include/xcb/xproto.h:3541 --* Opcode for xcb_fill_poly. --* -- * @brief xcb_fill_poly_request_t -- * type xcb_fill_poly_request_t_array1823 is array (0 .. 1) of aliased bits_stdint_uintn_h.uint8_t; type xcb_fill_poly_request_t is record major_opcode : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:3554 pad0 : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:3555 length : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:3556 drawable : aliased xcb_drawable_t; -- /usr/include/xcb/xproto.h:3557 gc : aliased xcb_gcontext_t; -- /usr/include/xcb/xproto.h:3558 shape : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:3559 coordinate_mode : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:3560 pad1 : aliased xcb_fill_poly_request_t_array1823; -- /usr/include/xcb/xproto.h:3561 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:3553 --* Opcode for xcb_poly_fill_rectangle. --* -- * @brief xcb_poly_fill_rectangle_request_t -- * type xcb_poly_fill_rectangle_request_t is record major_opcode : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:3571 pad0 : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:3572 length : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:3573 drawable : aliased xcb_drawable_t; -- /usr/include/xcb/xproto.h:3574 gc : aliased xcb_gcontext_t; -- /usr/include/xcb/xproto.h:3575 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:3570 --* Opcode for xcb_poly_fill_arc. --* -- * @brief xcb_poly_fill_arc_request_t -- * type xcb_poly_fill_arc_request_t is record major_opcode : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:3585 pad0 : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:3586 length : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:3587 drawable : aliased xcb_drawable_t; -- /usr/include/xcb/xproto.h:3588 gc : aliased xcb_gcontext_t; -- /usr/include/xcb/xproto.h:3589 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:3584 type xcb_image_format_t is (XCB_IMAGE_FORMAT_XY_BITMAP, XCB_IMAGE_FORMAT_XY_PIXMAP, XCB_IMAGE_FORMAT_Z_PIXMAP) with Convention => C; -- /usr/include/xcb/xproto.h:3592 --* Opcode for xcb_put_image. --* -- * @brief xcb_put_image_request_t -- * type xcb_put_image_request_t_array1823 is array (0 .. 1) of aliased bits_stdint_uintn_h.uint8_t; type xcb_put_image_request_t is record major_opcode : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:3605 format : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:3606 length : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:3607 drawable : aliased xcb_drawable_t; -- /usr/include/xcb/xproto.h:3608 gc : aliased xcb_gcontext_t; -- /usr/include/xcb/xproto.h:3609 width : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:3610 height : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:3611 dst_x : aliased bits_stdint_intn_h.int16_t; -- /usr/include/xcb/xproto.h:3612 dst_y : aliased bits_stdint_intn_h.int16_t; -- /usr/include/xcb/xproto.h:3613 left_pad : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:3614 depth : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:3615 pad0 : aliased xcb_put_image_request_t_array1823; -- /usr/include/xcb/xproto.h:3616 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:3604 --* -- * @brief xcb_get_image_cookie_t -- * type xcb_get_image_cookie_t is record sequence : aliased unsigned; -- /usr/include/xcb/xproto.h:3623 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:3622 --* Opcode for xcb_get_image. --* -- * @brief xcb_get_image_request_t -- * type xcb_get_image_request_t is record major_opcode : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:3633 format : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:3634 length : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:3635 drawable : aliased xcb_drawable_t; -- /usr/include/xcb/xproto.h:3636 x : aliased bits_stdint_intn_h.int16_t; -- /usr/include/xcb/xproto.h:3637 y : aliased bits_stdint_intn_h.int16_t; -- /usr/include/xcb/xproto.h:3638 width : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:3639 height : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:3640 plane_mask : aliased bits_stdint_uintn_h.uint32_t; -- /usr/include/xcb/xproto.h:3641 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:3632 --* -- * @brief xcb_get_image_reply_t -- * type xcb_get_image_reply_t_array1992 is array (0 .. 19) of aliased bits_stdint_uintn_h.uint8_t; type xcb_get_image_reply_t is record response_type : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:3648 depth : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:3649 sequence : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:3650 length : aliased bits_stdint_uintn_h.uint32_t; -- /usr/include/xcb/xproto.h:3651 visual : aliased xcb_visualid_t; -- /usr/include/xcb/xproto.h:3652 pad0 : aliased xcb_get_image_reply_t_array1992; -- /usr/include/xcb/xproto.h:3653 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:3647 --* Opcode for xcb_poly_text_8. --* -- * @brief xcb_poly_text_8_request_t -- * type xcb_poly_text_8_request_t is record major_opcode : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:3663 pad0 : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:3664 length : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:3665 drawable : aliased xcb_drawable_t; -- /usr/include/xcb/xproto.h:3666 gc : aliased xcb_gcontext_t; -- /usr/include/xcb/xproto.h:3667 x : aliased bits_stdint_intn_h.int16_t; -- /usr/include/xcb/xproto.h:3668 y : aliased bits_stdint_intn_h.int16_t; -- /usr/include/xcb/xproto.h:3669 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:3662 --* Opcode for xcb_poly_text_16. --* -- * @brief xcb_poly_text_16_request_t -- * type xcb_poly_text_16_request_t is record major_opcode : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:3679 pad0 : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:3680 length : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:3681 drawable : aliased xcb_drawable_t; -- /usr/include/xcb/xproto.h:3682 gc : aliased xcb_gcontext_t; -- /usr/include/xcb/xproto.h:3683 x : aliased bits_stdint_intn_h.int16_t; -- /usr/include/xcb/xproto.h:3684 y : aliased bits_stdint_intn_h.int16_t; -- /usr/include/xcb/xproto.h:3685 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:3678 --* Opcode for xcb_image_text_8. --* -- * @brief xcb_image_text_8_request_t -- * type xcb_image_text_8_request_t is record major_opcode : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:3695 string_len : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:3696 length : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:3697 drawable : aliased xcb_drawable_t; -- /usr/include/xcb/xproto.h:3698 gc : aliased xcb_gcontext_t; -- /usr/include/xcb/xproto.h:3699 x : aliased bits_stdint_intn_h.int16_t; -- /usr/include/xcb/xproto.h:3700 y : aliased bits_stdint_intn_h.int16_t; -- /usr/include/xcb/xproto.h:3701 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:3694 --* Opcode for xcb_image_text_16. --* -- * @brief xcb_image_text_16_request_t -- * type xcb_image_text_16_request_t is record major_opcode : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:3711 string_len : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:3712 length : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:3713 drawable : aliased xcb_drawable_t; -- /usr/include/xcb/xproto.h:3714 gc : aliased xcb_gcontext_t; -- /usr/include/xcb/xproto.h:3715 x : aliased bits_stdint_intn_h.int16_t; -- /usr/include/xcb/xproto.h:3716 y : aliased bits_stdint_intn_h.int16_t; -- /usr/include/xcb/xproto.h:3717 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:3710 type xcb_colormap_alloc_t is (XCB_COLORMAP_ALLOC_NONE, XCB_COLORMAP_ALLOC_ALL) with Convention => C; -- /usr/include/xcb/xproto.h:3720 --* Opcode for xcb_create_colormap. --* -- * @brief xcb_create_colormap_request_t -- * type xcb_create_colormap_request_t is record major_opcode : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:3732 alloc : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:3733 length : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:3734 mid : aliased xcb_colormap_t; -- /usr/include/xcb/xproto.h:3735 window : aliased xcb_window_t; -- /usr/include/xcb/xproto.h:3736 visual : aliased xcb_visualid_t; -- /usr/include/xcb/xproto.h:3737 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:3731 --* Opcode for xcb_free_colormap. --* -- * @brief xcb_free_colormap_request_t -- * type xcb_free_colormap_request_t is record major_opcode : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:3747 pad0 : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:3748 length : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:3749 cmap : aliased xcb_colormap_t; -- /usr/include/xcb/xproto.h:3750 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:3746 --* Opcode for xcb_copy_colormap_and_free. --* -- * @brief xcb_copy_colormap_and_free_request_t -- * type xcb_copy_colormap_and_free_request_t is record major_opcode : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:3760 pad0 : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:3761 length : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:3762 mid : aliased xcb_colormap_t; -- /usr/include/xcb/xproto.h:3763 src_cmap : aliased xcb_colormap_t; -- /usr/include/xcb/xproto.h:3764 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:3759 --* Opcode for xcb_install_colormap. --* -- * @brief xcb_install_colormap_request_t -- * type xcb_install_colormap_request_t is record major_opcode : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:3774 pad0 : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:3775 length : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:3776 cmap : aliased xcb_colormap_t; -- /usr/include/xcb/xproto.h:3777 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:3773 --* Opcode for xcb_uninstall_colormap. --* -- * @brief xcb_uninstall_colormap_request_t -- * type xcb_uninstall_colormap_request_t is record major_opcode : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:3787 pad0 : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:3788 length : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:3789 cmap : aliased xcb_colormap_t; -- /usr/include/xcb/xproto.h:3790 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:3786 --* -- * @brief xcb_list_installed_colormaps_cookie_t -- * type xcb_list_installed_colormaps_cookie_t is record sequence : aliased unsigned; -- /usr/include/xcb/xproto.h:3797 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:3796 --* Opcode for xcb_list_installed_colormaps. --* -- * @brief xcb_list_installed_colormaps_request_t -- * type xcb_list_installed_colormaps_request_t is record major_opcode : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:3807 pad0 : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:3808 length : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:3809 window : aliased xcb_window_t; -- /usr/include/xcb/xproto.h:3810 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:3806 --* -- * @brief xcb_list_installed_colormaps_reply_t -- * type xcb_list_installed_colormaps_reply_t_array2015 is array (0 .. 21) of aliased bits_stdint_uintn_h.uint8_t; type xcb_list_installed_colormaps_reply_t is record response_type : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:3817 pad0 : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:3818 sequence : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:3819 length : aliased bits_stdint_uintn_h.uint32_t; -- /usr/include/xcb/xproto.h:3820 cmaps_len : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:3821 pad1 : aliased xcb_list_installed_colormaps_reply_t_array2015; -- /usr/include/xcb/xproto.h:3822 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:3816 --* -- * @brief xcb_alloc_color_cookie_t -- * type xcb_alloc_color_cookie_t is record sequence : aliased unsigned; -- /usr/include/xcb/xproto.h:3829 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:3828 --* Opcode for xcb_alloc_color. --* -- * @brief xcb_alloc_color_request_t -- * type xcb_alloc_color_request_t_array1823 is array (0 .. 1) of aliased bits_stdint_uintn_h.uint8_t; type xcb_alloc_color_request_t is record major_opcode : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:3839 pad0 : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:3840 length : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:3841 cmap : aliased xcb_colormap_t; -- /usr/include/xcb/xproto.h:3842 red : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:3843 green : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:3844 blue : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:3845 pad1 : aliased xcb_alloc_color_request_t_array1823; -- /usr/include/xcb/xproto.h:3846 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:3838 --* -- * @brief xcb_alloc_color_reply_t -- * type xcb_alloc_color_reply_t_array1823 is array (0 .. 1) of aliased bits_stdint_uintn_h.uint8_t; type xcb_alloc_color_reply_t is record response_type : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:3853 pad0 : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:3854 sequence : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:3855 length : aliased bits_stdint_uintn_h.uint32_t; -- /usr/include/xcb/xproto.h:3856 red : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:3857 green : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:3858 blue : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:3859 pad1 : aliased xcb_alloc_color_reply_t_array1823; -- /usr/include/xcb/xproto.h:3860 pixel : aliased bits_stdint_uintn_h.uint32_t; -- /usr/include/xcb/xproto.h:3861 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:3852 --* -- * @brief xcb_alloc_named_color_cookie_t -- * type xcb_alloc_named_color_cookie_t is record sequence : aliased unsigned; -- /usr/include/xcb/xproto.h:3868 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:3867 --* Opcode for xcb_alloc_named_color. --* -- * @brief xcb_alloc_named_color_request_t -- * type xcb_alloc_named_color_request_t_array1823 is array (0 .. 1) of aliased bits_stdint_uintn_h.uint8_t; type xcb_alloc_named_color_request_t is record major_opcode : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:3878 pad0 : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:3879 length : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:3880 cmap : aliased xcb_colormap_t; -- /usr/include/xcb/xproto.h:3881 name_len : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:3882 pad1 : aliased xcb_alloc_named_color_request_t_array1823; -- /usr/include/xcb/xproto.h:3883 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:3877 --* -- * @brief xcb_alloc_named_color_reply_t -- * type xcb_alloc_named_color_reply_t is record response_type : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:3890 pad0 : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:3891 sequence : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:3892 length : aliased bits_stdint_uintn_h.uint32_t; -- /usr/include/xcb/xproto.h:3893 pixel : aliased bits_stdint_uintn_h.uint32_t; -- /usr/include/xcb/xproto.h:3894 exact_red : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:3895 exact_green : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:3896 exact_blue : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:3897 visual_red : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:3898 visual_green : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:3899 visual_blue : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:3900 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:3889 --* -- * @brief xcb_alloc_color_cells_cookie_t -- * type xcb_alloc_color_cells_cookie_t is record sequence : aliased unsigned; -- /usr/include/xcb/xproto.h:3907 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:3906 --* Opcode for xcb_alloc_color_cells. --* -- * @brief xcb_alloc_color_cells_request_t -- * type xcb_alloc_color_cells_request_t is record major_opcode : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:3917 contiguous : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:3918 length : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:3919 cmap : aliased xcb_colormap_t; -- /usr/include/xcb/xproto.h:3920 colors : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:3921 planes : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:3922 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:3916 --* -- * @brief xcb_alloc_color_cells_reply_t -- * type xcb_alloc_color_cells_reply_t_array1992 is array (0 .. 19) of aliased bits_stdint_uintn_h.uint8_t; type xcb_alloc_color_cells_reply_t is record response_type : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:3929 pad0 : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:3930 sequence : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:3931 length : aliased bits_stdint_uintn_h.uint32_t; -- /usr/include/xcb/xproto.h:3932 pixels_len : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:3933 masks_len : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:3934 pad1 : aliased xcb_alloc_color_cells_reply_t_array1992; -- /usr/include/xcb/xproto.h:3935 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:3928 --* -- * @brief xcb_alloc_color_planes_cookie_t -- * type xcb_alloc_color_planes_cookie_t is record sequence : aliased unsigned; -- /usr/include/xcb/xproto.h:3942 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:3941 --* Opcode for xcb_alloc_color_planes. --* -- * @brief xcb_alloc_color_planes_request_t -- * type xcb_alloc_color_planes_request_t is record major_opcode : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:3952 contiguous : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:3953 length : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:3954 cmap : aliased xcb_colormap_t; -- /usr/include/xcb/xproto.h:3955 colors : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:3956 reds : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:3957 greens : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:3958 blues : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:3959 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:3951 --* -- * @brief xcb_alloc_color_planes_reply_t -- * type xcb_alloc_color_planes_reply_t_array1823 is array (0 .. 1) of aliased bits_stdint_uintn_h.uint8_t; type xcb_alloc_color_planes_reply_t_array2620 is array (0 .. 7) of aliased bits_stdint_uintn_h.uint8_t; type xcb_alloc_color_planes_reply_t is record response_type : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:3966 pad0 : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:3967 sequence : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:3968 length : aliased bits_stdint_uintn_h.uint32_t; -- /usr/include/xcb/xproto.h:3969 pixels_len : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:3970 pad1 : aliased xcb_alloc_color_planes_reply_t_array1823; -- /usr/include/xcb/xproto.h:3971 red_mask : aliased bits_stdint_uintn_h.uint32_t; -- /usr/include/xcb/xproto.h:3972 green_mask : aliased bits_stdint_uintn_h.uint32_t; -- /usr/include/xcb/xproto.h:3973 blue_mask : aliased bits_stdint_uintn_h.uint32_t; -- /usr/include/xcb/xproto.h:3974 pad2 : aliased xcb_alloc_color_planes_reply_t_array2620; -- /usr/include/xcb/xproto.h:3975 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:3965 --* Opcode for xcb_free_colors. --* -- * @brief xcb_free_colors_request_t -- * type xcb_free_colors_request_t is record major_opcode : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:3985 pad0 : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:3986 length : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:3987 cmap : aliased xcb_colormap_t; -- /usr/include/xcb/xproto.h:3988 plane_mask : aliased bits_stdint_uintn_h.uint32_t; -- /usr/include/xcb/xproto.h:3989 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:3984 subtype xcb_color_flag_t is unsigned; XCB_COLOR_FLAG_RED : constant unsigned := 1; XCB_COLOR_FLAG_GREEN : constant unsigned := 2; XCB_COLOR_FLAG_BLUE : constant unsigned := 4; -- /usr/include/xcb/xproto.h:3992 --* -- * @brief xcb_coloritem_t -- * type xcb_coloritem_t is record pixel : aliased bits_stdint_uintn_h.uint32_t; -- /usr/include/xcb/xproto.h:4002 red : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:4003 green : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:4004 blue : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:4005 flags : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:4006 pad0 : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:4007 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:4001 --* -- * @brief xcb_coloritem_iterator_t -- * type xcb_coloritem_iterator_t is record data : access xcb_coloritem_t; -- /usr/include/xcb/xproto.h:4014 c_rem : aliased int; -- /usr/include/xcb/xproto.h:4015 index : aliased int; -- /usr/include/xcb/xproto.h:4016 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:4013 --* Opcode for xcb_store_colors. --* -- * @brief xcb_store_colors_request_t -- * type xcb_store_colors_request_t is record major_opcode : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:4026 pad0 : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:4027 length : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:4028 cmap : aliased xcb_colormap_t; -- /usr/include/xcb/xproto.h:4029 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:4025 --* Opcode for xcb_store_named_color. --* -- * @brief xcb_store_named_color_request_t -- * type xcb_store_named_color_request_t_array1823 is array (0 .. 1) of aliased bits_stdint_uintn_h.uint8_t; type xcb_store_named_color_request_t is record major_opcode : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:4039 flags : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:4040 length : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:4041 cmap : aliased xcb_colormap_t; -- /usr/include/xcb/xproto.h:4042 pixel : aliased bits_stdint_uintn_h.uint32_t; -- /usr/include/xcb/xproto.h:4043 name_len : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:4044 pad0 : aliased xcb_store_named_color_request_t_array1823; -- /usr/include/xcb/xproto.h:4045 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:4038 --* -- * @brief xcb_rgb_t -- * type xcb_rgb_t_array1823 is array (0 .. 1) of aliased bits_stdint_uintn_h.uint8_t; type xcb_rgb_t is record red : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:4052 green : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:4053 blue : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:4054 pad0 : aliased xcb_rgb_t_array1823; -- /usr/include/xcb/xproto.h:4055 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:4051 --* -- * @brief xcb_rgb_iterator_t -- * type xcb_rgb_iterator_t is record data : access xcb_rgb_t; -- /usr/include/xcb/xproto.h:4062 c_rem : aliased int; -- /usr/include/xcb/xproto.h:4063 index : aliased int; -- /usr/include/xcb/xproto.h:4064 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:4061 --* -- * @brief xcb_query_colors_cookie_t -- * type xcb_query_colors_cookie_t is record sequence : aliased unsigned; -- /usr/include/xcb/xproto.h:4071 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:4070 --* Opcode for xcb_query_colors. --* -- * @brief xcb_query_colors_request_t -- * type xcb_query_colors_request_t is record major_opcode : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:4081 pad0 : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:4082 length : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:4083 cmap : aliased xcb_colormap_t; -- /usr/include/xcb/xproto.h:4084 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:4080 --* -- * @brief xcb_query_colors_reply_t -- * type xcb_query_colors_reply_t_array2015 is array (0 .. 21) of aliased bits_stdint_uintn_h.uint8_t; type xcb_query_colors_reply_t is record response_type : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:4091 pad0 : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:4092 sequence : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:4093 length : aliased bits_stdint_uintn_h.uint32_t; -- /usr/include/xcb/xproto.h:4094 colors_len : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:4095 pad1 : aliased xcb_query_colors_reply_t_array2015; -- /usr/include/xcb/xproto.h:4096 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:4090 --* -- * @brief xcb_lookup_color_cookie_t -- * type xcb_lookup_color_cookie_t is record sequence : aliased unsigned; -- /usr/include/xcb/xproto.h:4103 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:4102 --* Opcode for xcb_lookup_color. --* -- * @brief xcb_lookup_color_request_t -- * type xcb_lookup_color_request_t_array1823 is array (0 .. 1) of aliased bits_stdint_uintn_h.uint8_t; type xcb_lookup_color_request_t is record major_opcode : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:4113 pad0 : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:4114 length : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:4115 cmap : aliased xcb_colormap_t; -- /usr/include/xcb/xproto.h:4116 name_len : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:4117 pad1 : aliased xcb_lookup_color_request_t_array1823; -- /usr/include/xcb/xproto.h:4118 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:4112 --* -- * @brief xcb_lookup_color_reply_t -- * type xcb_lookup_color_reply_t is record response_type : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:4125 pad0 : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:4126 sequence : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:4127 length : aliased bits_stdint_uintn_h.uint32_t; -- /usr/include/xcb/xproto.h:4128 exact_red : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:4129 exact_green : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:4130 exact_blue : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:4131 visual_red : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:4132 visual_green : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:4133 visual_blue : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:4134 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:4124 type xcb_pixmap_enum_t is (XCB_PIXMAP_NONE) with Convention => C; -- /usr/include/xcb/xproto.h:4137 --* Opcode for xcb_create_cursor. --* -- * @brief xcb_create_cursor_request_t -- * type xcb_create_cursor_request_t is record major_opcode : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:4148 pad0 : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:4149 length : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:4150 cid : aliased xcb_cursor_t; -- /usr/include/xcb/xproto.h:4151 source : aliased xcb_pixmap_t; -- /usr/include/xcb/xproto.h:4152 mask : aliased xcb_pixmap_t; -- /usr/include/xcb/xproto.h:4153 fore_red : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:4154 fore_green : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:4155 fore_blue : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:4156 back_red : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:4157 back_green : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:4158 back_blue : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:4159 x : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:4160 y : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:4161 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:4147 type xcb_font_enum_t is (XCB_FONT_NONE) with Convention => C; -- /usr/include/xcb/xproto.h:4164 --* Opcode for xcb_create_glyph_cursor. --* -- * @brief xcb_create_glyph_cursor_request_t -- * type xcb_create_glyph_cursor_request_t is record major_opcode : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:4175 pad0 : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:4176 length : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:4177 cid : aliased xcb_cursor_t; -- /usr/include/xcb/xproto.h:4178 source_font : aliased xcb_font_t; -- /usr/include/xcb/xproto.h:4179 mask_font : aliased xcb_font_t; -- /usr/include/xcb/xproto.h:4180 source_char : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:4181 mask_char : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:4182 fore_red : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:4183 fore_green : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:4184 fore_blue : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:4185 back_red : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:4186 back_green : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:4187 back_blue : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:4188 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:4174 --* Opcode for xcb_free_cursor. --* -- * @brief xcb_free_cursor_request_t -- * type xcb_free_cursor_request_t is record major_opcode : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:4198 pad0 : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:4199 length : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:4200 cursor : aliased xcb_cursor_t; -- /usr/include/xcb/xproto.h:4201 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:4197 --* Opcode for xcb_recolor_cursor. --* -- * @brief xcb_recolor_cursor_request_t -- * type xcb_recolor_cursor_request_t is record major_opcode : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:4211 pad0 : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:4212 length : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:4213 cursor : aliased xcb_cursor_t; -- /usr/include/xcb/xproto.h:4214 fore_red : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:4215 fore_green : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:4216 fore_blue : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:4217 back_red : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:4218 back_green : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:4219 back_blue : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:4220 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:4210 type xcb_query_shape_of_t is (XCB_QUERY_SHAPE_OF_LARGEST_CURSOR, XCB_QUERY_SHAPE_OF_FASTEST_TILE, XCB_QUERY_SHAPE_OF_FASTEST_STIPPLE) with Convention => C; -- /usr/include/xcb/xproto.h:4223 --* -- * @brief xcb_query_best_size_cookie_t -- * type xcb_query_best_size_cookie_t is record sequence : aliased unsigned; -- /usr/include/xcb/xproto.h:4233 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:4232 --* Opcode for xcb_query_best_size. --* -- * @brief xcb_query_best_size_request_t -- * type xcb_query_best_size_request_t is record major_opcode : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:4243 u_class : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:4244 length : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:4245 drawable : aliased xcb_drawable_t; -- /usr/include/xcb/xproto.h:4246 width : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:4247 height : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:4248 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:4242 --* -- * @brief xcb_query_best_size_reply_t -- * type xcb_query_best_size_reply_t is record response_type : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:4255 pad0 : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:4256 sequence : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:4257 length : aliased bits_stdint_uintn_h.uint32_t; -- /usr/include/xcb/xproto.h:4258 width : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:4259 height : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:4260 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:4254 --* -- * @brief xcb_query_extension_cookie_t -- * type xcb_query_extension_cookie_t is record sequence : aliased unsigned; -- /usr/include/xcb/xproto.h:4267 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:4266 --* Opcode for xcb_query_extension. --* -- * @brief xcb_query_extension_request_t -- * type xcb_query_extension_request_t_array1823 is array (0 .. 1) of aliased bits_stdint_uintn_h.uint8_t; type xcb_query_extension_request_t is record major_opcode : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:4277 pad0 : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:4278 length : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:4279 name_len : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:4280 pad1 : aliased xcb_query_extension_request_t_array1823; -- /usr/include/xcb/xproto.h:4281 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:4276 --* -- * @brief xcb_query_extension_reply_t -- * type xcb_query_extension_reply_t is record response_type : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:4288 pad0 : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:4289 sequence : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:4290 length : aliased bits_stdint_uintn_h.uint32_t; -- /usr/include/xcb/xproto.h:4291 present : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:4292 major_opcode : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:4293 first_event : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:4294 first_error : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:4295 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:4287 --* -- * @brief xcb_list_extensions_cookie_t -- * type xcb_list_extensions_cookie_t is record sequence : aliased unsigned; -- /usr/include/xcb/xproto.h:4302 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:4301 --* Opcode for xcb_list_extensions. --* -- * @brief xcb_list_extensions_request_t -- * type xcb_list_extensions_request_t is record major_opcode : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:4312 pad0 : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:4313 length : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:4314 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:4311 --* -- * @brief xcb_list_extensions_reply_t -- * type xcb_list_extensions_reply_t_array2717 is array (0 .. 23) of aliased bits_stdint_uintn_h.uint8_t; type xcb_list_extensions_reply_t is record response_type : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:4321 names_len : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:4322 sequence : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:4323 length : aliased bits_stdint_uintn_h.uint32_t; -- /usr/include/xcb/xproto.h:4324 pad0 : aliased xcb_list_extensions_reply_t_array2717; -- /usr/include/xcb/xproto.h:4325 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:4320 --* Opcode for xcb_change_keyboard_mapping. --* -- * @brief xcb_change_keyboard_mapping_request_t -- * type xcb_change_keyboard_mapping_request_t_array1823 is array (0 .. 1) of aliased bits_stdint_uintn_h.uint8_t; type xcb_change_keyboard_mapping_request_t is record major_opcode : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:4335 keycode_count : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:4336 length : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:4337 first_keycode : aliased xcb_keycode_t; -- /usr/include/xcb/xproto.h:4338 keysyms_per_keycode : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:4339 pad0 : aliased xcb_change_keyboard_mapping_request_t_array1823; -- /usr/include/xcb/xproto.h:4340 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:4334 --* -- * @brief xcb_get_keyboard_mapping_cookie_t -- * type xcb_get_keyboard_mapping_cookie_t is record sequence : aliased unsigned; -- /usr/include/xcb/xproto.h:4347 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:4346 --* Opcode for xcb_get_keyboard_mapping. --* -- * @brief xcb_get_keyboard_mapping_request_t -- * type xcb_get_keyboard_mapping_request_t is record major_opcode : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:4357 pad0 : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:4358 length : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:4359 first_keycode : aliased xcb_keycode_t; -- /usr/include/xcb/xproto.h:4360 count : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:4361 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:4356 --* -- * @brief xcb_get_keyboard_mapping_reply_t -- * type xcb_get_keyboard_mapping_reply_t_array2717 is array (0 .. 23) of aliased bits_stdint_uintn_h.uint8_t; type xcb_get_keyboard_mapping_reply_t is record response_type : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:4368 keysyms_per_keycode : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:4369 sequence : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:4370 length : aliased bits_stdint_uintn_h.uint32_t; -- /usr/include/xcb/xproto.h:4371 pad0 : aliased xcb_get_keyboard_mapping_reply_t_array2717; -- /usr/include/xcb/xproto.h:4372 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:4367 subtype xcb_kb_t is unsigned; XCB_KB_KEY_CLICK_PERCENT : constant unsigned := 1; XCB_KB_BELL_PERCENT : constant unsigned := 2; XCB_KB_BELL_PITCH : constant unsigned := 4; XCB_KB_BELL_DURATION : constant unsigned := 8; XCB_KB_LED : constant unsigned := 16; XCB_KB_LED_MODE : constant unsigned := 32; XCB_KB_KEY : constant unsigned := 64; XCB_KB_AUTO_REPEAT_MODE : constant unsigned := 128; -- /usr/include/xcb/xproto.h:4375 type xcb_led_mode_t is (XCB_LED_MODE_OFF, XCB_LED_MODE_ON) with Convention => C; -- /usr/include/xcb/xproto.h:4386 type xcb_auto_repeat_mode_t is (XCB_AUTO_REPEAT_MODE_OFF, XCB_AUTO_REPEAT_MODE_ON, XCB_AUTO_REPEAT_MODE_DEFAULT) with Convention => C; -- /usr/include/xcb/xproto.h:4391 --* -- * @brief xcb_change_keyboard_control_value_list_t -- * type xcb_change_keyboard_control_value_list_t is record key_click_percent : aliased bits_stdint_intn_h.int32_t; -- /usr/include/xcb/xproto.h:4401 bell_percent : aliased bits_stdint_intn_h.int32_t; -- /usr/include/xcb/xproto.h:4402 bell_pitch : aliased bits_stdint_intn_h.int32_t; -- /usr/include/xcb/xproto.h:4403 bell_duration : aliased bits_stdint_intn_h.int32_t; -- /usr/include/xcb/xproto.h:4404 led : aliased bits_stdint_uintn_h.uint32_t; -- /usr/include/xcb/xproto.h:4405 led_mode : aliased bits_stdint_uintn_h.uint32_t; -- /usr/include/xcb/xproto.h:4406 key : aliased xcb_keycode32_t; -- /usr/include/xcb/xproto.h:4407 auto_repeat_mode : aliased bits_stdint_uintn_h.uint32_t; -- /usr/include/xcb/xproto.h:4408 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:4400 --* Opcode for xcb_change_keyboard_control. --* -- * @brief xcb_change_keyboard_control_request_t -- * type xcb_change_keyboard_control_request_t is record major_opcode : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:4418 pad0 : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:4419 length : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:4420 value_mask : aliased bits_stdint_uintn_h.uint32_t; -- /usr/include/xcb/xproto.h:4421 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:4417 --* -- * @brief xcb_get_keyboard_control_cookie_t -- * type xcb_get_keyboard_control_cookie_t is record sequence : aliased unsigned; -- /usr/include/xcb/xproto.h:4428 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:4427 --* Opcode for xcb_get_keyboard_control. --* -- * @brief xcb_get_keyboard_control_request_t -- * type xcb_get_keyboard_control_request_t is record major_opcode : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:4438 pad0 : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:4439 length : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:4440 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:4437 --* -- * @brief xcb_get_keyboard_control_reply_t -- * type xcb_get_keyboard_control_reply_t_array1823 is array (0 .. 1) of aliased bits_stdint_uintn_h.uint8_t; type xcb_get_keyboard_control_reply_t_array2340 is array (0 .. 31) of aliased bits_stdint_uintn_h.uint8_t; type xcb_get_keyboard_control_reply_t is record response_type : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:4447 global_auto_repeat : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:4448 sequence : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:4449 length : aliased bits_stdint_uintn_h.uint32_t; -- /usr/include/xcb/xproto.h:4450 led_mask : aliased bits_stdint_uintn_h.uint32_t; -- /usr/include/xcb/xproto.h:4451 key_click_percent : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:4452 bell_percent : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:4453 bell_pitch : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:4454 bell_duration : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:4455 pad0 : aliased xcb_get_keyboard_control_reply_t_array1823; -- /usr/include/xcb/xproto.h:4456 auto_repeats : aliased xcb_get_keyboard_control_reply_t_array2340; -- /usr/include/xcb/xproto.h:4457 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:4446 --* Opcode for xcb_bell. --* -- * @brief xcb_bell_request_t -- * type xcb_bell_request_t is record major_opcode : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:4467 percent : aliased bits_stdint_intn_h.int8_t; -- /usr/include/xcb/xproto.h:4468 length : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:4469 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:4466 --* Opcode for xcb_change_pointer_control. --* -- * @brief xcb_change_pointer_control_request_t -- * type xcb_change_pointer_control_request_t is record major_opcode : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:4479 pad0 : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:4480 length : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:4481 acceleration_numerator : aliased bits_stdint_intn_h.int16_t; -- /usr/include/xcb/xproto.h:4482 acceleration_denominator : aliased bits_stdint_intn_h.int16_t; -- /usr/include/xcb/xproto.h:4483 threshold : aliased bits_stdint_intn_h.int16_t; -- /usr/include/xcb/xproto.h:4484 do_acceleration : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:4485 do_threshold : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:4486 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:4478 --* -- * @brief xcb_get_pointer_control_cookie_t -- * type xcb_get_pointer_control_cookie_t is record sequence : aliased unsigned; -- /usr/include/xcb/xproto.h:4493 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:4492 --* Opcode for xcb_get_pointer_control. --* -- * @brief xcb_get_pointer_control_request_t -- * type xcb_get_pointer_control_request_t is record major_opcode : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:4503 pad0 : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:4504 length : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:4505 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:4502 --* -- * @brief xcb_get_pointer_control_reply_t -- * type xcb_get_pointer_control_reply_t_array2771 is array (0 .. 17) of aliased bits_stdint_uintn_h.uint8_t; type xcb_get_pointer_control_reply_t is record response_type : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:4512 pad0 : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:4513 sequence : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:4514 length : aliased bits_stdint_uintn_h.uint32_t; -- /usr/include/xcb/xproto.h:4515 acceleration_numerator : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:4516 acceleration_denominator : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:4517 threshold : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:4518 pad1 : aliased xcb_get_pointer_control_reply_t_array2771; -- /usr/include/xcb/xproto.h:4519 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:4511 type xcb_blanking_t is (XCB_BLANKING_NOT_PREFERRED, XCB_BLANKING_PREFERRED, XCB_BLANKING_DEFAULT) with Convention => C; -- /usr/include/xcb/xproto.h:4522 type xcb_exposures_t is (XCB_EXPOSURES_NOT_ALLOWED, XCB_EXPOSURES_ALLOWED, XCB_EXPOSURES_DEFAULT) with Convention => C; -- /usr/include/xcb/xproto.h:4528 --* Opcode for xcb_set_screen_saver. --* -- * @brief xcb_set_screen_saver_request_t -- * type xcb_set_screen_saver_request_t is record major_opcode : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:4541 pad0 : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:4542 length : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:4543 timeout : aliased bits_stdint_intn_h.int16_t; -- /usr/include/xcb/xproto.h:4544 interval : aliased bits_stdint_intn_h.int16_t; -- /usr/include/xcb/xproto.h:4545 prefer_blanking : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:4546 allow_exposures : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:4547 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:4540 --* -- * @brief xcb_get_screen_saver_cookie_t -- * type xcb_get_screen_saver_cookie_t is record sequence : aliased unsigned; -- /usr/include/xcb/xproto.h:4554 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:4553 --* Opcode for xcb_get_screen_saver. --* -- * @brief xcb_get_screen_saver_request_t -- * type xcb_get_screen_saver_request_t is record major_opcode : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:4564 pad0 : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:4565 length : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:4566 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:4563 --* -- * @brief xcb_get_screen_saver_reply_t -- * type xcb_get_screen_saver_reply_t_array2771 is array (0 .. 17) of aliased bits_stdint_uintn_h.uint8_t; type xcb_get_screen_saver_reply_t is record response_type : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:4573 pad0 : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:4574 sequence : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:4575 length : aliased bits_stdint_uintn_h.uint32_t; -- /usr/include/xcb/xproto.h:4576 timeout : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:4577 interval : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:4578 prefer_blanking : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:4579 allow_exposures : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:4580 pad1 : aliased xcb_get_screen_saver_reply_t_array2771; -- /usr/include/xcb/xproto.h:4581 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:4572 type xcb_host_mode_t is (XCB_HOST_MODE_INSERT, XCB_HOST_MODE_DELETE) with Convention => C; -- /usr/include/xcb/xproto.h:4584 subtype xcb_family_t is unsigned; XCB_FAMILY_INTERNET : constant unsigned := 0; XCB_FAMILY_DECNET : constant unsigned := 1; XCB_FAMILY_CHAOS : constant unsigned := 2; XCB_FAMILY_SERVER_INTERPRETED : constant unsigned := 5; XCB_FAMILY_INTERNET_6 : constant unsigned := 6; -- /usr/include/xcb/xproto.h:4589 --* Opcode for xcb_change_hosts. --* -- * @brief xcb_change_hosts_request_t -- * type xcb_change_hosts_request_t is record major_opcode : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:4604 mode : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:4605 length : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:4606 family : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:4607 pad0 : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:4608 address_len : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:4609 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:4603 --* -- * @brief xcb_host_t -- * type xcb_host_t is record family : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:4616 pad0 : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:4617 address_len : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:4618 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:4615 --* -- * @brief xcb_host_iterator_t -- * type xcb_host_iterator_t is record data : access xcb_host_t; -- /usr/include/xcb/xproto.h:4625 c_rem : aliased int; -- /usr/include/xcb/xproto.h:4626 index : aliased int; -- /usr/include/xcb/xproto.h:4627 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:4624 --* -- * @brief xcb_list_hosts_cookie_t -- * type xcb_list_hosts_cookie_t is record sequence : aliased unsigned; -- /usr/include/xcb/xproto.h:4634 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:4633 --* Opcode for xcb_list_hosts. --* -- * @brief xcb_list_hosts_request_t -- * type xcb_list_hosts_request_t is record major_opcode : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:4644 pad0 : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:4645 length : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:4646 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:4643 --* -- * @brief xcb_list_hosts_reply_t -- * type xcb_list_hosts_reply_t_array2015 is array (0 .. 21) of aliased bits_stdint_uintn_h.uint8_t; type xcb_list_hosts_reply_t is record response_type : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:4653 mode : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:4654 sequence : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:4655 length : aliased bits_stdint_uintn_h.uint32_t; -- /usr/include/xcb/xproto.h:4656 hosts_len : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:4657 pad0 : aliased xcb_list_hosts_reply_t_array2015; -- /usr/include/xcb/xproto.h:4658 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:4652 type xcb_access_control_t is (XCB_ACCESS_CONTROL_DISABLE, XCB_ACCESS_CONTROL_ENABLE) with Convention => C; -- /usr/include/xcb/xproto.h:4661 --* Opcode for xcb_set_access_control. --* -- * @brief xcb_set_access_control_request_t -- * type xcb_set_access_control_request_t is record major_opcode : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:4673 mode : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:4674 length : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:4675 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:4672 type xcb_close_down_t is (XCB_CLOSE_DOWN_DESTROY_ALL, XCB_CLOSE_DOWN_RETAIN_PERMANENT, XCB_CLOSE_DOWN_RETAIN_TEMPORARY) with Convention => C; -- /usr/include/xcb/xproto.h:4678 --* Opcode for xcb_set_close_down_mode. --* -- * @brief xcb_set_close_down_mode_request_t -- * type xcb_set_close_down_mode_request_t is record major_opcode : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:4691 mode : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:4692 length : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:4693 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:4690 type xcb_kill_t is (XCB_KILL_ALL_TEMPORARY) with Convention => C; -- /usr/include/xcb/xproto.h:4696 --* Opcode for xcb_kill_client. --* -- * @brief xcb_kill_client_request_t -- * type xcb_kill_client_request_t is record major_opcode : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:4707 pad0 : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:4708 length : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:4709 resource : aliased bits_stdint_uintn_h.uint32_t; -- /usr/include/xcb/xproto.h:4710 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:4706 --* Opcode for xcb_rotate_properties. --* -- * @brief xcb_rotate_properties_request_t -- * type xcb_rotate_properties_request_t is record major_opcode : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:4720 pad0 : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:4721 length : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:4722 window : aliased xcb_window_t; -- /usr/include/xcb/xproto.h:4723 atoms_len : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:4724 c_delta : aliased bits_stdint_intn_h.int16_t; -- /usr/include/xcb/xproto.h:4725 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:4719 type xcb_screen_saver_t is (XCB_SCREEN_SAVER_RESET, XCB_SCREEN_SAVER_ACTIVE) with Convention => C; -- /usr/include/xcb/xproto.h:4728 --* Opcode for xcb_force_screen_saver. --* -- * @brief xcb_force_screen_saver_request_t -- * type xcb_force_screen_saver_request_t is record major_opcode : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:4740 mode : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:4741 length : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:4742 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:4739 type xcb_mapping_status_t is (XCB_MAPPING_STATUS_SUCCESS, XCB_MAPPING_STATUS_BUSY, XCB_MAPPING_STATUS_FAILURE) with Convention => C; -- /usr/include/xcb/xproto.h:4745 --* -- * @brief xcb_set_pointer_mapping_cookie_t -- * type xcb_set_pointer_mapping_cookie_t is record sequence : aliased unsigned; -- /usr/include/xcb/xproto.h:4755 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:4754 --* Opcode for xcb_set_pointer_mapping. --* -- * @brief xcb_set_pointer_mapping_request_t -- * type xcb_set_pointer_mapping_request_t is record major_opcode : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:4765 map_len : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:4766 length : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:4767 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:4764 --* -- * @brief xcb_set_pointer_mapping_reply_t -- * type xcb_set_pointer_mapping_reply_t is record response_type : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:4774 status : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:4775 sequence : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:4776 length : aliased bits_stdint_uintn_h.uint32_t; -- /usr/include/xcb/xproto.h:4777 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:4773 --* -- * @brief xcb_get_pointer_mapping_cookie_t -- * type xcb_get_pointer_mapping_cookie_t is record sequence : aliased unsigned; -- /usr/include/xcb/xproto.h:4784 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:4783 --* Opcode for xcb_get_pointer_mapping. --* -- * @brief xcb_get_pointer_mapping_request_t -- * type xcb_get_pointer_mapping_request_t is record major_opcode : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:4794 pad0 : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:4795 length : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:4796 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:4793 --* -- * @brief xcb_get_pointer_mapping_reply_t -- * type xcb_get_pointer_mapping_reply_t_array2717 is array (0 .. 23) of aliased bits_stdint_uintn_h.uint8_t; type xcb_get_pointer_mapping_reply_t is record response_type : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:4803 map_len : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:4804 sequence : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:4805 length : aliased bits_stdint_uintn_h.uint32_t; -- /usr/include/xcb/xproto.h:4806 pad0 : aliased xcb_get_pointer_mapping_reply_t_array2717; -- /usr/include/xcb/xproto.h:4807 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:4802 type xcb_map_index_t is (XCB_MAP_INDEX_SHIFT, XCB_MAP_INDEX_LOCK, XCB_MAP_INDEX_CONTROL, XCB_MAP_INDEX_1, XCB_MAP_INDEX_2, XCB_MAP_INDEX_3, XCB_MAP_INDEX_4, XCB_MAP_INDEX_5) with Convention => C; -- /usr/include/xcb/xproto.h:4810 --* -- * @brief xcb_set_modifier_mapping_cookie_t -- * type xcb_set_modifier_mapping_cookie_t is record sequence : aliased unsigned; -- /usr/include/xcb/xproto.h:4825 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:4824 --* Opcode for xcb_set_modifier_mapping. --* -- * @brief xcb_set_modifier_mapping_request_t -- * type xcb_set_modifier_mapping_request_t is record major_opcode : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:4835 keycodes_per_modifier : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:4836 length : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:4837 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:4834 --* -- * @brief xcb_set_modifier_mapping_reply_t -- * type xcb_set_modifier_mapping_reply_t is record response_type : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:4844 status : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:4845 sequence : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:4846 length : aliased bits_stdint_uintn_h.uint32_t; -- /usr/include/xcb/xproto.h:4847 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:4843 --* -- * @brief xcb_get_modifier_mapping_cookie_t -- * type xcb_get_modifier_mapping_cookie_t is record sequence : aliased unsigned; -- /usr/include/xcb/xproto.h:4854 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:4853 --* Opcode for xcb_get_modifier_mapping. --* -- * @brief xcb_get_modifier_mapping_request_t -- * type xcb_get_modifier_mapping_request_t is record major_opcode : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:4864 pad0 : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:4865 length : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:4866 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:4863 --* -- * @brief xcb_get_modifier_mapping_reply_t -- * type xcb_get_modifier_mapping_reply_t_array2717 is array (0 .. 23) of aliased bits_stdint_uintn_h.uint8_t; type xcb_get_modifier_mapping_reply_t is record response_type : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:4873 keycodes_per_modifier : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:4874 sequence : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:4875 length : aliased bits_stdint_uintn_h.uint32_t; -- /usr/include/xcb/xproto.h:4876 pad0 : aliased xcb_get_modifier_mapping_reply_t_array2717; -- /usr/include/xcb/xproto.h:4877 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:4872 --* Opcode for xcb_no_operation. --* -- * @brief xcb_no_operation_request_t -- * type xcb_no_operation_request_t is record major_opcode : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:4887 pad0 : aliased bits_stdint_uintn_h.uint8_t; -- /usr/include/xcb/xproto.h:4888 length : aliased bits_stdint_uintn_h.uint16_t; -- /usr/include/xcb/xproto.h:4889 end record with Convention => C_Pass_By_Copy; -- /usr/include/xcb/xproto.h:4886 --* -- * Get the next element of the iterator -- * @param i Pointer to a xcb_char2b_iterator_t -- * -- * Get the next element in the iterator. The member rem is -- * decreased by one. The member data points to the next -- * element. The member index is increased by sizeof(xcb_char2b_t) -- procedure xcb_char2b_next (i : access xcb_char2b_iterator_t) -- /usr/include/xcb/xproto.h:4901 with Import => True, Convention => C, External_Name => "xcb_char2b_next"; --* -- * Return the iterator pointing to the last element -- * @param i An xcb_char2b_iterator_t -- * @return The iterator pointing to the last element -- * -- * Set the current element in the iterator to the last element. -- * The member rem is set to 0. The member data points to the -- * last element. -- function xcb_char2b_end (i : xcb_char2b_iterator_t) return xcb.xcb_generic_iterator_t -- /usr/include/xcb/xproto.h:4913 with Import => True, Convention => C, External_Name => "xcb_char2b_end"; --* -- * Get the next element of the iterator -- * @param i Pointer to a xcb_window_iterator_t -- * -- * Get the next element in the iterator. The member rem is -- * decreased by one. The member data points to the next -- * element. The member index is increased by sizeof(xcb_window_t) -- procedure xcb_window_next (i : access xcb_window_iterator_t) -- /usr/include/xcb/xproto.h:4924 with Import => True, Convention => C, External_Name => "xcb_window_next"; --* -- * Return the iterator pointing to the last element -- * @param i An xcb_window_iterator_t -- * @return The iterator pointing to the last element -- * -- * Set the current element in the iterator to the last element. -- * The member rem is set to 0. The member data points to the -- * last element. -- function xcb_window_end (i : xcb_window_iterator_t) return xcb.xcb_generic_iterator_t -- /usr/include/xcb/xproto.h:4936 with Import => True, Convention => C, External_Name => "xcb_window_end"; --* -- * Get the next element of the iterator -- * @param i Pointer to a xcb_pixmap_iterator_t -- * -- * Get the next element in the iterator. The member rem is -- * decreased by one. The member data points to the next -- * element. The member index is increased by sizeof(xcb_pixmap_t) -- procedure xcb_pixmap_next (i : access xcb_pixmap_iterator_t) -- /usr/include/xcb/xproto.h:4947 with Import => True, Convention => C, External_Name => "xcb_pixmap_next"; --* -- * Return the iterator pointing to the last element -- * @param i An xcb_pixmap_iterator_t -- * @return The iterator pointing to the last element -- * -- * Set the current element in the iterator to the last element. -- * The member rem is set to 0. The member data points to the -- * last element. -- function xcb_pixmap_end (i : xcb_pixmap_iterator_t) return xcb.xcb_generic_iterator_t -- /usr/include/xcb/xproto.h:4959 with Import => True, Convention => C, External_Name => "xcb_pixmap_end"; --* -- * Get the next element of the iterator -- * @param i Pointer to a xcb_cursor_iterator_t -- * -- * Get the next element in the iterator. The member rem is -- * decreased by one. The member data points to the next -- * element. The member index is increased by sizeof(xcb_cursor_t) -- procedure xcb_cursor_next (i : access xcb_cursor_iterator_t) -- /usr/include/xcb/xproto.h:4970 with Import => True, Convention => C, External_Name => "xcb_cursor_next"; --* -- * Return the iterator pointing to the last element -- * @param i An xcb_cursor_iterator_t -- * @return The iterator pointing to the last element -- * -- * Set the current element in the iterator to the last element. -- * The member rem is set to 0. The member data points to the -- * last element. -- function xcb_cursor_end (i : xcb_cursor_iterator_t) return xcb.xcb_generic_iterator_t -- /usr/include/xcb/xproto.h:4982 with Import => True, Convention => C, External_Name => "xcb_cursor_end"; --* -- * Get the next element of the iterator -- * @param i Pointer to a xcb_font_iterator_t -- * -- * Get the next element in the iterator. The member rem is -- * decreased by one. The member data points to the next -- * element. The member index is increased by sizeof(xcb_font_t) -- procedure xcb_font_next (i : access xcb_font_iterator_t) -- /usr/include/xcb/xproto.h:4993 with Import => True, Convention => C, External_Name => "xcb_font_next"; --* -- * Return the iterator pointing to the last element -- * @param i An xcb_font_iterator_t -- * @return The iterator pointing to the last element -- * -- * Set the current element in the iterator to the last element. -- * The member rem is set to 0. The member data points to the -- * last element. -- function xcb_font_end (i : xcb_font_iterator_t) return xcb.xcb_generic_iterator_t -- /usr/include/xcb/xproto.h:5005 with Import => True, Convention => C, External_Name => "xcb_font_end"; --* -- * Get the next element of the iterator -- * @param i Pointer to a xcb_gcontext_iterator_t -- * -- * Get the next element in the iterator. The member rem is -- * decreased by one. The member data points to the next -- * element. The member index is increased by sizeof(xcb_gcontext_t) -- procedure xcb_gcontext_next (i : access xcb_gcontext_iterator_t) -- /usr/include/xcb/xproto.h:5016 with Import => True, Convention => C, External_Name => "xcb_gcontext_next"; --* -- * Return the iterator pointing to the last element -- * @param i An xcb_gcontext_iterator_t -- * @return The iterator pointing to the last element -- * -- * Set the current element in the iterator to the last element. -- * The member rem is set to 0. The member data points to the -- * last element. -- function xcb_gcontext_end (i : xcb_gcontext_iterator_t) return xcb.xcb_generic_iterator_t -- /usr/include/xcb/xproto.h:5028 with Import => True, Convention => C, External_Name => "xcb_gcontext_end"; --* -- * Get the next element of the iterator -- * @param i Pointer to a xcb_colormap_iterator_t -- * -- * Get the next element in the iterator. The member rem is -- * decreased by one. The member data points to the next -- * element. The member index is increased by sizeof(xcb_colormap_t) -- procedure xcb_colormap_next (i : access xcb_colormap_iterator_t) -- /usr/include/xcb/xproto.h:5039 with Import => True, Convention => C, External_Name => "xcb_colormap_next"; --* -- * Return the iterator pointing to the last element -- * @param i An xcb_colormap_iterator_t -- * @return The iterator pointing to the last element -- * -- * Set the current element in the iterator to the last element. -- * The member rem is set to 0. The member data points to the -- * last element. -- function xcb_colormap_end (i : xcb_colormap_iterator_t) return xcb.xcb_generic_iterator_t -- /usr/include/xcb/xproto.h:5051 with Import => True, Convention => C, External_Name => "xcb_colormap_end"; --* -- * Get the next element of the iterator -- * @param i Pointer to a xcb_atom_iterator_t -- * -- * Get the next element in the iterator. The member rem is -- * decreased by one. The member data points to the next -- * element. The member index is increased by sizeof(xcb_atom_t) -- procedure xcb_atom_next (i : access xcb_atom_iterator_t) -- /usr/include/xcb/xproto.h:5062 with Import => True, Convention => C, External_Name => "xcb_atom_next"; --* -- * Return the iterator pointing to the last element -- * @param i An xcb_atom_iterator_t -- * @return The iterator pointing to the last element -- * -- * Set the current element in the iterator to the last element. -- * The member rem is set to 0. The member data points to the -- * last element. -- function xcb_atom_end (i : xcb_atom_iterator_t) return xcb.xcb_generic_iterator_t -- /usr/include/xcb/xproto.h:5074 with Import => True, Convention => C, External_Name => "xcb_atom_end"; --* -- * Get the next element of the iterator -- * @param i Pointer to a xcb_drawable_iterator_t -- * -- * Get the next element in the iterator. The member rem is -- * decreased by one. The member data points to the next -- * element. The member index is increased by sizeof(xcb_drawable_t) -- procedure xcb_drawable_next (i : access xcb_drawable_iterator_t) -- /usr/include/xcb/xproto.h:5085 with Import => True, Convention => C, External_Name => "xcb_drawable_next"; --* -- * Return the iterator pointing to the last element -- * @param i An xcb_drawable_iterator_t -- * @return The iterator pointing to the last element -- * -- * Set the current element in the iterator to the last element. -- * The member rem is set to 0. The member data points to the -- * last element. -- function xcb_drawable_end (i : xcb_drawable_iterator_t) return xcb.xcb_generic_iterator_t -- /usr/include/xcb/xproto.h:5097 with Import => True, Convention => C, External_Name => "xcb_drawable_end"; --* -- * Get the next element of the iterator -- * @param i Pointer to a xcb_fontable_iterator_t -- * -- * Get the next element in the iterator. The member rem is -- * decreased by one. The member data points to the next -- * element. The member index is increased by sizeof(xcb_fontable_t) -- procedure xcb_fontable_next (i : access xcb_fontable_iterator_t) -- /usr/include/xcb/xproto.h:5108 with Import => True, Convention => C, External_Name => "xcb_fontable_next"; --* -- * Return the iterator pointing to the last element -- * @param i An xcb_fontable_iterator_t -- * @return The iterator pointing to the last element -- * -- * Set the current element in the iterator to the last element. -- * The member rem is set to 0. The member data points to the -- * last element. -- function xcb_fontable_end (i : xcb_fontable_iterator_t) return xcb.xcb_generic_iterator_t -- /usr/include/xcb/xproto.h:5120 with Import => True, Convention => C, External_Name => "xcb_fontable_end"; --* -- * Get the next element of the iterator -- * @param i Pointer to a xcb_bool32_iterator_t -- * -- * Get the next element in the iterator. The member rem is -- * decreased by one. The member data points to the next -- * element. The member index is increased by sizeof(xcb_bool32_t) -- procedure xcb_bool32_next (i : access xcb_bool32_iterator_t) -- /usr/include/xcb/xproto.h:5131 with Import => True, Convention => C, External_Name => "xcb_bool32_next"; --* -- * Return the iterator pointing to the last element -- * @param i An xcb_bool32_iterator_t -- * @return The iterator pointing to the last element -- * -- * Set the current element in the iterator to the last element. -- * The member rem is set to 0. The member data points to the -- * last element. -- function xcb_bool32_end (i : xcb_bool32_iterator_t) return xcb.xcb_generic_iterator_t -- /usr/include/xcb/xproto.h:5143 with Import => True, Convention => C, External_Name => "xcb_bool32_end"; --* -- * Get the next element of the iterator -- * @param i Pointer to a xcb_visualid_iterator_t -- * -- * Get the next element in the iterator. The member rem is -- * decreased by one. The member data points to the next -- * element. The member index is increased by sizeof(xcb_visualid_t) -- procedure xcb_visualid_next (i : access xcb_visualid_iterator_t) -- /usr/include/xcb/xproto.h:5154 with Import => True, Convention => C, External_Name => "xcb_visualid_next"; --* -- * Return the iterator pointing to the last element -- * @param i An xcb_visualid_iterator_t -- * @return The iterator pointing to the last element -- * -- * Set the current element in the iterator to the last element. -- * The member rem is set to 0. The member data points to the -- * last element. -- function xcb_visualid_end (i : xcb_visualid_iterator_t) return xcb.xcb_generic_iterator_t -- /usr/include/xcb/xproto.h:5166 with Import => True, Convention => C, External_Name => "xcb_visualid_end"; --* -- * Get the next element of the iterator -- * @param i Pointer to a xcb_timestamp_iterator_t -- * -- * Get the next element in the iterator. The member rem is -- * decreased by one. The member data points to the next -- * element. The member index is increased by sizeof(xcb_timestamp_t) -- procedure xcb_timestamp_next (i : access xcb_timestamp_iterator_t) -- /usr/include/xcb/xproto.h:5177 with Import => True, Convention => C, External_Name => "xcb_timestamp_next"; --* -- * Return the iterator pointing to the last element -- * @param i An xcb_timestamp_iterator_t -- * @return The iterator pointing to the last element -- * -- * Set the current element in the iterator to the last element. -- * The member rem is set to 0. The member data points to the -- * last element. -- function xcb_timestamp_end (i : xcb_timestamp_iterator_t) return xcb.xcb_generic_iterator_t -- /usr/include/xcb/xproto.h:5189 with Import => True, Convention => C, External_Name => "xcb_timestamp_end"; --* -- * Get the next element of the iterator -- * @param i Pointer to a xcb_keysym_iterator_t -- * -- * Get the next element in the iterator. The member rem is -- * decreased by one. The member data points to the next -- * element. The member index is increased by sizeof(xcb_keysym_t) -- procedure xcb_keysym_next (i : access xcb_keysym_iterator_t) -- /usr/include/xcb/xproto.h:5200 with Import => True, Convention => C, External_Name => "xcb_keysym_next"; --* -- * Return the iterator pointing to the last element -- * @param i An xcb_keysym_iterator_t -- * @return The iterator pointing to the last element -- * -- * Set the current element in the iterator to the last element. -- * The member rem is set to 0. The member data points to the -- * last element. -- function xcb_keysym_end (i : xcb_keysym_iterator_t) return xcb.xcb_generic_iterator_t -- /usr/include/xcb/xproto.h:5212 with Import => True, Convention => C, External_Name => "xcb_keysym_end"; --* -- * Get the next element of the iterator -- * @param i Pointer to a xcb_keycode_iterator_t -- * -- * Get the next element in the iterator. The member rem is -- * decreased by one. The member data points to the next -- * element. The member index is increased by sizeof(xcb_keycode_t) -- procedure xcb_keycode_next (i : access xcb_keycode_iterator_t) -- /usr/include/xcb/xproto.h:5223 with Import => True, Convention => C, External_Name => "xcb_keycode_next"; --* -- * Return the iterator pointing to the last element -- * @param i An xcb_keycode_iterator_t -- * @return The iterator pointing to the last element -- * -- * Set the current element in the iterator to the last element. -- * The member rem is set to 0. The member data points to the -- * last element. -- function xcb_keycode_end (i : xcb_keycode_iterator_t) return xcb.xcb_generic_iterator_t -- /usr/include/xcb/xproto.h:5235 with Import => True, Convention => C, External_Name => "xcb_keycode_end"; --* -- * Get the next element of the iterator -- * @param i Pointer to a xcb_keycode32_iterator_t -- * -- * Get the next element in the iterator. The member rem is -- * decreased by one. The member data points to the next -- * element. The member index is increased by sizeof(xcb_keycode32_t) -- procedure xcb_keycode32_next (i : access xcb_keycode32_iterator_t) -- /usr/include/xcb/xproto.h:5246 with Import => True, Convention => C, External_Name => "xcb_keycode32_next"; --* -- * Return the iterator pointing to the last element -- * @param i An xcb_keycode32_iterator_t -- * @return The iterator pointing to the last element -- * -- * Set the current element in the iterator to the last element. -- * The member rem is set to 0. The member data points to the -- * last element. -- function xcb_keycode32_end (i : xcb_keycode32_iterator_t) return xcb.xcb_generic_iterator_t -- /usr/include/xcb/xproto.h:5258 with Import => True, Convention => C, External_Name => "xcb_keycode32_end"; --* -- * Get the next element of the iterator -- * @param i Pointer to a xcb_button_iterator_t -- * -- * Get the next element in the iterator. The member rem is -- * decreased by one. The member data points to the next -- * element. The member index is increased by sizeof(xcb_button_t) -- procedure xcb_button_next (i : access xcb_button_iterator_t) -- /usr/include/xcb/xproto.h:5269 with Import => True, Convention => C, External_Name => "xcb_button_next"; --* -- * Return the iterator pointing to the last element -- * @param i An xcb_button_iterator_t -- * @return The iterator pointing to the last element -- * -- * Set the current element in the iterator to the last element. -- * The member rem is set to 0. The member data points to the -- * last element. -- function xcb_button_end (i : xcb_button_iterator_t) return xcb.xcb_generic_iterator_t -- /usr/include/xcb/xproto.h:5281 with Import => True, Convention => C, External_Name => "xcb_button_end"; --* -- * Get the next element of the iterator -- * @param i Pointer to a xcb_point_iterator_t -- * -- * Get the next element in the iterator. The member rem is -- * decreased by one. The member data points to the next -- * element. The member index is increased by sizeof(xcb_point_t) -- procedure xcb_point_next (i : access xcb_point_iterator_t) -- /usr/include/xcb/xproto.h:5292 with Import => True, Convention => C, External_Name => "xcb_point_next"; --* -- * Return the iterator pointing to the last element -- * @param i An xcb_point_iterator_t -- * @return The iterator pointing to the last element -- * -- * Set the current element in the iterator to the last element. -- * The member rem is set to 0. The member data points to the -- * last element. -- function xcb_point_end (i : xcb_point_iterator_t) return xcb.xcb_generic_iterator_t -- /usr/include/xcb/xproto.h:5304 with Import => True, Convention => C, External_Name => "xcb_point_end"; --* -- * Get the next element of the iterator -- * @param i Pointer to a xcb_rectangle_iterator_t -- * -- * Get the next element in the iterator. The member rem is -- * decreased by one. The member data points to the next -- * element. The member index is increased by sizeof(xcb_rectangle_t) -- procedure xcb_rectangle_next (i : access xcb_rectangle_iterator_t) -- /usr/include/xcb/xproto.h:5315 with Import => True, Convention => C, External_Name => "xcb_rectangle_next"; --* -- * Return the iterator pointing to the last element -- * @param i An xcb_rectangle_iterator_t -- * @return The iterator pointing to the last element -- * -- * Set the current element in the iterator to the last element. -- * The member rem is set to 0. The member data points to the -- * last element. -- function xcb_rectangle_end (i : xcb_rectangle_iterator_t) return xcb.xcb_generic_iterator_t -- /usr/include/xcb/xproto.h:5327 with Import => True, Convention => C, External_Name => "xcb_rectangle_end"; --* -- * Get the next element of the iterator -- * @param i Pointer to a xcb_arc_iterator_t -- * -- * Get the next element in the iterator. The member rem is -- * decreased by one. The member data points to the next -- * element. The member index is increased by sizeof(xcb_arc_t) -- procedure xcb_arc_next (i : access xcb_arc_iterator_t) -- /usr/include/xcb/xproto.h:5338 with Import => True, Convention => C, External_Name => "xcb_arc_next"; --* -- * Return the iterator pointing to the last element -- * @param i An xcb_arc_iterator_t -- * @return The iterator pointing to the last element -- * -- * Set the current element in the iterator to the last element. -- * The member rem is set to 0. The member data points to the -- * last element. -- function xcb_arc_end (i : xcb_arc_iterator_t) return xcb.xcb_generic_iterator_t -- /usr/include/xcb/xproto.h:5350 with Import => True, Convention => C, External_Name => "xcb_arc_end"; --* -- * Get the next element of the iterator -- * @param i Pointer to a xcb_format_iterator_t -- * -- * Get the next element in the iterator. The member rem is -- * decreased by one. The member data points to the next -- * element. The member index is increased by sizeof(xcb_format_t) -- procedure xcb_format_next (i : access xcb_format_iterator_t) -- /usr/include/xcb/xproto.h:5361 with Import => True, Convention => C, External_Name => "xcb_format_next"; --* -- * Return the iterator pointing to the last element -- * @param i An xcb_format_iterator_t -- * @return The iterator pointing to the last element -- * -- * Set the current element in the iterator to the last element. -- * The member rem is set to 0. The member data points to the -- * last element. -- function xcb_format_end (i : xcb_format_iterator_t) return xcb.xcb_generic_iterator_t -- /usr/include/xcb/xproto.h:5373 with Import => True, Convention => C, External_Name => "xcb_format_end"; --* -- * Get the next element of the iterator -- * @param i Pointer to a xcb_visualtype_iterator_t -- * -- * Get the next element in the iterator. The member rem is -- * decreased by one. The member data points to the next -- * element. The member index is increased by sizeof(xcb_visualtype_t) -- procedure xcb_visualtype_next (i : access xcb_visualtype_iterator_t) -- /usr/include/xcb/xproto.h:5384 with Import => True, Convention => C, External_Name => "xcb_visualtype_next"; --* -- * Return the iterator pointing to the last element -- * @param i An xcb_visualtype_iterator_t -- * @return The iterator pointing to the last element -- * -- * Set the current element in the iterator to the last element. -- * The member rem is set to 0. The member data points to the -- * last element. -- function xcb_visualtype_end (i : xcb_visualtype_iterator_t) return xcb.xcb_generic_iterator_t -- /usr/include/xcb/xproto.h:5396 with Import => True, Convention => C, External_Name => "xcb_visualtype_end"; function xcb_depth_sizeof (u_buffer : System.Address) return int -- /usr/include/xcb/xproto.h:5399 with Import => True, Convention => C, External_Name => "xcb_depth_sizeof"; function xcb_depth_visuals (R : access constant xcb_depth_t) return access xcb_visualtype_t -- /usr/include/xcb/xproto.h:5402 with Import => True, Convention => C, External_Name => "xcb_depth_visuals"; function xcb_depth_visuals_length (R : access constant xcb_depth_t) return int -- /usr/include/xcb/xproto.h:5405 with Import => True, Convention => C, External_Name => "xcb_depth_visuals_length"; function xcb_depth_visuals_iterator (R : access constant xcb_depth_t) return xcb_visualtype_iterator_t -- /usr/include/xcb/xproto.h:5408 with Import => True, Convention => C, External_Name => "xcb_depth_visuals_iterator"; --* -- * Get the next element of the iterator -- * @param i Pointer to a xcb_depth_iterator_t -- * -- * Get the next element in the iterator. The member rem is -- * decreased by one. The member data points to the next -- * element. The member index is increased by sizeof(xcb_depth_t) -- procedure xcb_depth_next (i : access xcb_depth_iterator_t) -- /usr/include/xcb/xproto.h:5419 with Import => True, Convention => C, External_Name => "xcb_depth_next"; --* -- * Return the iterator pointing to the last element -- * @param i An xcb_depth_iterator_t -- * @return The iterator pointing to the last element -- * -- * Set the current element in the iterator to the last element. -- * The member rem is set to 0. The member data points to the -- * last element. -- function xcb_depth_end (i : xcb_depth_iterator_t) return xcb.xcb_generic_iterator_t -- /usr/include/xcb/xproto.h:5431 with Import => True, Convention => C, External_Name => "xcb_depth_end"; function xcb_screen_sizeof (u_buffer : System.Address) return int -- /usr/include/xcb/xproto.h:5434 with Import => True, Convention => C, External_Name => "xcb_screen_sizeof"; function xcb_screen_allowed_depths_length (R : access constant xcb_screen_t) return int -- /usr/include/xcb/xproto.h:5437 with Import => True, Convention => C, External_Name => "xcb_screen_allowed_depths_length"; function xcb_screen_allowed_depths_iterator (R : access constant xcb_screen_t) return xcb_depth_iterator_t -- /usr/include/xcb/xproto.h:5440 with Import => True, Convention => C, External_Name => "xcb_screen_allowed_depths_iterator"; --* -- * Get the next element of the iterator -- * @param i Pointer to a xcb_screen_iterator_t -- * -- * Get the next element in the iterator. The member rem is -- * decreased by one. The member data points to the next -- * element. The member index is increased by sizeof(xcb_screen_t) -- procedure xcb_screen_next (i : access xcb_screen_iterator_t) -- /usr/include/xcb/xproto.h:5451 with Import => True, Convention => C, External_Name => "xcb_screen_next"; --* -- * Return the iterator pointing to the last element -- * @param i An xcb_screen_iterator_t -- * @return The iterator pointing to the last element -- * -- * Set the current element in the iterator to the last element. -- * The member rem is set to 0. The member data points to the -- * last element. -- function xcb_screen_end (i : xcb_screen_iterator_t) return xcb.xcb_generic_iterator_t -- /usr/include/xcb/xproto.h:5463 with Import => True, Convention => C, External_Name => "xcb_screen_end"; function xcb_setup_request_sizeof (u_buffer : System.Address) return int -- /usr/include/xcb/xproto.h:5466 with Import => True, Convention => C, External_Name => "xcb_setup_request_sizeof"; function xcb_setup_request_authorization_protocol_name (R : access constant xcb_setup_request_t) return Interfaces.C.Strings.chars_ptr -- /usr/include/xcb/xproto.h:5469 with Import => True, Convention => C, External_Name => "xcb_setup_request_authorization_protocol_name"; function xcb_setup_request_authorization_protocol_name_length (R : access constant xcb_setup_request_t) return int -- /usr/include/xcb/xproto.h:5472 with Import => True, Convention => C, External_Name => "xcb_setup_request_authorization_protocol_name_length"; function xcb_setup_request_authorization_protocol_name_end (R : access constant xcb_setup_request_t) return xcb.xcb_generic_iterator_t -- /usr/include/xcb/xproto.h:5475 with Import => True, Convention => C, External_Name => "xcb_setup_request_authorization_protocol_name_end"; function xcb_setup_request_authorization_protocol_data (R : access constant xcb_setup_request_t) return Interfaces.C.Strings.chars_ptr -- /usr/include/xcb/xproto.h:5478 with Import => True, Convention => C, External_Name => "xcb_setup_request_authorization_protocol_data"; function xcb_setup_request_authorization_protocol_data_length (R : access constant xcb_setup_request_t) return int -- /usr/include/xcb/xproto.h:5481 with Import => True, Convention => C, External_Name => "xcb_setup_request_authorization_protocol_data_length"; function xcb_setup_request_authorization_protocol_data_end (R : access constant xcb_setup_request_t) return xcb.xcb_generic_iterator_t -- /usr/include/xcb/xproto.h:5484 with Import => True, Convention => C, External_Name => "xcb_setup_request_authorization_protocol_data_end"; --* -- * Get the next element of the iterator -- * @param i Pointer to a xcb_setup_request_iterator_t -- * -- * Get the next element in the iterator. The member rem is -- * decreased by one. The member data points to the next -- * element. The member index is increased by sizeof(xcb_setup_request_t) -- procedure xcb_setup_request_next (i : access xcb_setup_request_iterator_t) -- /usr/include/xcb/xproto.h:5495 with Import => True, Convention => C, External_Name => "xcb_setup_request_next"; --* -- * Return the iterator pointing to the last element -- * @param i An xcb_setup_request_iterator_t -- * @return The iterator pointing to the last element -- * -- * Set the current element in the iterator to the last element. -- * The member rem is set to 0. The member data points to the -- * last element. -- function xcb_setup_request_end (i : xcb_setup_request_iterator_t) return xcb.xcb_generic_iterator_t -- /usr/include/xcb/xproto.h:5507 with Import => True, Convention => C, External_Name => "xcb_setup_request_end"; function xcb_setup_failed_sizeof (u_buffer : System.Address) return int -- /usr/include/xcb/xproto.h:5510 with Import => True, Convention => C, External_Name => "xcb_setup_failed_sizeof"; function xcb_setup_failed_reason (R : access constant xcb_setup_failed_t) return Interfaces.C.Strings.chars_ptr -- /usr/include/xcb/xproto.h:5513 with Import => True, Convention => C, External_Name => "xcb_setup_failed_reason"; function xcb_setup_failed_reason_length (R : access constant xcb_setup_failed_t) return int -- /usr/include/xcb/xproto.h:5516 with Import => True, Convention => C, External_Name => "xcb_setup_failed_reason_length"; function xcb_setup_failed_reason_end (R : access constant xcb_setup_failed_t) return xcb.xcb_generic_iterator_t -- /usr/include/xcb/xproto.h:5519 with Import => True, Convention => C, External_Name => "xcb_setup_failed_reason_end"; --* -- * Get the next element of the iterator -- * @param i Pointer to a xcb_setup_failed_iterator_t -- * -- * Get the next element in the iterator. The member rem is -- * decreased by one. The member data points to the next -- * element. The member index is increased by sizeof(xcb_setup_failed_t) -- procedure xcb_setup_failed_next (i : access xcb_setup_failed_iterator_t) -- /usr/include/xcb/xproto.h:5530 with Import => True, Convention => C, External_Name => "xcb_setup_failed_next"; --* -- * Return the iterator pointing to the last element -- * @param i An xcb_setup_failed_iterator_t -- * @return The iterator pointing to the last element -- * -- * Set the current element in the iterator to the last element. -- * The member rem is set to 0. The member data points to the -- * last element. -- function xcb_setup_failed_end (i : xcb_setup_failed_iterator_t) return xcb.xcb_generic_iterator_t -- /usr/include/xcb/xproto.h:5542 with Import => True, Convention => C, External_Name => "xcb_setup_failed_end"; function xcb_setup_authenticate_sizeof (u_buffer : System.Address) return int -- /usr/include/xcb/xproto.h:5545 with Import => True, Convention => C, External_Name => "xcb_setup_authenticate_sizeof"; function xcb_setup_authenticate_reason (R : access constant xcb_setup_authenticate_t) return Interfaces.C.Strings.chars_ptr -- /usr/include/xcb/xproto.h:5548 with Import => True, Convention => C, External_Name => "xcb_setup_authenticate_reason"; function xcb_setup_authenticate_reason_length (R : access constant xcb_setup_authenticate_t) return int -- /usr/include/xcb/xproto.h:5551 with Import => True, Convention => C, External_Name => "xcb_setup_authenticate_reason_length"; function xcb_setup_authenticate_reason_end (R : access constant xcb_setup_authenticate_t) return xcb.xcb_generic_iterator_t -- /usr/include/xcb/xproto.h:5554 with Import => True, Convention => C, External_Name => "xcb_setup_authenticate_reason_end"; --* -- * Get the next element of the iterator -- * @param i Pointer to a xcb_setup_authenticate_iterator_t -- * -- * Get the next element in the iterator. The member rem is -- * decreased by one. The member data points to the next -- * element. The member index is increased by sizeof(xcb_setup_authenticate_t) -- procedure xcb_setup_authenticate_next (i : access xcb_setup_authenticate_iterator_t) -- /usr/include/xcb/xproto.h:5565 with Import => True, Convention => C, External_Name => "xcb_setup_authenticate_next"; --* -- * Return the iterator pointing to the last element -- * @param i An xcb_setup_authenticate_iterator_t -- * @return The iterator pointing to the last element -- * -- * Set the current element in the iterator to the last element. -- * The member rem is set to 0. The member data points to the -- * last element. -- function xcb_setup_authenticate_end (i : xcb_setup_authenticate_iterator_t) return xcb.xcb_generic_iterator_t -- /usr/include/xcb/xproto.h:5577 with Import => True, Convention => C, External_Name => "xcb_setup_authenticate_end"; function xcb_setup_sizeof (u_buffer : System.Address) return int -- /usr/include/xcb/xproto.h:5580 with Import => True, Convention => C, External_Name => "xcb_setup_sizeof"; function xcb_setup_vendor (R : access constant xcb_setup_t) return Interfaces.C.Strings.chars_ptr -- /usr/include/xcb/xproto.h:5583 with Import => True, Convention => C, External_Name => "xcb_setup_vendor"; function xcb_setup_vendor_length (R : access constant xcb_setup_t) return int -- /usr/include/xcb/xproto.h:5586 with Import => True, Convention => C, External_Name => "xcb_setup_vendor_length"; function xcb_setup_vendor_end (R : access constant xcb_setup_t) return xcb.xcb_generic_iterator_t -- /usr/include/xcb/xproto.h:5589 with Import => True, Convention => C, External_Name => "xcb_setup_vendor_end"; function xcb_setup_pixmap_formats (R : access constant xcb_setup_t) return access xcb_format_t -- /usr/include/xcb/xproto.h:5592 with Import => True, Convention => C, External_Name => "xcb_setup_pixmap_formats"; function xcb_setup_pixmap_formats_length (R : access constant xcb_setup_t) return int -- /usr/include/xcb/xproto.h:5595 with Import => True, Convention => C, External_Name => "xcb_setup_pixmap_formats_length"; function xcb_setup_pixmap_formats_iterator (R : access constant xcb_setup_t) return xcb_format_iterator_t -- /usr/include/xcb/xproto.h:5598 with Import => True, Convention => C, External_Name => "xcb_setup_pixmap_formats_iterator"; function xcb_setup_roots_length (R : access constant xcb_setup_t) return int -- /usr/include/xcb/xproto.h:5601 with Import => True, Convention => C, External_Name => "xcb_setup_roots_length"; function xcb_setup_roots_iterator (R : access constant xcb_setup_t) return xcb_screen_iterator_t -- /usr/include/xcb/xproto.h:5604 with Import => True, Convention => C, External_Name => "xcb_setup_roots_iterator"; --* -- * Get the next element of the iterator -- * @param i Pointer to a xcb_setup_iterator_t -- * -- * Get the next element in the iterator. The member rem is -- * decreased by one. The member data points to the next -- * element. The member index is increased by sizeof(xcb_setup_t) -- procedure xcb_setup_next (i : access xcb_setup_iterator_t) -- /usr/include/xcb/xproto.h:5615 with Import => True, Convention => C, External_Name => "xcb_setup_next"; --* -- * Return the iterator pointing to the last element -- * @param i An xcb_setup_iterator_t -- * @return The iterator pointing to the last element -- * -- * Set the current element in the iterator to the last element. -- * The member rem is set to 0. The member data points to the -- * last element. -- function xcb_setup_end (i : xcb_setup_iterator_t) return xcb.xcb_generic_iterator_t -- /usr/include/xcb/xproto.h:5627 with Import => True, Convention => C, External_Name => "xcb_setup_end"; --* -- * Get the next element of the iterator -- * @param i Pointer to a xcb_client_message_data_iterator_t -- * -- * Get the next element in the iterator. The member rem is -- * decreased by one. The member data points to the next -- * element. The member index is increased by sizeof(xcb_client_message_data_t) -- procedure xcb_client_message_data_next (i : access xcb_client_message_data_iterator_t) -- /usr/include/xcb/xproto.h:5638 with Import => True, Convention => C, External_Name => "xcb_client_message_data_next"; --* -- * Return the iterator pointing to the last element -- * @param i An xcb_client_message_data_iterator_t -- * @return The iterator pointing to the last element -- * -- * Set the current element in the iterator to the last element. -- * The member rem is set to 0. The member data points to the -- * last element. -- function xcb_client_message_data_end (i : xcb_client_message_data_iterator_t) return xcb.xcb_generic_iterator_t -- /usr/include/xcb/xproto.h:5650 with Import => True, Convention => C, External_Name => "xcb_client_message_data_end"; function xcb_create_window_value_list_serialize (u_buffer : System.Address; value_mask : bits_stdint_uintn_h.uint32_t; u_aux : access constant xcb_create_window_value_list_t) return int -- /usr/include/xcb/xproto.h:5653 with Import => True, Convention => C, External_Name => "xcb_create_window_value_list_serialize"; function xcb_create_window_value_list_unpack (u_buffer : System.Address; value_mask : bits_stdint_uintn_h.uint32_t; u_aux : access xcb_create_window_value_list_t) return int -- /usr/include/xcb/xproto.h:5658 with Import => True, Convention => C, External_Name => "xcb_create_window_value_list_unpack"; function xcb_create_window_value_list_sizeof (u_buffer : System.Address; value_mask : bits_stdint_uintn_h.uint32_t) return int -- /usr/include/xcb/xproto.h:5663 with Import => True, Convention => C, External_Name => "xcb_create_window_value_list_sizeof"; function xcb_create_window_sizeof (u_buffer : System.Address) return int -- /usr/include/xcb/xproto.h:5667 with Import => True, Convention => C, External_Name => "xcb_create_window_sizeof"; --* -- * @brief Creates a window -- * -- * @param c The connection -- * @param depth Specifies the new window's depth (TODO: what unit?). -- * \n -- * The special value `XCB_COPY_FROM_PARENT` means the depth is taken from the -- * \a parent window. -- * @param wid The ID with which you will refer to the new window, created by -- * `xcb_generate_id`. -- * @param parent The parent window of the new window. -- * @param x The X coordinate of the new window. -- * @param y The Y coordinate of the new window. -- * @param width The width of the new window. -- * @param height The height of the new window. -- * @param border_width TODO: -- * \n -- * Must be zero if the `class` is `InputOnly` or a `xcb_match_error_t` occurs. -- * @param _class A bitmask of #xcb_window_class_t values. -- * @param _class \n -- * @param visual Specifies the id for the new window's visual. -- * \n -- * The special value `XCB_COPY_FROM_PARENT` means the visual is taken from the -- * \a parent window. -- * @param value_mask A bitmask of #xcb_cw_t values. -- * @return A cookie -- * -- * Creates an unmapped window as child of the specified \a parent window. A -- * CreateNotify event will be generated. The new window is placed on top in the -- * stacking order with respect to siblings. -- * -- * The coordinate system has the X axis horizontal and the Y axis vertical with -- * the origin [0, 0] at the upper-left corner. Coordinates are integral, in terms -- * of pixels, and coincide with pixel centers. Each window and pixmap has its own -- * coordinate system. For a window, the origin is inside the border at the inside, -- * upper-left corner. -- * -- * The created window is not yet displayed (mapped), call `xcb_map_window` to -- * display it. -- * -- * The created window will initially use the same cursor as its parent. -- * -- * This form can be used only if the request will not cause -- * a reply to be generated. Any returned error will be -- * saved for handling by xcb_request_check(). -- function xcb_create_window_checked (c : access xcb.xcb_connection_t; depth : bits_stdint_uintn_h.uint8_t; wid : xcb_window_t; parent : xcb_window_t; x : bits_stdint_intn_h.int16_t; y : bits_stdint_intn_h.int16_t; width : bits_stdint_uintn_h.uint16_t; height : bits_stdint_uintn_h.uint16_t; border_width : bits_stdint_uintn_h.uint16_t; u_class : bits_stdint_uintn_h.uint16_t; visual : xcb_visualid_t; value_mask : bits_stdint_uintn_h.uint32_t; value_list : System.Address) return xcb.xcb_void_cookie_t -- /usr/include/xcb/xproto.h:5716 with Import => True, Convention => C, External_Name => "xcb_create_window_checked"; --* -- * @brief Creates a window -- * -- * @param c The connection -- * @param depth Specifies the new window's depth (TODO: what unit?). -- * \n -- * The special value `XCB_COPY_FROM_PARENT` means the depth is taken from the -- * \a parent window. -- * @param wid The ID with which you will refer to the new window, created by -- * `xcb_generate_id`. -- * @param parent The parent window of the new window. -- * @param x The X coordinate of the new window. -- * @param y The Y coordinate of the new window. -- * @param width The width of the new window. -- * @param height The height of the new window. -- * @param border_width TODO: -- * \n -- * Must be zero if the `class` is `InputOnly` or a `xcb_match_error_t` occurs. -- * @param _class A bitmask of #xcb_window_class_t values. -- * @param _class \n -- * @param visual Specifies the id for the new window's visual. -- * \n -- * The special value `XCB_COPY_FROM_PARENT` means the visual is taken from the -- * \a parent window. -- * @param value_mask A bitmask of #xcb_cw_t values. -- * @return A cookie -- * -- * Creates an unmapped window as child of the specified \a parent window. A -- * CreateNotify event will be generated. The new window is placed on top in the -- * stacking order with respect to siblings. -- * -- * The coordinate system has the X axis horizontal and the Y axis vertical with -- * the origin [0, 0] at the upper-left corner. Coordinates are integral, in terms -- * of pixels, and coincide with pixel centers. Each window and pixmap has its own -- * coordinate system. For a window, the origin is inside the border at the inside, -- * upper-left corner. -- * -- * The created window is not yet displayed (mapped), call `xcb_map_window` to -- * display it. -- * -- * The created window will initially use the same cursor as its parent. -- * -- function xcb_create_window (c : access xcb.xcb_connection_t; depth : bits_stdint_uintn_h.uint8_t; wid : xcb_window_t; parent : xcb_window_t; x : bits_stdint_intn_h.int16_t; y : bits_stdint_intn_h.int16_t; width : bits_stdint_uintn_h.uint16_t; height : bits_stdint_uintn_h.uint16_t; border_width : bits_stdint_uintn_h.uint16_t; u_class : bits_stdint_uintn_h.uint16_t; visual : xcb_visualid_t; value_mask : bits_stdint_uintn_h.uint32_t; value_list : System.Address) return xcb.xcb_void_cookie_t -- /usr/include/xcb/xproto.h:5774 with Import => True, Convention => C, External_Name => "xcb_create_window"; --* -- * @brief Creates a window -- * -- * @param c The connection -- * @param depth Specifies the new window's depth (TODO: what unit?). -- * \n -- * The special value `XCB_COPY_FROM_PARENT` means the depth is taken from the -- * \a parent window. -- * @param wid The ID with which you will refer to the new window, created by -- * `xcb_generate_id`. -- * @param parent The parent window of the new window. -- * @param x The X coordinate of the new window. -- * @param y The Y coordinate of the new window. -- * @param width The width of the new window. -- * @param height The height of the new window. -- * @param border_width TODO: -- * \n -- * Must be zero if the `class` is `InputOnly` or a `xcb_match_error_t` occurs. -- * @param _class A bitmask of #xcb_window_class_t values. -- * @param _class \n -- * @param visual Specifies the id for the new window's visual. -- * \n -- * The special value `XCB_COPY_FROM_PARENT` means the visual is taken from the -- * \a parent window. -- * @param value_mask A bitmask of #xcb_cw_t values. -- * @return A cookie -- * -- * Creates an unmapped window as child of the specified \a parent window. A -- * CreateNotify event will be generated. The new window is placed on top in the -- * stacking order with respect to siblings. -- * -- * The coordinate system has the X axis horizontal and the Y axis vertical with -- * the origin [0, 0] at the upper-left corner. Coordinates are integral, in terms -- * of pixels, and coincide with pixel centers. Each window and pixmap has its own -- * coordinate system. For a window, the origin is inside the border at the inside, -- * upper-left corner. -- * -- * The created window is not yet displayed (mapped), call `xcb_map_window` to -- * display it. -- * -- * The created window will initially use the same cursor as its parent. -- * -- * This form can be used only if the request will not cause -- * a reply to be generated. Any returned error will be -- * saved for handling by xcb_request_check(). -- function xcb_create_window_aux_checked (c : access xcb.xcb_connection_t; depth : bits_stdint_uintn_h.uint8_t; wid : xcb_window_t; parent : xcb_window_t; x : bits_stdint_intn_h.int16_t; y : bits_stdint_intn_h.int16_t; width : bits_stdint_uintn_h.uint16_t; height : bits_stdint_uintn_h.uint16_t; border_width : bits_stdint_uintn_h.uint16_t; u_class : bits_stdint_uintn_h.uint16_t; visual : xcb_visualid_t; value_mask : bits_stdint_uintn_h.uint32_t; value_list : access constant xcb_create_window_value_list_t) return xcb.xcb_void_cookie_t -- /usr/include/xcb/xproto.h:5835 with Import => True, Convention => C, External_Name => "xcb_create_window_aux_checked"; --* -- * @brief Creates a window -- * -- * @param c The connection -- * @param depth Specifies the new window's depth (TODO: what unit?). -- * \n -- * The special value `XCB_COPY_FROM_PARENT` means the depth is taken from the -- * \a parent window. -- * @param wid The ID with which you will refer to the new window, created by -- * `xcb_generate_id`. -- * @param parent The parent window of the new window. -- * @param x The X coordinate of the new window. -- * @param y The Y coordinate of the new window. -- * @param width The width of the new window. -- * @param height The height of the new window. -- * @param border_width TODO: -- * \n -- * Must be zero if the `class` is `InputOnly` or a `xcb_match_error_t` occurs. -- * @param _class A bitmask of #xcb_window_class_t values. -- * @param _class \n -- * @param visual Specifies the id for the new window's visual. -- * \n -- * The special value `XCB_COPY_FROM_PARENT` means the visual is taken from the -- * \a parent window. -- * @param value_mask A bitmask of #xcb_cw_t values. -- * @return A cookie -- * -- * Creates an unmapped window as child of the specified \a parent window. A -- * CreateNotify event will be generated. The new window is placed on top in the -- * stacking order with respect to siblings. -- * -- * The coordinate system has the X axis horizontal and the Y axis vertical with -- * the origin [0, 0] at the upper-left corner. Coordinates are integral, in terms -- * of pixels, and coincide with pixel centers. Each window and pixmap has its own -- * coordinate system. For a window, the origin is inside the border at the inside, -- * upper-left corner. -- * -- * The created window is not yet displayed (mapped), call `xcb_map_window` to -- * display it. -- * -- * The created window will initially use the same cursor as its parent. -- * -- function xcb_create_window_aux (c : access xcb.xcb_connection_t; depth : bits_stdint_uintn_h.uint8_t; wid : xcb_window_t; parent : xcb_window_t; x : bits_stdint_intn_h.int16_t; y : bits_stdint_intn_h.int16_t; width : bits_stdint_uintn_h.uint16_t; height : bits_stdint_uintn_h.uint16_t; border_width : bits_stdint_uintn_h.uint16_t; u_class : bits_stdint_uintn_h.uint16_t; visual : xcb_visualid_t; value_mask : bits_stdint_uintn_h.uint32_t; value_list : access constant xcb_create_window_value_list_t) return xcb.xcb_void_cookie_t -- /usr/include/xcb/xproto.h:5893 with Import => True, Convention => C, External_Name => "xcb_create_window_aux"; function xcb_create_window_value_list (R : access constant xcb_create_window_request_t) return System.Address -- /usr/include/xcb/xproto.h:5908 with Import => True, Convention => C, External_Name => "xcb_create_window_value_list"; function xcb_change_window_attributes_value_list_serialize (u_buffer : System.Address; value_mask : bits_stdint_uintn_h.uint32_t; u_aux : access constant xcb_change_window_attributes_value_list_t) return int -- /usr/include/xcb/xproto.h:5911 with Import => True, Convention => C, External_Name => "xcb_change_window_attributes_value_list_serialize"; function xcb_change_window_attributes_value_list_unpack (u_buffer : System.Address; value_mask : bits_stdint_uintn_h.uint32_t; u_aux : access xcb_change_window_attributes_value_list_t) return int -- /usr/include/xcb/xproto.h:5916 with Import => True, Convention => C, External_Name => "xcb_change_window_attributes_value_list_unpack"; function xcb_change_window_attributes_value_list_sizeof (u_buffer : System.Address; value_mask : bits_stdint_uintn_h.uint32_t) return int -- /usr/include/xcb/xproto.h:5921 with Import => True, Convention => C, External_Name => "xcb_change_window_attributes_value_list_sizeof"; function xcb_change_window_attributes_sizeof (u_buffer : System.Address) return int -- /usr/include/xcb/xproto.h:5925 with Import => True, Convention => C, External_Name => "xcb_change_window_attributes_sizeof"; --* -- * @brief change window attributes -- * -- * @param c The connection -- * @param window The window to change. -- * @param value_mask A bitmask of #xcb_cw_t values. -- * @param value_mask \n -- * @param value_list Values for each of the attributes specified in the bitmask \a value_mask. The -- * order has to correspond to the order of possible \a value_mask bits. See the -- * example. -- * @return A cookie -- * -- * Changes the attributes specified by \a value_mask for the specified \a window. -- * -- * This form can be used only if the request will not cause -- * a reply to be generated. Any returned error will be -- * saved for handling by xcb_request_check(). -- function xcb_change_window_attributes_checked (c : access xcb.xcb_connection_t; window : xcb_window_t; value_mask : bits_stdint_uintn_h.uint32_t; value_list : System.Address) return xcb.xcb_void_cookie_t -- /usr/include/xcb/xproto.h:5946 with Import => True, Convention => C, External_Name => "xcb_change_window_attributes_checked"; --* -- * @brief change window attributes -- * -- * @param c The connection -- * @param window The window to change. -- * @param value_mask A bitmask of #xcb_cw_t values. -- * @param value_mask \n -- * @param value_list Values for each of the attributes specified in the bitmask \a value_mask. The -- * order has to correspond to the order of possible \a value_mask bits. See the -- * example. -- * @return A cookie -- * -- * Changes the attributes specified by \a value_mask for the specified \a window. -- * -- function xcb_change_window_attributes (c : access xcb.xcb_connection_t; window : xcb_window_t; value_mask : bits_stdint_uintn_h.uint32_t; value_list : System.Address) return xcb.xcb_void_cookie_t -- /usr/include/xcb/xproto.h:5967 with Import => True, Convention => C, External_Name => "xcb_change_window_attributes"; --* -- * @brief change window attributes -- * -- * @param c The connection -- * @param window The window to change. -- * @param value_mask A bitmask of #xcb_cw_t values. -- * @param value_mask \n -- * @param value_list Values for each of the attributes specified in the bitmask \a value_mask. The -- * order has to correspond to the order of possible \a value_mask bits. See the -- * example. -- * @return A cookie -- * -- * Changes the attributes specified by \a value_mask for the specified \a window. -- * -- * This form can be used only if the request will not cause -- * a reply to be generated. Any returned error will be -- * saved for handling by xcb_request_check(). -- function xcb_change_window_attributes_aux_checked (c : access xcb.xcb_connection_t; window : xcb_window_t; value_mask : bits_stdint_uintn_h.uint32_t; value_list : access constant xcb_change_window_attributes_value_list_t) return xcb.xcb_void_cookie_t -- /usr/include/xcb/xproto.h:5991 with Import => True, Convention => C, External_Name => "xcb_change_window_attributes_aux_checked"; --* -- * @brief change window attributes -- * -- * @param c The connection -- * @param window The window to change. -- * @param value_mask A bitmask of #xcb_cw_t values. -- * @param value_mask \n -- * @param value_list Values for each of the attributes specified in the bitmask \a value_mask. The -- * order has to correspond to the order of possible \a value_mask bits. See the -- * example. -- * @return A cookie -- * -- * Changes the attributes specified by \a value_mask for the specified \a window. -- * -- function xcb_change_window_attributes_aux (c : access xcb.xcb_connection_t; window : xcb_window_t; value_mask : bits_stdint_uintn_h.uint32_t; value_list : access constant xcb_change_window_attributes_value_list_t) return xcb.xcb_void_cookie_t -- /usr/include/xcb/xproto.h:6012 with Import => True, Convention => C, External_Name => "xcb_change_window_attributes_aux"; function xcb_change_window_attributes_value_list (R : access constant xcb_change_window_attributes_request_t) return System.Address -- /usr/include/xcb/xproto.h:6018 with Import => True, Convention => C, External_Name => "xcb_change_window_attributes_value_list"; --* -- * @brief Gets window attributes -- * -- * @param c The connection -- * @param window The window to get the attributes from. -- * @return A cookie -- * -- * Gets the current attributes for the specified \a window. -- * -- function xcb_get_window_attributes (c : access xcb.xcb_connection_t; window : xcb_window_t) return xcb_get_window_attributes_cookie_t -- /usr/include/xcb/xproto.h:6031 with Import => True, Convention => C, External_Name => "xcb_get_window_attributes"; --* -- * @brief Gets window attributes -- * -- * @param c The connection -- * @param window The window to get the attributes from. -- * @return A cookie -- * -- * Gets the current attributes for the specified \a window. -- * -- * This form can be used only if the request will cause -- * a reply to be generated. Any returned error will be -- * placed in the event queue. -- function xcb_get_window_attributes_unchecked (c : access xcb.xcb_connection_t; window : xcb_window_t) return xcb_get_window_attributes_cookie_t -- /usr/include/xcb/xproto.h:6048 with Import => True, Convention => C, External_Name => "xcb_get_window_attributes_unchecked"; --* -- * Return the reply -- * @param c The connection -- * @param cookie The cookie -- * @param e The xcb_generic_error_t supplied -- * -- * Returns the reply of the request asked by -- * -- * The parameter @p e supplied to this function must be NULL if -- * xcb_get_window_attributes_unchecked(). is used. -- * Otherwise, it stores the error if any. -- * -- * The returned value must be freed by the caller using free(). -- function xcb_get_window_attributes_reply (c : access xcb.xcb_connection_t; cookie : xcb_get_window_attributes_cookie_t; e : System.Address) return access xcb_get_window_attributes_reply_t -- /usr/include/xcb/xproto.h:6066 with Import => True, Convention => C, External_Name => "xcb_get_window_attributes_reply"; --*< --* -- * @brief Destroys a window -- * -- * @param c The connection -- * @param window The window to destroy. -- * @return A cookie -- * -- * Destroys the specified window and all of its subwindows. A DestroyNotify event -- * is generated for each destroyed window (a DestroyNotify event is first generated -- * for any given window's inferiors). If the window was mapped, it will be -- * automatically unmapped before destroying. -- * -- * Calling DestroyWindow on the root window will do nothing. -- * -- * This form can be used only if the request will not cause -- * a reply to be generated. Any returned error will be -- * saved for handling by xcb_request_check(). -- function xcb_destroy_window_checked (c : access xcb.xcb_connection_t; window : xcb_window_t) return xcb.xcb_void_cookie_t -- /usr/include/xcb/xproto.h:6089 with Import => True, Convention => C, External_Name => "xcb_destroy_window_checked"; --* -- * @brief Destroys a window -- * -- * @param c The connection -- * @param window The window to destroy. -- * @return A cookie -- * -- * Destroys the specified window and all of its subwindows. A DestroyNotify event -- * is generated for each destroyed window (a DestroyNotify event is first generated -- * for any given window's inferiors). If the window was mapped, it will be -- * automatically unmapped before destroying. -- * -- * Calling DestroyWindow on the root window will do nothing. -- * -- function xcb_destroy_window (c : access xcb.xcb_connection_t; window : xcb_window_t) return xcb.xcb_void_cookie_t -- /usr/include/xcb/xproto.h:6108 with Import => True, Convention => C, External_Name => "xcb_destroy_window"; --* -- * -- * @param c The connection -- * @return A cookie -- * -- * Delivers a request to the X server. -- * -- * This form can be used only if the request will not cause -- * a reply to be generated. Any returned error will be -- * saved for handling by xcb_request_check(). -- function xcb_destroy_subwindows_checked (c : access xcb.xcb_connection_t; window : xcb_window_t) return xcb.xcb_void_cookie_t -- /usr/include/xcb/xproto.h:6123 with Import => True, Convention => C, External_Name => "xcb_destroy_subwindows_checked"; --* -- * -- * @param c The connection -- * @return A cookie -- * -- * Delivers a request to the X server. -- * -- function xcb_destroy_subwindows (c : access xcb.xcb_connection_t; window : xcb_window_t) return xcb.xcb_void_cookie_t -- /usr/include/xcb/xproto.h:6135 with Import => True, Convention => C, External_Name => "xcb_destroy_subwindows"; --* -- * @brief Changes a client's save set -- * -- * @param c The connection -- * @param mode A bitmask of #xcb_set_mode_t values. -- * @param mode Insert to add the specified window to the save set or Delete to delete it from the save set. -- * @param window The window to add or delete to/from your save set. -- * @return A cookie -- * -- * TODO: explain what the save set is for. -- * -- * This function either adds or removes the specified window to the client's (your -- * application's) save set. -- * -- * This form can be used only if the request will not cause -- * a reply to be generated. Any returned error will be -- * saved for handling by xcb_request_check(). -- function xcb_change_save_set_checked (c : access xcb.xcb_connection_t; mode : bits_stdint_uintn_h.uint8_t; window : xcb_window_t) return xcb.xcb_void_cookie_t -- /usr/include/xcb/xproto.h:6157 with Import => True, Convention => C, External_Name => "xcb_change_save_set_checked"; --* -- * @brief Changes a client's save set -- * -- * @param c The connection -- * @param mode A bitmask of #xcb_set_mode_t values. -- * @param mode Insert to add the specified window to the save set or Delete to delete it from the save set. -- * @param window The window to add or delete to/from your save set. -- * @return A cookie -- * -- * TODO: explain what the save set is for. -- * -- * This function either adds or removes the specified window to the client's (your -- * application's) save set. -- * -- function xcb_change_save_set (c : access xcb.xcb_connection_t; mode : bits_stdint_uintn_h.uint8_t; window : xcb_window_t) return xcb.xcb_void_cookie_t -- /usr/include/xcb/xproto.h:6177 with Import => True, Convention => C, External_Name => "xcb_change_save_set"; --* -- * @brief Reparents a window -- * -- * @param c The connection -- * @param window The window to reparent. -- * @param parent The new parent of the window. -- * @param x The X position of the window within its new parent. -- * @param y The Y position of the window within its new parent. -- * @return A cookie -- * -- * Makes the specified window a child of the specified parent window. If the -- * window is mapped, it will automatically be unmapped before reparenting and -- * re-mapped after reparenting. The window is placed in the stacking order on top -- * with respect to sibling windows. -- * -- * After reparenting, a ReparentNotify event is generated. -- * -- * This form can be used only if the request will not cause -- * a reply to be generated. Any returned error will be -- * saved for handling by xcb_request_check(). -- function xcb_reparent_window_checked (c : access xcb.xcb_connection_t; window : xcb_window_t; parent : xcb_window_t; x : bits_stdint_intn_h.int16_t; y : bits_stdint_intn_h.int16_t) return xcb.xcb_void_cookie_t -- /usr/include/xcb/xproto.h:6203 with Import => True, Convention => C, External_Name => "xcb_reparent_window_checked"; --* -- * @brief Reparents a window -- * -- * @param c The connection -- * @param window The window to reparent. -- * @param parent The new parent of the window. -- * @param x The X position of the window within its new parent. -- * @param y The Y position of the window within its new parent. -- * @return A cookie -- * -- * Makes the specified window a child of the specified parent window. If the -- * window is mapped, it will automatically be unmapped before reparenting and -- * re-mapped after reparenting. The window is placed in the stacking order on top -- * with respect to sibling windows. -- * -- * After reparenting, a ReparentNotify event is generated. -- * -- function xcb_reparent_window (c : access xcb.xcb_connection_t; window : xcb_window_t; parent : xcb_window_t; x : bits_stdint_intn_h.int16_t; y : bits_stdint_intn_h.int16_t) return xcb.xcb_void_cookie_t -- /usr/include/xcb/xproto.h:6228 with Import => True, Convention => C, External_Name => "xcb_reparent_window"; --* -- * @brief Makes a window visible -- * -- * @param c The connection -- * @param window The window to make visible. -- * @return A cookie -- * -- * Maps the specified window. This means making the window visible (as long as its -- * parent is visible). -- * -- * This MapWindow request will be translated to a MapRequest request if a window -- * manager is running. The window manager then decides to either map the window or -- * not. Set the override-redirect window attribute to true if you want to bypass -- * this mechanism. -- * -- * If the window manager decides to map the window (or if no window manager is -- * running), a MapNotify event is generated. -- * -- * If the window becomes viewable and no earlier contents for it are remembered, -- * the X server tiles the window with its background. If the window's background -- * is undefined, the existing screen contents are not altered, and the X server -- * generates zero or more Expose events. -- * -- * If the window type is InputOutput, an Expose event will be generated when the -- * window becomes visible. The normal response to an Expose event should be to -- * repaint the window. -- * -- * This form can be used only if the request will not cause -- * a reply to be generated. Any returned error will be -- * saved for handling by xcb_request_check(). -- function xcb_map_window_checked (c : access xcb.xcb_connection_t; window : xcb_window_t) return xcb.xcb_void_cookie_t -- /usr/include/xcb/xproto.h:6266 with Import => True, Convention => C, External_Name => "xcb_map_window_checked"; --* -- * @brief Makes a window visible -- * -- * @param c The connection -- * @param window The window to make visible. -- * @return A cookie -- * -- * Maps the specified window. This means making the window visible (as long as its -- * parent is visible). -- * -- * This MapWindow request will be translated to a MapRequest request if a window -- * manager is running. The window manager then decides to either map the window or -- * not. Set the override-redirect window attribute to true if you want to bypass -- * this mechanism. -- * -- * If the window manager decides to map the window (or if no window manager is -- * running), a MapNotify event is generated. -- * -- * If the window becomes viewable and no earlier contents for it are remembered, -- * the X server tiles the window with its background. If the window's background -- * is undefined, the existing screen contents are not altered, and the X server -- * generates zero or more Expose events. -- * -- * If the window type is InputOutput, an Expose event will be generated when the -- * window becomes visible. The normal response to an Expose event should be to -- * repaint the window. -- * -- function xcb_map_window (c : access xcb.xcb_connection_t; window : xcb_window_t) return xcb.xcb_void_cookie_t -- /usr/include/xcb/xproto.h:6298 with Import => True, Convention => C, External_Name => "xcb_map_window"; --* -- * -- * @param c The connection -- * @return A cookie -- * -- * Delivers a request to the X server. -- * -- * This form can be used only if the request will not cause -- * a reply to be generated. Any returned error will be -- * saved for handling by xcb_request_check(). -- function xcb_map_subwindows_checked (c : access xcb.xcb_connection_t; window : xcb_window_t) return xcb.xcb_void_cookie_t -- /usr/include/xcb/xproto.h:6313 with Import => True, Convention => C, External_Name => "xcb_map_subwindows_checked"; --* -- * -- * @param c The connection -- * @return A cookie -- * -- * Delivers a request to the X server. -- * -- function xcb_map_subwindows (c : access xcb.xcb_connection_t; window : xcb_window_t) return xcb.xcb_void_cookie_t -- /usr/include/xcb/xproto.h:6325 with Import => True, Convention => C, External_Name => "xcb_map_subwindows"; --* -- * @brief Makes a window invisible -- * -- * @param c The connection -- * @param window The window to make invisible. -- * @return A cookie -- * -- * Unmaps the specified window. This means making the window invisible (and all -- * its child windows). -- * -- * Unmapping a window leads to the `UnmapNotify` event being generated. Also, -- * `Expose` events are generated for formerly obscured windows. -- * -- * This form can be used only if the request will not cause -- * a reply to be generated. Any returned error will be -- * saved for handling by xcb_request_check(). -- function xcb_unmap_window_checked (c : access xcb.xcb_connection_t; window : xcb_window_t) return xcb.xcb_void_cookie_t -- /usr/include/xcb/xproto.h:6346 with Import => True, Convention => C, External_Name => "xcb_unmap_window_checked"; --* -- * @brief Makes a window invisible -- * -- * @param c The connection -- * @param window The window to make invisible. -- * @return A cookie -- * -- * Unmaps the specified window. This means making the window invisible (and all -- * its child windows). -- * -- * Unmapping a window leads to the `UnmapNotify` event being generated. Also, -- * `Expose` events are generated for formerly obscured windows. -- * -- function xcb_unmap_window (c : access xcb.xcb_connection_t; window : xcb_window_t) return xcb.xcb_void_cookie_t -- /usr/include/xcb/xproto.h:6364 with Import => True, Convention => C, External_Name => "xcb_unmap_window"; --* -- * -- * @param c The connection -- * @return A cookie -- * -- * Delivers a request to the X server. -- * -- * This form can be used only if the request will not cause -- * a reply to be generated. Any returned error will be -- * saved for handling by xcb_request_check(). -- function xcb_unmap_subwindows_checked (c : access xcb.xcb_connection_t; window : xcb_window_t) return xcb.xcb_void_cookie_t -- /usr/include/xcb/xproto.h:6379 with Import => True, Convention => C, External_Name => "xcb_unmap_subwindows_checked"; --* -- * -- * @param c The connection -- * @return A cookie -- * -- * Delivers a request to the X server. -- * -- function xcb_unmap_subwindows (c : access xcb.xcb_connection_t; window : xcb_window_t) return xcb.xcb_void_cookie_t -- /usr/include/xcb/xproto.h:6391 with Import => True, Convention => C, External_Name => "xcb_unmap_subwindows"; function xcb_configure_window_value_list_serialize (u_buffer : System.Address; value_mask : bits_stdint_uintn_h.uint16_t; u_aux : access constant xcb_configure_window_value_list_t) return int -- /usr/include/xcb/xproto.h:6395 with Import => True, Convention => C, External_Name => "xcb_configure_window_value_list_serialize"; function xcb_configure_window_value_list_unpack (u_buffer : System.Address; value_mask : bits_stdint_uintn_h.uint16_t; u_aux : access xcb_configure_window_value_list_t) return int -- /usr/include/xcb/xproto.h:6400 with Import => True, Convention => C, External_Name => "xcb_configure_window_value_list_unpack"; function xcb_configure_window_value_list_sizeof (u_buffer : System.Address; value_mask : bits_stdint_uintn_h.uint16_t) return int -- /usr/include/xcb/xproto.h:6405 with Import => True, Convention => C, External_Name => "xcb_configure_window_value_list_sizeof"; function xcb_configure_window_sizeof (u_buffer : System.Address) return int -- /usr/include/xcb/xproto.h:6409 with Import => True, Convention => C, External_Name => "xcb_configure_window_sizeof"; --* -- * @brief Configures window attributes -- * -- * @param c The connection -- * @param window The window to configure. -- * @param value_mask Bitmask of attributes to change. -- * @param value_list New values, corresponding to the attributes in value_mask. The order has to -- * correspond to the order of possible \a value_mask bits. See the example. -- * @return A cookie -- * -- * Configures a window's size, position, border width and stacking order. -- * -- * This form can be used only if the request will not cause -- * a reply to be generated. Any returned error will be -- * saved for handling by xcb_request_check(). -- function xcb_configure_window_checked (c : access xcb.xcb_connection_t; window : xcb_window_t; value_mask : bits_stdint_uintn_h.uint16_t; value_list : System.Address) return xcb.xcb_void_cookie_t -- /usr/include/xcb/xproto.h:6428 with Import => True, Convention => C, External_Name => "xcb_configure_window_checked"; --* -- * @brief Configures window attributes -- * -- * @param c The connection -- * @param window The window to configure. -- * @param value_mask Bitmask of attributes to change. -- * @param value_list New values, corresponding to the attributes in value_mask. The order has to -- * correspond to the order of possible \a value_mask bits. See the example. -- * @return A cookie -- * -- * Configures a window's size, position, border width and stacking order. -- * -- function xcb_configure_window (c : access xcb.xcb_connection_t; window : xcb_window_t; value_mask : bits_stdint_uintn_h.uint16_t; value_list : System.Address) return xcb.xcb_void_cookie_t -- /usr/include/xcb/xproto.h:6447 with Import => True, Convention => C, External_Name => "xcb_configure_window"; --* -- * @brief Configures window attributes -- * -- * @param c The connection -- * @param window The window to configure. -- * @param value_mask Bitmask of attributes to change. -- * @param value_list New values, corresponding to the attributes in value_mask. The order has to -- * correspond to the order of possible \a value_mask bits. See the example. -- * @return A cookie -- * -- * Configures a window's size, position, border width and stacking order. -- * -- * This form can be used only if the request will not cause -- * a reply to be generated. Any returned error will be -- * saved for handling by xcb_request_check(). -- function xcb_configure_window_aux_checked (c : access xcb.xcb_connection_t; window : xcb_window_t; value_mask : bits_stdint_uintn_h.uint16_t; value_list : access constant xcb_configure_window_value_list_t) return xcb.xcb_void_cookie_t -- /usr/include/xcb/xproto.h:6469 with Import => True, Convention => C, External_Name => "xcb_configure_window_aux_checked"; --* -- * @brief Configures window attributes -- * -- * @param c The connection -- * @param window The window to configure. -- * @param value_mask Bitmask of attributes to change. -- * @param value_list New values, corresponding to the attributes in value_mask. The order has to -- * correspond to the order of possible \a value_mask bits. See the example. -- * @return A cookie -- * -- * Configures a window's size, position, border width and stacking order. -- * -- function xcb_configure_window_aux (c : access xcb.xcb_connection_t; window : xcb_window_t; value_mask : bits_stdint_uintn_h.uint16_t; value_list : access constant xcb_configure_window_value_list_t) return xcb.xcb_void_cookie_t -- /usr/include/xcb/xproto.h:6488 with Import => True, Convention => C, External_Name => "xcb_configure_window_aux"; function xcb_configure_window_value_list (R : access constant xcb_configure_window_request_t) return System.Address -- /usr/include/xcb/xproto.h:6494 with Import => True, Convention => C, External_Name => "xcb_configure_window_value_list"; --* -- * @brief Change window stacking order -- * -- * @param c The connection -- * @param direction A bitmask of #xcb_circulate_t values. -- * @param direction \n -- * @param window The window to raise/lower (depending on \a direction). -- * @return A cookie -- * -- * If \a direction is `XCB_CIRCULATE_RAISE_LOWEST`, the lowest mapped child (if -- * any) will be raised to the top of the stack. -- * -- * If \a direction is `XCB_CIRCULATE_LOWER_HIGHEST`, the highest mapped child will -- * be lowered to the bottom of the stack. -- * -- * This form can be used only if the request will not cause -- * a reply to be generated. Any returned error will be -- * saved for handling by xcb_request_check(). -- function xcb_circulate_window_checked (c : access xcb.xcb_connection_t; direction : bits_stdint_uintn_h.uint8_t; window : xcb_window_t) return xcb.xcb_void_cookie_t -- /usr/include/xcb/xproto.h:6516 with Import => True, Convention => C, External_Name => "xcb_circulate_window_checked"; --* -- * @brief Change window stacking order -- * -- * @param c The connection -- * @param direction A bitmask of #xcb_circulate_t values. -- * @param direction \n -- * @param window The window to raise/lower (depending on \a direction). -- * @return A cookie -- * -- * If \a direction is `XCB_CIRCULATE_RAISE_LOWEST`, the lowest mapped child (if -- * any) will be raised to the top of the stack. -- * -- * If \a direction is `XCB_CIRCULATE_LOWER_HIGHEST`, the highest mapped child will -- * be lowered to the bottom of the stack. -- * -- function xcb_circulate_window (c : access xcb.xcb_connection_t; direction : bits_stdint_uintn_h.uint8_t; window : xcb_window_t) return xcb.xcb_void_cookie_t -- /usr/include/xcb/xproto.h:6537 with Import => True, Convention => C, External_Name => "xcb_circulate_window"; --* -- * @brief Get current window geometry -- * -- * @param c The connection -- * @param drawable The drawable (`Window` or `Pixmap`) of which the geometry will be received. -- * @return A cookie -- * -- * Gets the current geometry of the specified drawable (either `Window` or `Pixmap`). -- * -- function xcb_get_geometry (c : access xcb.xcb_connection_t; drawable : xcb_drawable_t) return xcb_get_geometry_cookie_t -- /usr/include/xcb/xproto.h:6552 with Import => True, Convention => C, External_Name => "xcb_get_geometry"; --* -- * @brief Get current window geometry -- * -- * @param c The connection -- * @param drawable The drawable (`Window` or `Pixmap`) of which the geometry will be received. -- * @return A cookie -- * -- * Gets the current geometry of the specified drawable (either `Window` or `Pixmap`). -- * -- * This form can be used only if the request will cause -- * a reply to be generated. Any returned error will be -- * placed in the event queue. -- function xcb_get_geometry_unchecked (c : access xcb.xcb_connection_t; drawable : xcb_drawable_t) return xcb_get_geometry_cookie_t -- /usr/include/xcb/xproto.h:6569 with Import => True, Convention => C, External_Name => "xcb_get_geometry_unchecked"; --* -- * Return the reply -- * @param c The connection -- * @param cookie The cookie -- * @param e The xcb_generic_error_t supplied -- * -- * Returns the reply of the request asked by -- * -- * The parameter @p e supplied to this function must be NULL if -- * xcb_get_geometry_unchecked(). is used. -- * Otherwise, it stores the error if any. -- * -- * The returned value must be freed by the caller using free(). -- function xcb_get_geometry_reply (c : access xcb.xcb_connection_t; cookie : xcb_get_geometry_cookie_t; e : System.Address) return access xcb_get_geometry_reply_t -- /usr/include/xcb/xproto.h:6587 with Import => True, Convention => C, External_Name => "xcb_get_geometry_reply"; --*< function xcb_query_tree_sizeof (u_buffer : System.Address) return int -- /usr/include/xcb/xproto.h:6592 with Import => True, Convention => C, External_Name => "xcb_query_tree_sizeof"; --* -- * @brief query the window tree -- * -- * @param c The connection -- * @param window The \a window to query. -- * @return A cookie -- * -- * Gets the root window ID, parent window ID and list of children windows for the -- * specified \a window. The children are listed in bottom-to-top stacking order. -- * -- function xcb_query_tree (c : access xcb.xcb_connection_t; window : xcb_window_t) return xcb_query_tree_cookie_t -- /usr/include/xcb/xproto.h:6606 with Import => True, Convention => C, External_Name => "xcb_query_tree"; --* -- * @brief query the window tree -- * -- * @param c The connection -- * @param window The \a window to query. -- * @return A cookie -- * -- * Gets the root window ID, parent window ID and list of children windows for the -- * specified \a window. The children are listed in bottom-to-top stacking order. -- * -- * This form can be used only if the request will cause -- * a reply to be generated. Any returned error will be -- * placed in the event queue. -- function xcb_query_tree_unchecked (c : access xcb.xcb_connection_t; window : xcb_window_t) return xcb_query_tree_cookie_t -- /usr/include/xcb/xproto.h:6624 with Import => True, Convention => C, External_Name => "xcb_query_tree_unchecked"; function xcb_query_tree_children (R : access constant xcb_query_tree_reply_t) return access xcb_window_t -- /usr/include/xcb/xproto.h:6628 with Import => True, Convention => C, External_Name => "xcb_query_tree_children"; function xcb_query_tree_children_length (R : access constant xcb_query_tree_reply_t) return int -- /usr/include/xcb/xproto.h:6631 with Import => True, Convention => C, External_Name => "xcb_query_tree_children_length"; function xcb_query_tree_children_end (R : access constant xcb_query_tree_reply_t) return xcb.xcb_generic_iterator_t -- /usr/include/xcb/xproto.h:6634 with Import => True, Convention => C, External_Name => "xcb_query_tree_children_end"; --* -- * Return the reply -- * @param c The connection -- * @param cookie The cookie -- * @param e The xcb_generic_error_t supplied -- * -- * Returns the reply of the request asked by -- * -- * The parameter @p e supplied to this function must be NULL if -- * xcb_query_tree_unchecked(). is used. -- * Otherwise, it stores the error if any. -- * -- * The returned value must be freed by the caller using free(). -- function xcb_query_tree_reply (c : access xcb.xcb_connection_t; cookie : xcb_query_tree_cookie_t; e : System.Address) return access xcb_query_tree_reply_t -- /usr/include/xcb/xproto.h:6651 with Import => True, Convention => C, External_Name => "xcb_query_tree_reply"; --*< function xcb_intern_atom_sizeof (u_buffer : System.Address) return int -- /usr/include/xcb/xproto.h:6656 with Import => True, Convention => C, External_Name => "xcb_intern_atom_sizeof"; --* -- * @brief Get atom identifier by name -- * -- * @param c The connection -- * @param only_if_exists Return a valid atom id only if the atom already exists. -- * @param name_len The length of the following \a name. -- * @param name The name of the atom. -- * @return A cookie -- * -- * Retrieves the identifier (xcb_atom_t TODO) for the atom with the specified -- * name. Atoms are used in protocols like EWMH, for example to store window titles -- * (`_NET_WM_NAME` atom) as property of a window. -- * -- * If \a only_if_exists is 0, the atom will be created if it does not already exist. -- * If \a only_if_exists is 1, `XCB_ATOM_NONE` will be returned if the atom does -- * not yet exist. -- * -- function xcb_intern_atom (c : access xcb.xcb_connection_t; only_if_exists : bits_stdint_uintn_h.uint8_t; name_len : bits_stdint_uintn_h.uint16_t; name : Interfaces.C.Strings.chars_ptr) return xcb_intern_atom_cookie_t -- /usr/include/xcb/xproto.h:6677 with Import => True, Convention => C, External_Name => "xcb_intern_atom"; --* -- * @brief Get atom identifier by name -- * -- * @param c The connection -- * @param only_if_exists Return a valid atom id only if the atom already exists. -- * @param name_len The length of the following \a name. -- * @param name The name of the atom. -- * @return A cookie -- * -- * Retrieves the identifier (xcb_atom_t TODO) for the atom with the specified -- * name. Atoms are used in protocols like EWMH, for example to store window titles -- * (`_NET_WM_NAME` atom) as property of a window. -- * -- * If \a only_if_exists is 0, the atom will be created if it does not already exist. -- * If \a only_if_exists is 1, `XCB_ATOM_NONE` will be returned if the atom does -- * not yet exist. -- * -- * This form can be used only if the request will cause -- * a reply to be generated. Any returned error will be -- * placed in the event queue. -- function xcb_intern_atom_unchecked (c : access xcb.xcb_connection_t; only_if_exists : bits_stdint_uintn_h.uint8_t; name_len : bits_stdint_uintn_h.uint16_t; name : Interfaces.C.Strings.chars_ptr) return xcb_intern_atom_cookie_t -- /usr/include/xcb/xproto.h:6704 with Import => True, Convention => C, External_Name => "xcb_intern_atom_unchecked"; --* -- * Return the reply -- * @param c The connection -- * @param cookie The cookie -- * @param e The xcb_generic_error_t supplied -- * -- * Returns the reply of the request asked by -- * -- * The parameter @p e supplied to this function must be NULL if -- * xcb_intern_atom_unchecked(). is used. -- * Otherwise, it stores the error if any. -- * -- * The returned value must be freed by the caller using free(). -- function xcb_intern_atom_reply (c : access xcb.xcb_connection_t; cookie : xcb_intern_atom_cookie_t; e : System.Address) return access xcb_intern_atom_reply_t -- /usr/include/xcb/xproto.h:6724 with Import => True, Convention => C, External_Name => "xcb_intern_atom_reply"; --*< function xcb_get_atom_name_sizeof (u_buffer : System.Address) return int -- /usr/include/xcb/xproto.h:6729 with Import => True, Convention => C, External_Name => "xcb_get_atom_name_sizeof"; --* -- * -- * @param c The connection -- * @return A cookie -- * -- * Delivers a request to the X server. -- * -- function xcb_get_atom_name (c : access xcb.xcb_connection_t; atom : xcb_atom_t) return xcb_get_atom_name_cookie_t -- /usr/include/xcb/xproto.h:6740 with Import => True, Convention => C, External_Name => "xcb_get_atom_name"; --* -- * -- * @param c The connection -- * @return A cookie -- * -- * Delivers a request to the X server. -- * -- * This form can be used only if the request will cause -- * a reply to be generated. Any returned error will be -- * placed in the event queue. -- function xcb_get_atom_name_unchecked (c : access xcb.xcb_connection_t; atom : xcb_atom_t) return xcb_get_atom_name_cookie_t -- /usr/include/xcb/xproto.h:6755 with Import => True, Convention => C, External_Name => "xcb_get_atom_name_unchecked"; function xcb_get_atom_name_name (R : access constant xcb_get_atom_name_reply_t) return Interfaces.C.Strings.chars_ptr -- /usr/include/xcb/xproto.h:6759 with Import => True, Convention => C, External_Name => "xcb_get_atom_name_name"; function xcb_get_atom_name_name_length (R : access constant xcb_get_atom_name_reply_t) return int -- /usr/include/xcb/xproto.h:6762 with Import => True, Convention => C, External_Name => "xcb_get_atom_name_name_length"; function xcb_get_atom_name_name_end (R : access constant xcb_get_atom_name_reply_t) return xcb.xcb_generic_iterator_t -- /usr/include/xcb/xproto.h:6765 with Import => True, Convention => C, External_Name => "xcb_get_atom_name_name_end"; --* -- * Return the reply -- * @param c The connection -- * @param cookie The cookie -- * @param e The xcb_generic_error_t supplied -- * -- * Returns the reply of the request asked by -- * -- * The parameter @p e supplied to this function must be NULL if -- * xcb_get_atom_name_unchecked(). is used. -- * Otherwise, it stores the error if any. -- * -- * The returned value must be freed by the caller using free(). -- function xcb_get_atom_name_reply (c : access xcb.xcb_connection_t; cookie : xcb_get_atom_name_cookie_t; e : System.Address) return access xcb_get_atom_name_reply_t -- /usr/include/xcb/xproto.h:6782 with Import => True, Convention => C, External_Name => "xcb_get_atom_name_reply"; --*< function xcb_change_property_sizeof (u_buffer : System.Address) return int -- /usr/include/xcb/xproto.h:6787 with Import => True, Convention => C, External_Name => "xcb_change_property_sizeof"; --* -- * @brief Changes a window property -- * -- * @param c The connection -- * @param mode A bitmask of #xcb_prop_mode_t values. -- * @param mode \n -- * @param window The window whose property you want to change. -- * @param property The property you want to change (an atom). -- * @param type The type of the property you want to change (an atom). -- * @param format Specifies whether the data should be viewed as a list of 8-bit, 16-bit or -- * 32-bit quantities. Possible values are 8, 16 and 32. This information allows -- * the X server to correctly perform byte-swap operations as necessary. -- * @param data_len Specifies the number of elements (see \a format). -- * @param data The property data. -- * @return A cookie -- * -- * Sets or updates a property on the specified \a window. Properties are for -- * example the window title (`WM_NAME`) or its minimum size (`WM_NORMAL_HINTS`). -- * Protocols such as EWMH also use properties - for example EWMH defines the -- * window title, encoded as UTF-8 string, in the `_NET_WM_NAME` property. -- * -- * This form can be used only if the request will not cause -- * a reply to be generated. Any returned error will be -- * saved for handling by xcb_request_check(). -- function xcb_change_property_checked (c : access xcb.xcb_connection_t; mode : bits_stdint_uintn_h.uint8_t; window : xcb_window_t; property : xcb_atom_t; c_type : xcb_atom_t; format : bits_stdint_uintn_h.uint8_t; data_len : bits_stdint_uintn_h.uint32_t; data : System.Address) return xcb.xcb_void_cookie_t -- /usr/include/xcb/xproto.h:6815 with Import => True, Convention => C, External_Name => "xcb_change_property_checked"; --* -- * @brief Changes a window property -- * -- * @param c The connection -- * @param mode A bitmask of #xcb_prop_mode_t values. -- * @param mode \n -- * @param window The window whose property you want to change. -- * @param property The property you want to change (an atom). -- * @param type The type of the property you want to change (an atom). -- * @param format Specifies whether the data should be viewed as a list of 8-bit, 16-bit or -- * 32-bit quantities. Possible values are 8, 16 and 32. This information allows -- * the X server to correctly perform byte-swap operations as necessary. -- * @param data_len Specifies the number of elements (see \a format). -- * @param data The property data. -- * @return A cookie -- * -- * Sets or updates a property on the specified \a window. Properties are for -- * example the window title (`WM_NAME`) or its minimum size (`WM_NORMAL_HINTS`). -- * Protocols such as EWMH also use properties - for example EWMH defines the -- * window title, encoded as UTF-8 string, in the `_NET_WM_NAME` property. -- * -- function xcb_change_property (c : access xcb.xcb_connection_t; mode : bits_stdint_uintn_h.uint8_t; window : xcb_window_t; property : xcb_atom_t; c_type : xcb_atom_t; format : bits_stdint_uintn_h.uint8_t; data_len : bits_stdint_uintn_h.uint32_t; data : System.Address) return xcb.xcb_void_cookie_t -- /usr/include/xcb/xproto.h:6847 with Import => True, Convention => C, External_Name => "xcb_change_property"; function xcb_change_property_data (R : access constant xcb_change_property_request_t) return System.Address -- /usr/include/xcb/xproto.h:6857 with Import => True, Convention => C, External_Name => "xcb_change_property_data"; function xcb_change_property_data_length (R : access constant xcb_change_property_request_t) return int -- /usr/include/xcb/xproto.h:6860 with Import => True, Convention => C, External_Name => "xcb_change_property_data_length"; function xcb_change_property_data_end (R : access constant xcb_change_property_request_t) return xcb.xcb_generic_iterator_t -- /usr/include/xcb/xproto.h:6863 with Import => True, Convention => C, External_Name => "xcb_change_property_data_end"; --* -- * -- * @param c The connection -- * @return A cookie -- * -- * Delivers a request to the X server. -- * -- * This form can be used only if the request will not cause -- * a reply to be generated. Any returned error will be -- * saved for handling by xcb_request_check(). -- function xcb_delete_property_checked (c : access xcb.xcb_connection_t; window : xcb_window_t; property : xcb_atom_t) return xcb.xcb_void_cookie_t -- /usr/include/xcb/xproto.h:6877 with Import => True, Convention => C, External_Name => "xcb_delete_property_checked"; --* -- * -- * @param c The connection -- * @return A cookie -- * -- * Delivers a request to the X server. -- * -- function xcb_delete_property (c : access xcb.xcb_connection_t; window : xcb_window_t; property : xcb_atom_t) return xcb.xcb_void_cookie_t -- /usr/include/xcb/xproto.h:6890 with Import => True, Convention => C, External_Name => "xcb_delete_property"; function xcb_get_property_sizeof (u_buffer : System.Address) return int -- /usr/include/xcb/xproto.h:6895 with Import => True, Convention => C, External_Name => "xcb_get_property_sizeof"; --* -- * @brief Gets a window property -- * -- * @param c The connection -- * @param _delete Whether the property should actually be deleted. For deleting a property, the -- * specified \a type has to match the actual property type. -- * @param window The window whose property you want to get. -- * @param property The property you want to get (an atom). -- * @param type The type of the property you want to get (an atom). -- * @param long_offset Specifies the offset (in 32-bit multiples) in the specified property where the -- * data is to be retrieved. -- * @param long_length Specifies how many 32-bit multiples of data should be retrieved (e.g. if you -- * set \a long_length to 4, you will receive 16 bytes of data). -- * @return A cookie -- * -- * Gets the specified \a property from the specified \a window. Properties are for -- * example the window title (`WM_NAME`) or its minimum size (`WM_NORMAL_HINTS`). -- * Protocols such as EWMH also use properties - for example EWMH defines the -- * window title, encoded as UTF-8 string, in the `_NET_WM_NAME` property. -- * -- * TODO: talk about \a type -- * -- * TODO: talk about `delete` -- * -- * TODO: talk about the offset/length thing. what's a valid use case? -- * -- function xcb_get_property (c : access xcb.xcb_connection_t; u_delete : bits_stdint_uintn_h.uint8_t; window : xcb_window_t; property : xcb_atom_t; c_type : xcb_atom_t; long_offset : bits_stdint_uintn_h.uint32_t; long_length : bits_stdint_uintn_h.uint32_t) return xcb_get_property_cookie_t -- /usr/include/xcb/xproto.h:6925 with Import => True, Convention => C, External_Name => "xcb_get_property"; --* -- * @brief Gets a window property -- * -- * @param c The connection -- * @param _delete Whether the property should actually be deleted. For deleting a property, the -- * specified \a type has to match the actual property type. -- * @param window The window whose property you want to get. -- * @param property The property you want to get (an atom). -- * @param type The type of the property you want to get (an atom). -- * @param long_offset Specifies the offset (in 32-bit multiples) in the specified property where the -- * data is to be retrieved. -- * @param long_length Specifies how many 32-bit multiples of data should be retrieved (e.g. if you -- * set \a long_length to 4, you will receive 16 bytes of data). -- * @return A cookie -- * -- * Gets the specified \a property from the specified \a window. Properties are for -- * example the window title (`WM_NAME`) or its minimum size (`WM_NORMAL_HINTS`). -- * Protocols such as EWMH also use properties - for example EWMH defines the -- * window title, encoded as UTF-8 string, in the `_NET_WM_NAME` property. -- * -- * TODO: talk about \a type -- * -- * TODO: talk about `delete` -- * -- * TODO: talk about the offset/length thing. what's a valid use case? -- * -- * This form can be used only if the request will cause -- * a reply to be generated. Any returned error will be -- * placed in the event queue. -- function xcb_get_property_unchecked (c : access xcb.xcb_connection_t; u_delete : bits_stdint_uintn_h.uint8_t; window : xcb_window_t; property : xcb_atom_t; c_type : xcb_atom_t; long_offset : bits_stdint_uintn_h.uint32_t; long_length : bits_stdint_uintn_h.uint32_t) return xcb_get_property_cookie_t -- /usr/include/xcb/xproto.h:6964 with Import => True, Convention => C, External_Name => "xcb_get_property_unchecked"; function xcb_get_property_value (R : access constant xcb_get_property_reply_t) return System.Address -- /usr/include/xcb/xproto.h:6973 with Import => True, Convention => C, External_Name => "xcb_get_property_value"; function xcb_get_property_value_length (R : access constant xcb_get_property_reply_t) return int -- /usr/include/xcb/xproto.h:6976 with Import => True, Convention => C, External_Name => "xcb_get_property_value_length"; function xcb_get_property_value_end (R : access constant xcb_get_property_reply_t) return xcb.xcb_generic_iterator_t -- /usr/include/xcb/xproto.h:6979 with Import => True, Convention => C, External_Name => "xcb_get_property_value_end"; --* -- * Return the reply -- * @param c The connection -- * @param cookie The cookie -- * @param e The xcb_generic_error_t supplied -- * -- * Returns the reply of the request asked by -- * -- * The parameter @p e supplied to this function must be NULL if -- * xcb_get_property_unchecked(). is used. -- * Otherwise, it stores the error if any. -- * -- * The returned value must be freed by the caller using free(). -- function xcb_get_property_reply (c : access xcb.xcb_connection_t; cookie : xcb_get_property_cookie_t; e : System.Address) return access xcb_get_property_reply_t -- /usr/include/xcb/xproto.h:6996 with Import => True, Convention => C, External_Name => "xcb_get_property_reply"; --*< function xcb_list_properties_sizeof (u_buffer : System.Address) return int -- /usr/include/xcb/xproto.h:7001 with Import => True, Convention => C, External_Name => "xcb_list_properties_sizeof"; --* -- * -- * @param c The connection -- * @return A cookie -- * -- * Delivers a request to the X server. -- * -- function xcb_list_properties (c : access xcb.xcb_connection_t; window : xcb_window_t) return xcb_list_properties_cookie_t -- /usr/include/xcb/xproto.h:7012 with Import => True, Convention => C, External_Name => "xcb_list_properties"; --* -- * -- * @param c The connection -- * @return A cookie -- * -- * Delivers a request to the X server. -- * -- * This form can be used only if the request will cause -- * a reply to be generated. Any returned error will be -- * placed in the event queue. -- function xcb_list_properties_unchecked (c : access xcb.xcb_connection_t; window : xcb_window_t) return xcb_list_properties_cookie_t -- /usr/include/xcb/xproto.h:7027 with Import => True, Convention => C, External_Name => "xcb_list_properties_unchecked"; function xcb_list_properties_atoms (R : access constant xcb_list_properties_reply_t) return access xcb_atom_t -- /usr/include/xcb/xproto.h:7031 with Import => True, Convention => C, External_Name => "xcb_list_properties_atoms"; function xcb_list_properties_atoms_length (R : access constant xcb_list_properties_reply_t) return int -- /usr/include/xcb/xproto.h:7034 with Import => True, Convention => C, External_Name => "xcb_list_properties_atoms_length"; function xcb_list_properties_atoms_end (R : access constant xcb_list_properties_reply_t) return xcb.xcb_generic_iterator_t -- /usr/include/xcb/xproto.h:7037 with Import => True, Convention => C, External_Name => "xcb_list_properties_atoms_end"; --* -- * Return the reply -- * @param c The connection -- * @param cookie The cookie -- * @param e The xcb_generic_error_t supplied -- * -- * Returns the reply of the request asked by -- * -- * The parameter @p e supplied to this function must be NULL if -- * xcb_list_properties_unchecked(). is used. -- * Otherwise, it stores the error if any. -- * -- * The returned value must be freed by the caller using free(). -- function xcb_list_properties_reply (c : access xcb.xcb_connection_t; cookie : xcb_list_properties_cookie_t; e : System.Address) return access xcb_list_properties_reply_t -- /usr/include/xcb/xproto.h:7054 with Import => True, Convention => C, External_Name => "xcb_list_properties_reply"; --*< --* -- * @brief Sets the owner of a selection -- * -- * @param c The connection -- * @param owner The new owner of the selection. -- * \n -- * The special value `XCB_NONE` means that the selection will have no owner. -- * @param selection The selection. -- * @param time Timestamp to avoid race conditions when running X over the network. -- * \n -- * The selection will not be changed if \a time is earlier than the current -- * last-change time of the \a selection or is later than the current X server time. -- * Otherwise, the last-change time is set to the specified time. -- * \n -- * The special value `XCB_CURRENT_TIME` will be replaced with the current server -- * time. -- * @return A cookie -- * -- * Makes `window` the owner of the selection \a selection and updates the -- * last-change time of the specified selection. -- * -- * TODO: briefly explain what a selection is. -- * -- * This form can be used only if the request will not cause -- * a reply to be generated. Any returned error will be -- * saved for handling by xcb_request_check(). -- function xcb_set_selection_owner_checked (c : access xcb.xcb_connection_t; owner : xcb_window_t; selection : xcb_atom_t; time : xcb_timestamp_t) return xcb.xcb_void_cookie_t -- /usr/include/xcb/xproto.h:7086 with Import => True, Convention => C, External_Name => "xcb_set_selection_owner_checked"; --* -- * @brief Sets the owner of a selection -- * -- * @param c The connection -- * @param owner The new owner of the selection. -- * \n -- * The special value `XCB_NONE` means that the selection will have no owner. -- * @param selection The selection. -- * @param time Timestamp to avoid race conditions when running X over the network. -- * \n -- * The selection will not be changed if \a time is earlier than the current -- * last-change time of the \a selection or is later than the current X server time. -- * Otherwise, the last-change time is set to the specified time. -- * \n -- * The special value `XCB_CURRENT_TIME` will be replaced with the current server -- * time. -- * @return A cookie -- * -- * Makes `window` the owner of the selection \a selection and updates the -- * last-change time of the specified selection. -- * -- * TODO: briefly explain what a selection is. -- * -- function xcb_set_selection_owner (c : access xcb.xcb_connection_t; owner : xcb_window_t; selection : xcb_atom_t; time : xcb_timestamp_t) return xcb.xcb_void_cookie_t -- /usr/include/xcb/xproto.h:7116 with Import => True, Convention => C, External_Name => "xcb_set_selection_owner"; --* -- * @brief Gets the owner of a selection -- * -- * @param c The connection -- * @param selection The selection. -- * @return A cookie -- * -- * Gets the owner of the specified selection. -- * -- * TODO: briefly explain what a selection is. -- * -- function xcb_get_selection_owner (c : access xcb.xcb_connection_t; selection : xcb_atom_t) return xcb_get_selection_owner_cookie_t -- /usr/include/xcb/xproto.h:7134 with Import => True, Convention => C, External_Name => "xcb_get_selection_owner"; --* -- * @brief Gets the owner of a selection -- * -- * @param c The connection -- * @param selection The selection. -- * @return A cookie -- * -- * Gets the owner of the specified selection. -- * -- * TODO: briefly explain what a selection is. -- * -- * This form can be used only if the request will cause -- * a reply to be generated. Any returned error will be -- * placed in the event queue. -- function xcb_get_selection_owner_unchecked (c : access xcb.xcb_connection_t; selection : xcb_atom_t) return xcb_get_selection_owner_cookie_t -- /usr/include/xcb/xproto.h:7153 with Import => True, Convention => C, External_Name => "xcb_get_selection_owner_unchecked"; --* -- * Return the reply -- * @param c The connection -- * @param cookie The cookie -- * @param e The xcb_generic_error_t supplied -- * -- * Returns the reply of the request asked by -- * -- * The parameter @p e supplied to this function must be NULL if -- * xcb_get_selection_owner_unchecked(). is used. -- * Otherwise, it stores the error if any. -- * -- * The returned value must be freed by the caller using free(). -- function xcb_get_selection_owner_reply (c : access xcb.xcb_connection_t; cookie : xcb_get_selection_owner_cookie_t; e : System.Address) return access xcb_get_selection_owner_reply_t -- /usr/include/xcb/xproto.h:7171 with Import => True, Convention => C, External_Name => "xcb_get_selection_owner_reply"; --*< --* -- * -- * @param c The connection -- * @return A cookie -- * -- * Delivers a request to the X server. -- * -- * This form can be used only if the request will not cause -- * a reply to be generated. Any returned error will be -- * saved for handling by xcb_request_check(). -- function xcb_convert_selection_checked (c : access xcb.xcb_connection_t; requestor : xcb_window_t; selection : xcb_atom_t; target : xcb_atom_t; property : xcb_atom_t; time : xcb_timestamp_t) return xcb.xcb_void_cookie_t -- /usr/include/xcb/xproto.h:7187 with Import => True, Convention => C, External_Name => "xcb_convert_selection_checked"; --* -- * -- * @param c The connection -- * @return A cookie -- * -- * Delivers a request to the X server. -- * -- function xcb_convert_selection (c : access xcb.xcb_connection_t; requestor : xcb_window_t; selection : xcb_atom_t; target : xcb_atom_t; property : xcb_atom_t; time : xcb_timestamp_t) return xcb.xcb_void_cookie_t -- /usr/include/xcb/xproto.h:7203 with Import => True, Convention => C, External_Name => "xcb_convert_selection"; --* -- * @brief send an event -- * -- * @param c The connection -- * @param propagate If \a propagate is true and no clients have selected any event on \a destination, -- * the destination is replaced with the closest ancestor of \a destination for -- * which some client has selected a type in \a event_mask and for which no -- * intervening window has that type in its do-not-propagate-mask. If no such -- * window exists or if the window is an ancestor of the focus window and -- * `InputFocus` was originally specified as the destination, the event is not sent -- * to any clients. Otherwise, the event is reported to every client selecting on -- * the final destination any of the types specified in \a event_mask. -- * @param destination The window to send this event to. Every client which selects any event within -- * \a event_mask on \a destination will get the event. -- * \n -- * The special value `XCB_SEND_EVENT_DEST_POINTER_WINDOW` refers to the window -- * that contains the mouse pointer. -- * \n -- * The special value `XCB_SEND_EVENT_DEST_ITEM_FOCUS` refers to the window which -- * has the keyboard focus. -- * @param event_mask Event_mask for determining which clients should receive the specified event. -- * See \a destination and \a propagate. -- * @param event The event to send to the specified \a destination. -- * @return A cookie -- * -- * Identifies the \a destination window, determines which clients should receive -- * the specified event and ignores any active grabs. -- * -- * The \a event must be one of the core events or an event defined by an extension, -- * so that the X server can correctly byte-swap the contents as necessary. The -- * contents of \a event are otherwise unaltered and unchecked except for the -- * `send_event` field which is forced to 'true'. -- * -- * This form can be used only if the request will not cause -- * a reply to be generated. Any returned error will be -- * saved for handling by xcb_request_check(). -- function xcb_send_event_checked (c : access xcb.xcb_connection_t; propagate : bits_stdint_uintn_h.uint8_t; destination : xcb_window_t; event_mask : bits_stdint_uintn_h.uint32_t; event : Interfaces.C.Strings.chars_ptr) return xcb.xcb_void_cookie_t -- /usr/include/xcb/xproto.h:7248 with Import => True, Convention => C, External_Name => "xcb_send_event_checked"; --* -- * @brief send an event -- * -- * @param c The connection -- * @param propagate If \a propagate is true and no clients have selected any event on \a destination, -- * the destination is replaced with the closest ancestor of \a destination for -- * which some client has selected a type in \a event_mask and for which no -- * intervening window has that type in its do-not-propagate-mask. If no such -- * window exists or if the window is an ancestor of the focus window and -- * `InputFocus` was originally specified as the destination, the event is not sent -- * to any clients. Otherwise, the event is reported to every client selecting on -- * the final destination any of the types specified in \a event_mask. -- * @param destination The window to send this event to. Every client which selects any event within -- * \a event_mask on \a destination will get the event. -- * \n -- * The special value `XCB_SEND_EVENT_DEST_POINTER_WINDOW` refers to the window -- * that contains the mouse pointer. -- * \n -- * The special value `XCB_SEND_EVENT_DEST_ITEM_FOCUS` refers to the window which -- * has the keyboard focus. -- * @param event_mask Event_mask for determining which clients should receive the specified event. -- * See \a destination and \a propagate. -- * @param event The event to send to the specified \a destination. -- * @return A cookie -- * -- * Identifies the \a destination window, determines which clients should receive -- * the specified event and ignores any active grabs. -- * -- * The \a event must be one of the core events or an event defined by an extension, -- * so that the X server can correctly byte-swap the contents as necessary. The -- * contents of \a event are otherwise unaltered and unchecked except for the -- * `send_event` field which is forced to 'true'. -- * -- function xcb_send_event (c : access xcb.xcb_connection_t; propagate : bits_stdint_uintn_h.uint8_t; destination : xcb_window_t; event_mask : bits_stdint_uintn_h.uint32_t; event : Interfaces.C.Strings.chars_ptr) return xcb.xcb_void_cookie_t -- /usr/include/xcb/xproto.h:7289 with Import => True, Convention => C, External_Name => "xcb_send_event"; --* -- * @brief Grab the pointer -- * -- * @param c The connection -- * @param owner_events If 1, the \a grab_window will still get the pointer events. If 0, events are not -- * reported to the \a grab_window. -- * @param grab_window Specifies the window on which the pointer should be grabbed. -- * @param event_mask Specifies which pointer events are reported to the client. -- * \n -- * TODO: which values? -- * @param pointer_mode A bitmask of #xcb_grab_mode_t values. -- * @param pointer_mode \n -- * @param keyboard_mode A bitmask of #xcb_grab_mode_t values. -- * @param keyboard_mode \n -- * @param confine_to Specifies the window to confine the pointer in (the user will not be able to -- * move the pointer out of that window). -- * \n -- * The special value `XCB_NONE` means don't confine the pointer. -- * @param cursor Specifies the cursor that should be displayed or `XCB_NONE` to not change the -- * cursor. -- * @param time The time argument allows you to avoid certain circumstances that come up if -- * applications take a long time to respond or if there are long network delays. -- * Consider a situation where you have two applications, both of which normally -- * grab the pointer when clicked on. If both applications specify the timestamp -- * from the event, the second application may wake up faster and successfully grab -- * the pointer before the first application. The first application then will get -- * an indication that the other application grabbed the pointer before its request -- * was processed. -- * \n -- * The special value `XCB_CURRENT_TIME` will be replaced with the current server -- * time. -- * @return A cookie -- * -- * Actively grabs control of the pointer. Further pointer events are reported only to the grabbing client. Overrides any active pointer grab by this client. -- * -- function xcb_grab_pointer (c : access xcb.xcb_connection_t; owner_events : bits_stdint_uintn_h.uint8_t; grab_window : xcb_window_t; event_mask : bits_stdint_uintn_h.uint16_t; pointer_mode : bits_stdint_uintn_h.uint8_t; keyboard_mode : bits_stdint_uintn_h.uint8_t; confine_to : xcb_window_t; cursor : xcb_cursor_t; time : xcb_timestamp_t) return xcb_grab_pointer_cookie_t -- /usr/include/xcb/xproto.h:7332 with Import => True, Convention => C, External_Name => "xcb_grab_pointer"; --* -- * @brief Grab the pointer -- * -- * @param c The connection -- * @param owner_events If 1, the \a grab_window will still get the pointer events. If 0, events are not -- * reported to the \a grab_window. -- * @param grab_window Specifies the window on which the pointer should be grabbed. -- * @param event_mask Specifies which pointer events are reported to the client. -- * \n -- * TODO: which values? -- * @param pointer_mode A bitmask of #xcb_grab_mode_t values. -- * @param pointer_mode \n -- * @param keyboard_mode A bitmask of #xcb_grab_mode_t values. -- * @param keyboard_mode \n -- * @param confine_to Specifies the window to confine the pointer in (the user will not be able to -- * move the pointer out of that window). -- * \n -- * The special value `XCB_NONE` means don't confine the pointer. -- * @param cursor Specifies the cursor that should be displayed or `XCB_NONE` to not change the -- * cursor. -- * @param time The time argument allows you to avoid certain circumstances that come up if -- * applications take a long time to respond or if there are long network delays. -- * Consider a situation where you have two applications, both of which normally -- * grab the pointer when clicked on. If both applications specify the timestamp -- * from the event, the second application may wake up faster and successfully grab -- * the pointer before the first application. The first application then will get -- * an indication that the other application grabbed the pointer before its request -- * was processed. -- * \n -- * The special value `XCB_CURRENT_TIME` will be replaced with the current server -- * time. -- * @return A cookie -- * -- * Actively grabs control of the pointer. Further pointer events are reported only to the grabbing client. Overrides any active pointer grab by this client. -- * -- * This form can be used only if the request will cause -- * a reply to be generated. Any returned error will be -- * placed in the event queue. -- function xcb_grab_pointer_unchecked (c : access xcb.xcb_connection_t; owner_events : bits_stdint_uintn_h.uint8_t; grab_window : xcb_window_t; event_mask : bits_stdint_uintn_h.uint16_t; pointer_mode : bits_stdint_uintn_h.uint8_t; keyboard_mode : bits_stdint_uintn_h.uint8_t; confine_to : xcb_window_t; cursor : xcb_cursor_t; time : xcb_timestamp_t) return xcb_grab_pointer_cookie_t -- /usr/include/xcb/xproto.h:7382 with Import => True, Convention => C, External_Name => "xcb_grab_pointer_unchecked"; --* -- * Return the reply -- * @param c The connection -- * @param cookie The cookie -- * @param e The xcb_generic_error_t supplied -- * -- * Returns the reply of the request asked by -- * -- * The parameter @p e supplied to this function must be NULL if -- * xcb_grab_pointer_unchecked(). is used. -- * Otherwise, it stores the error if any. -- * -- * The returned value must be freed by the caller using free(). -- function xcb_grab_pointer_reply (c : access xcb.xcb_connection_t; cookie : xcb_grab_pointer_cookie_t; e : System.Address) return access xcb_grab_pointer_reply_t -- /usr/include/xcb/xproto.h:7407 with Import => True, Convention => C, External_Name => "xcb_grab_pointer_reply"; --*< --* -- * @brief release the pointer -- * -- * @param c The connection -- * @param time Timestamp to avoid race conditions when running X over the network. -- * \n -- * The pointer will not be released if \a time is earlier than the -- * last-pointer-grab time or later than the current X server time. -- * @return A cookie -- * -- * Releases the pointer and any queued events if you actively grabbed the pointer -- * before using `xcb_grab_pointer`, `xcb_grab_button` or within a normal button -- * press. -- * -- * EnterNotify and LeaveNotify events are generated. -- * -- * This form can be used only if the request will not cause -- * a reply to be generated. Any returned error will be -- * saved for handling by xcb_request_check(). -- function xcb_ungrab_pointer_checked (c : access xcb.xcb_connection_t; time : xcb_timestamp_t) return xcb.xcb_void_cookie_t -- /usr/include/xcb/xproto.h:7432 with Import => True, Convention => C, External_Name => "xcb_ungrab_pointer_checked"; --* -- * @brief release the pointer -- * -- * @param c The connection -- * @param time Timestamp to avoid race conditions when running X over the network. -- * \n -- * The pointer will not be released if \a time is earlier than the -- * last-pointer-grab time or later than the current X server time. -- * @return A cookie -- * -- * Releases the pointer and any queued events if you actively grabbed the pointer -- * before using `xcb_grab_pointer`, `xcb_grab_button` or within a normal button -- * press. -- * -- * EnterNotify and LeaveNotify events are generated. -- * -- function xcb_ungrab_pointer (c : access xcb.xcb_connection_t; time : xcb_timestamp_t) return xcb.xcb_void_cookie_t -- /usr/include/xcb/xproto.h:7453 with Import => True, Convention => C, External_Name => "xcb_ungrab_pointer"; --* -- * @brief Grab pointer button(s) -- * -- * @param c The connection -- * @param owner_events If 1, the \a grab_window will still get the pointer events. If 0, events are not -- * reported to the \a grab_window. -- * @param grab_window Specifies the window on which the pointer should be grabbed. -- * @param event_mask Specifies which pointer events are reported to the client. -- * \n -- * TODO: which values? -- * @param pointer_mode A bitmask of #xcb_grab_mode_t values. -- * @param pointer_mode \n -- * @param keyboard_mode A bitmask of #xcb_grab_mode_t values. -- * @param keyboard_mode \n -- * @param confine_to Specifies the window to confine the pointer in (the user will not be able to -- * move the pointer out of that window). -- * \n -- * The special value `XCB_NONE` means don't confine the pointer. -- * @param cursor Specifies the cursor that should be displayed or `XCB_NONE` to not change the -- * cursor. -- * @param button A bitmask of #xcb_button_index_t values. -- * @param button \n -- * @param modifiers The modifiers to grab. -- * \n -- * Using the special value `XCB_MOD_MASK_ANY` means grab the pointer with all -- * possible modifier combinations. -- * @return A cookie -- * -- * This request establishes a passive grab. The pointer is actively grabbed as -- * described in GrabPointer, the last-pointer-grab time is set to the time at -- * which the button was pressed (as transmitted in the ButtonPress event), and the -- * ButtonPress event is reported if all of the following conditions are true: -- * -- * The pointer is not grabbed and the specified button is logically pressed when -- * the specified modifier keys are logically down, and no other buttons or -- * modifier keys are logically down. -- * -- * The grab-window contains the pointer. -- * -- * The confine-to window (if any) is viewable. -- * -- * A passive grab on the same button/key combination does not exist on any -- * ancestor of grab-window. -- * -- * The interpretation of the remaining arguments is the same as for GrabPointer. -- * The active grab is terminated automatically when the logical state of the -- * pointer has all buttons released, independent of the logical state of modifier -- * keys. Note that the logical state of a device (as seen by means of the -- * protocol) may lag the physical state if device event processing is frozen. This -- * request overrides all previous passive grabs by the same client on the same -- * button/key combinations on the same window. A modifier of AnyModifier is -- * equivalent to issuing the request for all possible modifier combinations -- * (including the combination of no modifiers). It is not required that all -- * specified modifiers have currently assigned keycodes. A button of AnyButton is -- * equivalent to issuing the request for all possible buttons. Otherwise, it is -- * not required that the button specified currently be assigned to a physical -- * button. -- * -- * An Access error is generated if some other client has already issued a -- * GrabButton request with the same button/key combination on the same window. -- * When using AnyModifier or AnyButton, the request fails completely (no grabs are -- * established), and an Access error is generated if there is a conflicting grab -- * for any combination. The request has no effect on an active grab. -- * -- * This form can be used only if the request will not cause -- * a reply to be generated. Any returned error will be -- * saved for handling by xcb_request_check(). -- function xcb_grab_button_checked (c : access xcb.xcb_connection_t; owner_events : bits_stdint_uintn_h.uint8_t; grab_window : xcb_window_t; event_mask : bits_stdint_uintn_h.uint16_t; pointer_mode : bits_stdint_uintn_h.uint8_t; keyboard_mode : bits_stdint_uintn_h.uint8_t; confine_to : xcb_window_t; cursor : xcb_cursor_t; button : bits_stdint_uintn_h.uint8_t; modifiers : bits_stdint_uintn_h.uint16_t) return xcb.xcb_void_cookie_t -- /usr/include/xcb/xproto.h:7525 with Import => True, Convention => C, External_Name => "xcb_grab_button_checked"; --* -- * @brief Grab pointer button(s) -- * -- * @param c The connection -- * @param owner_events If 1, the \a grab_window will still get the pointer events. If 0, events are not -- * reported to the \a grab_window. -- * @param grab_window Specifies the window on which the pointer should be grabbed. -- * @param event_mask Specifies which pointer events are reported to the client. -- * \n -- * TODO: which values? -- * @param pointer_mode A bitmask of #xcb_grab_mode_t values. -- * @param pointer_mode \n -- * @param keyboard_mode A bitmask of #xcb_grab_mode_t values. -- * @param keyboard_mode \n -- * @param confine_to Specifies the window to confine the pointer in (the user will not be able to -- * move the pointer out of that window). -- * \n -- * The special value `XCB_NONE` means don't confine the pointer. -- * @param cursor Specifies the cursor that should be displayed or `XCB_NONE` to not change the -- * cursor. -- * @param button A bitmask of #xcb_button_index_t values. -- * @param button \n -- * @param modifiers The modifiers to grab. -- * \n -- * Using the special value `XCB_MOD_MASK_ANY` means grab the pointer with all -- * possible modifier combinations. -- * @return A cookie -- * -- * This request establishes a passive grab. The pointer is actively grabbed as -- * described in GrabPointer, the last-pointer-grab time is set to the time at -- * which the button was pressed (as transmitted in the ButtonPress event), and the -- * ButtonPress event is reported if all of the following conditions are true: -- * -- * The pointer is not grabbed and the specified button is logically pressed when -- * the specified modifier keys are logically down, and no other buttons or -- * modifier keys are logically down. -- * -- * The grab-window contains the pointer. -- * -- * The confine-to window (if any) is viewable. -- * -- * A passive grab on the same button/key combination does not exist on any -- * ancestor of grab-window. -- * -- * The interpretation of the remaining arguments is the same as for GrabPointer. -- * The active grab is terminated automatically when the logical state of the -- * pointer has all buttons released, independent of the logical state of modifier -- * keys. Note that the logical state of a device (as seen by means of the -- * protocol) may lag the physical state if device event processing is frozen. This -- * request overrides all previous passive grabs by the same client on the same -- * button/key combinations on the same window. A modifier of AnyModifier is -- * equivalent to issuing the request for all possible modifier combinations -- * (including the combination of no modifiers). It is not required that all -- * specified modifiers have currently assigned keycodes. A button of AnyButton is -- * equivalent to issuing the request for all possible buttons. Otherwise, it is -- * not required that the button specified currently be assigned to a physical -- * button. -- * -- * An Access error is generated if some other client has already issued a -- * GrabButton request with the same button/key combination on the same window. -- * When using AnyModifier or AnyButton, the request fails completely (no grabs are -- * established), and an Access error is generated if there is a conflicting grab -- * for any combination. The request has no effect on an active grab. -- * -- function xcb_grab_button (c : access xcb.xcb_connection_t; owner_events : bits_stdint_uintn_h.uint8_t; grab_window : xcb_window_t; event_mask : bits_stdint_uintn_h.uint16_t; pointer_mode : bits_stdint_uintn_h.uint8_t; keyboard_mode : bits_stdint_uintn_h.uint8_t; confine_to : xcb_window_t; cursor : xcb_cursor_t; button : bits_stdint_uintn_h.uint8_t; modifiers : bits_stdint_uintn_h.uint16_t) return xcb.xcb_void_cookie_t -- /usr/include/xcb/xproto.h:7602 with Import => True, Convention => C, External_Name => "xcb_grab_button"; --* -- * -- * @param c The connection -- * @return A cookie -- * -- * Delivers a request to the X server. -- * -- * This form can be used only if the request will not cause -- * a reply to be generated. Any returned error will be -- * saved for handling by xcb_request_check(). -- function xcb_ungrab_button_checked (c : access xcb.xcb_connection_t; button : bits_stdint_uintn_h.uint8_t; grab_window : xcb_window_t; modifiers : bits_stdint_uintn_h.uint16_t) return xcb.xcb_void_cookie_t -- /usr/include/xcb/xproto.h:7625 with Import => True, Convention => C, External_Name => "xcb_ungrab_button_checked"; --* -- * -- * @param c The connection -- * @return A cookie -- * -- * Delivers a request to the X server. -- * -- function xcb_ungrab_button (c : access xcb.xcb_connection_t; button : bits_stdint_uintn_h.uint8_t; grab_window : xcb_window_t; modifiers : bits_stdint_uintn_h.uint16_t) return xcb.xcb_void_cookie_t -- /usr/include/xcb/xproto.h:7639 with Import => True, Convention => C, External_Name => "xcb_ungrab_button"; --* -- * -- * @param c The connection -- * @return A cookie -- * -- * Delivers a request to the X server. -- * -- * This form can be used only if the request will not cause -- * a reply to be generated. Any returned error will be -- * saved for handling by xcb_request_check(). -- function xcb_change_active_pointer_grab_checked (c : access xcb.xcb_connection_t; cursor : xcb_cursor_t; time : xcb_timestamp_t; event_mask : bits_stdint_uintn_h.uint16_t) return xcb.xcb_void_cookie_t -- /usr/include/xcb/xproto.h:7656 with Import => True, Convention => C, External_Name => "xcb_change_active_pointer_grab_checked"; --* -- * -- * @param c The connection -- * @return A cookie -- * -- * Delivers a request to the X server. -- * -- function xcb_change_active_pointer_grab (c : access xcb.xcb_connection_t; cursor : xcb_cursor_t; time : xcb_timestamp_t; event_mask : bits_stdint_uintn_h.uint16_t) return xcb.xcb_void_cookie_t -- /usr/include/xcb/xproto.h:7670 with Import => True, Convention => C, External_Name => "xcb_change_active_pointer_grab"; --* -- * @brief Grab the keyboard -- * -- * @param c The connection -- * @param owner_events If 1, the \a grab_window will still get the pointer events. If 0, events are not -- * reported to the \a grab_window. -- * @param grab_window Specifies the window on which the pointer should be grabbed. -- * @param time Timestamp to avoid race conditions when running X over the network. -- * \n -- * The special value `XCB_CURRENT_TIME` will be replaced with the current server -- * time. -- * @param pointer_mode A bitmask of #xcb_grab_mode_t values. -- * @param pointer_mode \n -- * @param keyboard_mode A bitmask of #xcb_grab_mode_t values. -- * @param keyboard_mode \n -- * @return A cookie -- * -- * Actively grabs control of the keyboard and generates FocusIn and FocusOut -- * events. Further key events are reported only to the grabbing client. -- * -- * Any active keyboard grab by this client is overridden. If the keyboard is -- * actively grabbed by some other client, `AlreadyGrabbed` is returned. If -- * \a grab_window is not viewable, `GrabNotViewable` is returned. If the keyboard -- * is frozen by an active grab of another client, `GrabFrozen` is returned. If the -- * specified \a time is earlier than the last-keyboard-grab time or later than the -- * current X server time, `GrabInvalidTime` is returned. Otherwise, the -- * last-keyboard-grab time is set to the specified time. -- * -- function xcb_grab_keyboard (c : access xcb.xcb_connection_t; owner_events : bits_stdint_uintn_h.uint8_t; grab_window : xcb_window_t; time : xcb_timestamp_t; pointer_mode : bits_stdint_uintn_h.uint8_t; keyboard_mode : bits_stdint_uintn_h.uint8_t) return xcb_grab_keyboard_cookie_t -- /usr/include/xcb/xproto.h:7705 with Import => True, Convention => C, External_Name => "xcb_grab_keyboard"; --* -- * @brief Grab the keyboard -- * -- * @param c The connection -- * @param owner_events If 1, the \a grab_window will still get the pointer events. If 0, events are not -- * reported to the \a grab_window. -- * @param grab_window Specifies the window on which the pointer should be grabbed. -- * @param time Timestamp to avoid race conditions when running X over the network. -- * \n -- * The special value `XCB_CURRENT_TIME` will be replaced with the current server -- * time. -- * @param pointer_mode A bitmask of #xcb_grab_mode_t values. -- * @param pointer_mode \n -- * @param keyboard_mode A bitmask of #xcb_grab_mode_t values. -- * @param keyboard_mode \n -- * @return A cookie -- * -- * Actively grabs control of the keyboard and generates FocusIn and FocusOut -- * events. Further key events are reported only to the grabbing client. -- * -- * Any active keyboard grab by this client is overridden. If the keyboard is -- * actively grabbed by some other client, `AlreadyGrabbed` is returned. If -- * \a grab_window is not viewable, `GrabNotViewable` is returned. If the keyboard -- * is frozen by an active grab of another client, `GrabFrozen` is returned. If the -- * specified \a time is earlier than the last-keyboard-grab time or later than the -- * current X server time, `GrabInvalidTime` is returned. Otherwise, the -- * last-keyboard-grab time is set to the specified time. -- * -- * This form can be used only if the request will cause -- * a reply to be generated. Any returned error will be -- * placed in the event queue. -- function xcb_grab_keyboard_unchecked (c : access xcb.xcb_connection_t; owner_events : bits_stdint_uintn_h.uint8_t; grab_window : xcb_window_t; time : xcb_timestamp_t; pointer_mode : bits_stdint_uintn_h.uint8_t; keyboard_mode : bits_stdint_uintn_h.uint8_t) return xcb_grab_keyboard_cookie_t -- /usr/include/xcb/xproto.h:7745 with Import => True, Convention => C, External_Name => "xcb_grab_keyboard_unchecked"; --* -- * Return the reply -- * @param c The connection -- * @param cookie The cookie -- * @param e The xcb_generic_error_t supplied -- * -- * Returns the reply of the request asked by -- * -- * The parameter @p e supplied to this function must be NULL if -- * xcb_grab_keyboard_unchecked(). is used. -- * Otherwise, it stores the error if any. -- * -- * The returned value must be freed by the caller using free(). -- function xcb_grab_keyboard_reply (c : access xcb.xcb_connection_t; cookie : xcb_grab_keyboard_cookie_t; e : System.Address) return access xcb_grab_keyboard_reply_t -- /usr/include/xcb/xproto.h:7767 with Import => True, Convention => C, External_Name => "xcb_grab_keyboard_reply"; --*< --* -- * -- * @param c The connection -- * @return A cookie -- * -- * Delivers a request to the X server. -- * -- * This form can be used only if the request will not cause -- * a reply to be generated. Any returned error will be -- * saved for handling by xcb_request_check(). -- function xcb_ungrab_keyboard_checked (c : access xcb.xcb_connection_t; time : xcb_timestamp_t) return xcb.xcb_void_cookie_t -- /usr/include/xcb/xproto.h:7783 with Import => True, Convention => C, External_Name => "xcb_ungrab_keyboard_checked"; --* -- * -- * @param c The connection -- * @return A cookie -- * -- * Delivers a request to the X server. -- * -- function xcb_ungrab_keyboard (c : access xcb.xcb_connection_t; time : xcb_timestamp_t) return xcb.xcb_void_cookie_t -- /usr/include/xcb/xproto.h:7795 with Import => True, Convention => C, External_Name => "xcb_ungrab_keyboard"; --* -- * @brief Grab keyboard key(s) -- * -- * @param c The connection -- * @param owner_events If 1, the \a grab_window will still get the pointer events. If 0, events are not -- * reported to the \a grab_window. -- * @param grab_window Specifies the window on which the pointer should be grabbed. -- * @param modifiers The modifiers to grab. -- * \n -- * Using the special value `XCB_MOD_MASK_ANY` means grab the pointer with all -- * possible modifier combinations. -- * @param key The keycode of the key to grab. -- * \n -- * The special value `XCB_GRAB_ANY` means grab any key. -- * @param pointer_mode A bitmask of #xcb_grab_mode_t values. -- * @param pointer_mode \n -- * @param keyboard_mode A bitmask of #xcb_grab_mode_t values. -- * @param keyboard_mode \n -- * @return A cookie -- * -- * Establishes a passive grab on the keyboard. In the future, the keyboard is -- * actively grabbed (as for `GrabKeyboard`), the last-keyboard-grab time is set to -- * the time at which the key was pressed (as transmitted in the KeyPress event), -- * and the KeyPress event is reported if all of the following conditions are true: -- * -- * The keyboard is not grabbed and the specified key (which can itself be a -- * modifier key) is logically pressed when the specified modifier keys are -- * logically down, and no other modifier keys are logically down. -- * -- * Either the grab_window is an ancestor of (or is) the focus window, or the -- * grab_window is a descendant of the focus window and contains the pointer. -- * -- * A passive grab on the same key combination does not exist on any ancestor of -- * grab_window. -- * -- * The interpretation of the remaining arguments is as for XGrabKeyboard. The active grab is terminated -- * automatically when the logical state of the keyboard has the specified key released (independent of the -- * logical state of the modifier keys), at which point a KeyRelease event is reported to the grabbing window. -- * -- * Note that the logical state of a device (as seen by client applications) may lag the physical state if -- * device event processing is frozen. -- * -- * A modifiers argument of AnyModifier is equivalent to issuing the request for all possible modifier combinations (including the combination of no modifiers). It is not required that all modifiers specified -- * have currently assigned KeyCodes. A keycode argument of AnyKey is equivalent to issuing the request for -- * all possible KeyCodes. Otherwise, the specified keycode must be in the range specified by min_keycode -- * and max_keycode in the connection setup, or a BadValue error results. -- * -- * If some other client has issued a XGrabKey with the same key combination on the same window, a BadAccess -- * error results. When using AnyModifier or AnyKey, the request fails completely, and a BadAccess error -- * results (no grabs are established) if there is a conflicting grab for any combination. -- * -- * This form can be used only if the request will not cause -- * a reply to be generated. Any returned error will be -- * saved for handling by xcb_request_check(). -- function xcb_grab_key_checked (c : access xcb.xcb_connection_t; owner_events : bits_stdint_uintn_h.uint8_t; grab_window : xcb_window_t; modifiers : bits_stdint_uintn_h.uint16_t; key : xcb_keycode_t; pointer_mode : bits_stdint_uintn_h.uint8_t; keyboard_mode : bits_stdint_uintn_h.uint8_t) return xcb.xcb_void_cookie_t -- /usr/include/xcb/xproto.h:7854 with Import => True, Convention => C, External_Name => "xcb_grab_key_checked"; --* -- * @brief Grab keyboard key(s) -- * -- * @param c The connection -- * @param owner_events If 1, the \a grab_window will still get the pointer events. If 0, events are not -- * reported to the \a grab_window. -- * @param grab_window Specifies the window on which the pointer should be grabbed. -- * @param modifiers The modifiers to grab. -- * \n -- * Using the special value `XCB_MOD_MASK_ANY` means grab the pointer with all -- * possible modifier combinations. -- * @param key The keycode of the key to grab. -- * \n -- * The special value `XCB_GRAB_ANY` means grab any key. -- * @param pointer_mode A bitmask of #xcb_grab_mode_t values. -- * @param pointer_mode \n -- * @param keyboard_mode A bitmask of #xcb_grab_mode_t values. -- * @param keyboard_mode \n -- * @return A cookie -- * -- * Establishes a passive grab on the keyboard. In the future, the keyboard is -- * actively grabbed (as for `GrabKeyboard`), the last-keyboard-grab time is set to -- * the time at which the key was pressed (as transmitted in the KeyPress event), -- * and the KeyPress event is reported if all of the following conditions are true: -- * -- * The keyboard is not grabbed and the specified key (which can itself be a -- * modifier key) is logically pressed when the specified modifier keys are -- * logically down, and no other modifier keys are logically down. -- * -- * Either the grab_window is an ancestor of (or is) the focus window, or the -- * grab_window is a descendant of the focus window and contains the pointer. -- * -- * A passive grab on the same key combination does not exist on any ancestor of -- * grab_window. -- * -- * The interpretation of the remaining arguments is as for XGrabKeyboard. The active grab is terminated -- * automatically when the logical state of the keyboard has the specified key released (independent of the -- * logical state of the modifier keys), at which point a KeyRelease event is reported to the grabbing window. -- * -- * Note that the logical state of a device (as seen by client applications) may lag the physical state if -- * device event processing is frozen. -- * -- * A modifiers argument of AnyModifier is equivalent to issuing the request for all possible modifier combinations (including the combination of no modifiers). It is not required that all modifiers specified -- * have currently assigned KeyCodes. A keycode argument of AnyKey is equivalent to issuing the request for -- * all possible KeyCodes. Otherwise, the specified keycode must be in the range specified by min_keycode -- * and max_keycode in the connection setup, or a BadValue error results. -- * -- * If some other client has issued a XGrabKey with the same key combination on the same window, a BadAccess -- * error results. When using AnyModifier or AnyKey, the request fails completely, and a BadAccess error -- * results (no grabs are established) if there is a conflicting grab for any combination. -- * -- function xcb_grab_key (c : access xcb.xcb_connection_t; owner_events : bits_stdint_uintn_h.uint8_t; grab_window : xcb_window_t; modifiers : bits_stdint_uintn_h.uint16_t; key : xcb_keycode_t; pointer_mode : bits_stdint_uintn_h.uint8_t; keyboard_mode : bits_stdint_uintn_h.uint8_t) return xcb.xcb_void_cookie_t -- /usr/include/xcb/xproto.h:7915 with Import => True, Convention => C, External_Name => "xcb_grab_key"; --* -- * @brief release a key combination -- * -- * @param c The connection -- * @param key The keycode of the specified key combination. -- * \n -- * Using the special value `XCB_GRAB_ANY` means releasing all possible key codes. -- * @param grab_window The window on which the grabbed key combination will be released. -- * @param modifiers The modifiers of the specified key combination. -- * \n -- * Using the special value `XCB_MOD_MASK_ANY` means releasing the key combination -- * with every possible modifier combination. -- * @return A cookie -- * -- * Releases the key combination on \a grab_window if you grabbed it using -- * `xcb_grab_key` before. -- * -- * This form can be used only if the request will not cause -- * a reply to be generated. Any returned error will be -- * saved for handling by xcb_request_check(). -- function xcb_ungrab_key_checked (c : access xcb.xcb_connection_t; key : xcb_keycode_t; grab_window : xcb_window_t; modifiers : bits_stdint_uintn_h.uint16_t) return xcb.xcb_void_cookie_t -- /usr/include/xcb/xproto.h:7945 with Import => True, Convention => C, External_Name => "xcb_ungrab_key_checked"; --* -- * @brief release a key combination -- * -- * @param c The connection -- * @param key The keycode of the specified key combination. -- * \n -- * Using the special value `XCB_GRAB_ANY` means releasing all possible key codes. -- * @param grab_window The window on which the grabbed key combination will be released. -- * @param modifiers The modifiers of the specified key combination. -- * \n -- * Using the special value `XCB_MOD_MASK_ANY` means releasing the key combination -- * with every possible modifier combination. -- * @return A cookie -- * -- * Releases the key combination on \a grab_window if you grabbed it using -- * `xcb_grab_key` before. -- * -- function xcb_ungrab_key (c : access xcb.xcb_connection_t; key : xcb_keycode_t; grab_window : xcb_window_t; modifiers : bits_stdint_uintn_h.uint16_t) return xcb.xcb_void_cookie_t -- /usr/include/xcb/xproto.h:7969 with Import => True, Convention => C, External_Name => "xcb_ungrab_key"; --* -- * @brief release queued events -- * -- * @param c The connection -- * @param mode A bitmask of #xcb_allow_t values. -- * @param mode \n -- * @param time Timestamp to avoid race conditions when running X over the network. -- * \n -- * The special value `XCB_CURRENT_TIME` will be replaced with the current server -- * time. -- * @return A cookie -- * -- * Releases queued events if the client has caused a device (pointer/keyboard) to -- * freeze due to grabbing it actively. This request has no effect if \a time is -- * earlier than the last-grab time of the most recent active grab for this client -- * or if \a time is later than the current X server time. -- * -- * This form can be used only if the request will not cause -- * a reply to be generated. Any returned error will be -- * saved for handling by xcb_request_check(). -- function xcb_allow_events_checked (c : access xcb.xcb_connection_t; mode : bits_stdint_uintn_h.uint8_t; time : xcb_timestamp_t) return xcb.xcb_void_cookie_t -- /usr/include/xcb/xproto.h:7996 with Import => True, Convention => C, External_Name => "xcb_allow_events_checked"; --* -- * @brief release queued events -- * -- * @param c The connection -- * @param mode A bitmask of #xcb_allow_t values. -- * @param mode \n -- * @param time Timestamp to avoid race conditions when running X over the network. -- * \n -- * The special value `XCB_CURRENT_TIME` will be replaced with the current server -- * time. -- * @return A cookie -- * -- * Releases queued events if the client has caused a device (pointer/keyboard) to -- * freeze due to grabbing it actively. This request has no effect if \a time is -- * earlier than the last-grab time of the most recent active grab for this client -- * or if \a time is later than the current X server time. -- * -- function xcb_allow_events (c : access xcb.xcb_connection_t; mode : bits_stdint_uintn_h.uint8_t; time : xcb_timestamp_t) return xcb.xcb_void_cookie_t -- /usr/include/xcb/xproto.h:8019 with Import => True, Convention => C, External_Name => "xcb_allow_events"; --* -- * -- * @param c The connection -- * @return A cookie -- * -- * Delivers a request to the X server. -- * -- * This form can be used only if the request will not cause -- * a reply to be generated. Any returned error will be -- * saved for handling by xcb_request_check(). -- function xcb_grab_server_checked (c : access xcb.xcb_connection_t) return xcb.xcb_void_cookie_t -- /usr/include/xcb/xproto.h:8035 with Import => True, Convention => C, External_Name => "xcb_grab_server_checked"; --* -- * -- * @param c The connection -- * @return A cookie -- * -- * Delivers a request to the X server. -- * -- function xcb_grab_server (c : access xcb.xcb_connection_t) return xcb.xcb_void_cookie_t -- /usr/include/xcb/xproto.h:8046 with Import => True, Convention => C, External_Name => "xcb_grab_server"; --* -- * -- * @param c The connection -- * @return A cookie -- * -- * Delivers a request to the X server. -- * -- * This form can be used only if the request will not cause -- * a reply to be generated. Any returned error will be -- * saved for handling by xcb_request_check(). -- function xcb_ungrab_server_checked (c : access xcb.xcb_connection_t) return xcb.xcb_void_cookie_t -- /usr/include/xcb/xproto.h:8060 with Import => True, Convention => C, External_Name => "xcb_ungrab_server_checked"; --* -- * -- * @param c The connection -- * @return A cookie -- * -- * Delivers a request to the X server. -- * -- function xcb_ungrab_server (c : access xcb.xcb_connection_t) return xcb.xcb_void_cookie_t -- /usr/include/xcb/xproto.h:8071 with Import => True, Convention => C, External_Name => "xcb_ungrab_server"; --* -- * @brief get pointer coordinates -- * -- * @param c The connection -- * @param window A window to check if the pointer is on the same screen as \a window (see the -- * `same_screen` field in the reply). -- * @return A cookie -- * -- * Gets the root window the pointer is logically on and the pointer coordinates -- * relative to the root window's origin. -- * -- function xcb_query_pointer (c : access xcb.xcb_connection_t; window : xcb_window_t) return xcb_query_pointer_cookie_t -- /usr/include/xcb/xproto.h:8086 with Import => True, Convention => C, External_Name => "xcb_query_pointer"; --* -- * @brief get pointer coordinates -- * -- * @param c The connection -- * @param window A window to check if the pointer is on the same screen as \a window (see the -- * `same_screen` field in the reply). -- * @return A cookie -- * -- * Gets the root window the pointer is logically on and the pointer coordinates -- * relative to the root window's origin. -- * -- * This form can be used only if the request will cause -- * a reply to be generated. Any returned error will be -- * placed in the event queue. -- function xcb_query_pointer_unchecked (c : access xcb.xcb_connection_t; window : xcb_window_t) return xcb_query_pointer_cookie_t -- /usr/include/xcb/xproto.h:8105 with Import => True, Convention => C, External_Name => "xcb_query_pointer_unchecked"; --* -- * Return the reply -- * @param c The connection -- * @param cookie The cookie -- * @param e The xcb_generic_error_t supplied -- * -- * Returns the reply of the request asked by -- * -- * The parameter @p e supplied to this function must be NULL if -- * xcb_query_pointer_unchecked(). is used. -- * Otherwise, it stores the error if any. -- * -- * The returned value must be freed by the caller using free(). -- function xcb_query_pointer_reply (c : access xcb.xcb_connection_t; cookie : xcb_query_pointer_cookie_t; e : System.Address) return access xcb_query_pointer_reply_t -- /usr/include/xcb/xproto.h:8123 with Import => True, Convention => C, External_Name => "xcb_query_pointer_reply"; --*< --* -- * Get the next element of the iterator -- * @param i Pointer to a xcb_timecoord_iterator_t -- * -- * Get the next element in the iterator. The member rem is -- * decreased by one. The member data points to the next -- * element. The member index is increased by sizeof(xcb_timecoord_t) -- procedure xcb_timecoord_next (i : access xcb_timecoord_iterator_t) -- /usr/include/xcb/xproto.h:8136 with Import => True, Convention => C, External_Name => "xcb_timecoord_next"; --* -- * Return the iterator pointing to the last element -- * @param i An xcb_timecoord_iterator_t -- * @return The iterator pointing to the last element -- * -- * Set the current element in the iterator to the last element. -- * The member rem is set to 0. The member data points to the -- * last element. -- function xcb_timecoord_end (i : xcb_timecoord_iterator_t) return xcb.xcb_generic_iterator_t -- /usr/include/xcb/xproto.h:8148 with Import => True, Convention => C, External_Name => "xcb_timecoord_end"; function xcb_get_motion_events_sizeof (u_buffer : System.Address) return int -- /usr/include/xcb/xproto.h:8151 with Import => True, Convention => C, External_Name => "xcb_get_motion_events_sizeof"; --* -- * -- * @param c The connection -- * @return A cookie -- * -- * Delivers a request to the X server. -- * -- function xcb_get_motion_events (c : access xcb.xcb_connection_t; window : xcb_window_t; start : xcb_timestamp_t; stop : xcb_timestamp_t) return xcb_get_motion_events_cookie_t -- /usr/include/xcb/xproto.h:8162 with Import => True, Convention => C, External_Name => "xcb_get_motion_events"; --* -- * -- * @param c The connection -- * @return A cookie -- * -- * Delivers a request to the X server. -- * -- * This form can be used only if the request will cause -- * a reply to be generated. Any returned error will be -- * placed in the event queue. -- function xcb_get_motion_events_unchecked (c : access xcb.xcb_connection_t; window : xcb_window_t; start : xcb_timestamp_t; stop : xcb_timestamp_t) return xcb_get_motion_events_cookie_t -- /usr/include/xcb/xproto.h:8179 with Import => True, Convention => C, External_Name => "xcb_get_motion_events_unchecked"; function xcb_get_motion_events_events (R : access constant xcb_get_motion_events_reply_t) return access xcb_timecoord_t -- /usr/include/xcb/xproto.h:8185 with Import => True, Convention => C, External_Name => "xcb_get_motion_events_events"; function xcb_get_motion_events_events_length (R : access constant xcb_get_motion_events_reply_t) return int -- /usr/include/xcb/xproto.h:8188 with Import => True, Convention => C, External_Name => "xcb_get_motion_events_events_length"; function xcb_get_motion_events_events_iterator (R : access constant xcb_get_motion_events_reply_t) return xcb_timecoord_iterator_t -- /usr/include/xcb/xproto.h:8191 with Import => True, Convention => C, External_Name => "xcb_get_motion_events_events_iterator"; --* -- * Return the reply -- * @param c The connection -- * @param cookie The cookie -- * @param e The xcb_generic_error_t supplied -- * -- * Returns the reply of the request asked by -- * -- * The parameter @p e supplied to this function must be NULL if -- * xcb_get_motion_events_unchecked(). is used. -- * Otherwise, it stores the error if any. -- * -- * The returned value must be freed by the caller using free(). -- function xcb_get_motion_events_reply (c : access xcb.xcb_connection_t; cookie : xcb_get_motion_events_cookie_t; e : System.Address) return access xcb_get_motion_events_reply_t -- /usr/include/xcb/xproto.h:8208 with Import => True, Convention => C, External_Name => "xcb_get_motion_events_reply"; --*< --* -- * -- * @param c The connection -- * @return A cookie -- * -- * Delivers a request to the X server. -- * -- function xcb_translate_coordinates (c : access xcb.xcb_connection_t; src_window : xcb_window_t; dst_window : xcb_window_t; src_x : bits_stdint_intn_h.int16_t; src_y : bits_stdint_intn_h.int16_t) return xcb_translate_coordinates_cookie_t -- /usr/include/xcb/xproto.h:8221 with Import => True, Convention => C, External_Name => "xcb_translate_coordinates"; --* -- * -- * @param c The connection -- * @return A cookie -- * -- * Delivers a request to the X server. -- * -- * This form can be used only if the request will cause -- * a reply to be generated. Any returned error will be -- * placed in the event queue. -- function xcb_translate_coordinates_unchecked (c : access xcb.xcb_connection_t; src_window : xcb_window_t; dst_window : xcb_window_t; src_x : bits_stdint_intn_h.int16_t; src_y : bits_stdint_intn_h.int16_t) return xcb_translate_coordinates_cookie_t -- /usr/include/xcb/xproto.h:8239 with Import => True, Convention => C, External_Name => "xcb_translate_coordinates_unchecked"; --* -- * Return the reply -- * @param c The connection -- * @param cookie The cookie -- * @param e The xcb_generic_error_t supplied -- * -- * Returns the reply of the request asked by -- * -- * The parameter @p e supplied to this function must be NULL if -- * xcb_translate_coordinates_unchecked(). is used. -- * Otherwise, it stores the error if any. -- * -- * The returned value must be freed by the caller using free(). -- function xcb_translate_coordinates_reply (c : access xcb.xcb_connection_t; cookie : xcb_translate_coordinates_cookie_t; e : System.Address) return access xcb_translate_coordinates_reply_t -- /usr/include/xcb/xproto.h:8260 with Import => True, Convention => C, External_Name => "xcb_translate_coordinates_reply"; --*< --* -- * @brief move mouse pointer -- * -- * @param c The connection -- * @param src_window If \a src_window is not `XCB_NONE` (TODO), the move will only take place if the -- * pointer is inside \a src_window and within the rectangle specified by (\a src_x, -- * \a src_y, \a src_width, \a src_height). The rectangle coordinates are relative to -- * \a src_window. -- * @param dst_window If \a dst_window is not `XCB_NONE` (TODO), the pointer will be moved to the -- * offsets (\a dst_x, \a dst_y) relative to \a dst_window. If \a dst_window is -- * `XCB_NONE` (TODO), the pointer will be moved by the offsets (\a dst_x, \a dst_y) -- * relative to the current position of the pointer. -- * @return A cookie -- * -- * Moves the mouse pointer to the specified position. -- * -- * If \a src_window is not `XCB_NONE` (TODO), the move will only take place if the -- * pointer is inside \a src_window and within the rectangle specified by (\a src_x, -- * \a src_y, \a src_width, \a src_height). The rectangle coordinates are relative to -- * \a src_window. -- * -- * If \a dst_window is not `XCB_NONE` (TODO), the pointer will be moved to the -- * offsets (\a dst_x, \a dst_y) relative to \a dst_window. If \a dst_window is -- * `XCB_NONE` (TODO), the pointer will be moved by the offsets (\a dst_x, \a dst_y) -- * relative to the current position of the pointer. -- * -- * This form can be used only if the request will not cause -- * a reply to be generated. Any returned error will be -- * saved for handling by xcb_request_check(). -- function xcb_warp_pointer_checked (c : access xcb.xcb_connection_t; src_window : xcb_window_t; dst_window : xcb_window_t; src_x : bits_stdint_intn_h.int16_t; src_y : bits_stdint_intn_h.int16_t; src_width : bits_stdint_uintn_h.uint16_t; src_height : bits_stdint_uintn_h.uint16_t; dst_x : bits_stdint_intn_h.int16_t; dst_y : bits_stdint_intn_h.int16_t) return xcb.xcb_void_cookie_t -- /usr/include/xcb/xproto.h:8295 with Import => True, Convention => C, External_Name => "xcb_warp_pointer_checked"; --* -- * @brief move mouse pointer -- * -- * @param c The connection -- * @param src_window If \a src_window is not `XCB_NONE` (TODO), the move will only take place if the -- * pointer is inside \a src_window and within the rectangle specified by (\a src_x, -- * \a src_y, \a src_width, \a src_height). The rectangle coordinates are relative to -- * \a src_window. -- * @param dst_window If \a dst_window is not `XCB_NONE` (TODO), the pointer will be moved to the -- * offsets (\a dst_x, \a dst_y) relative to \a dst_window. If \a dst_window is -- * `XCB_NONE` (TODO), the pointer will be moved by the offsets (\a dst_x, \a dst_y) -- * relative to the current position of the pointer. -- * @return A cookie -- * -- * Moves the mouse pointer to the specified position. -- * -- * If \a src_window is not `XCB_NONE` (TODO), the move will only take place if the -- * pointer is inside \a src_window and within the rectangle specified by (\a src_x, -- * \a src_y, \a src_width, \a src_height). The rectangle coordinates are relative to -- * \a src_window. -- * -- * If \a dst_window is not `XCB_NONE` (TODO), the pointer will be moved to the -- * offsets (\a dst_x, \a dst_y) relative to \a dst_window. If \a dst_window is -- * `XCB_NONE` (TODO), the pointer will be moved by the offsets (\a dst_x, \a dst_y) -- * relative to the current position of the pointer. -- * -- function xcb_warp_pointer (c : access xcb.xcb_connection_t; src_window : xcb_window_t; dst_window : xcb_window_t; src_x : bits_stdint_intn_h.int16_t; src_y : bits_stdint_intn_h.int16_t; src_width : bits_stdint_uintn_h.uint16_t; src_height : bits_stdint_uintn_h.uint16_t; dst_x : bits_stdint_intn_h.int16_t; dst_y : bits_stdint_intn_h.int16_t) return xcb.xcb_void_cookie_t -- /usr/include/xcb/xproto.h:8333 with Import => True, Convention => C, External_Name => "xcb_warp_pointer"; --* -- * @brief Sets input focus -- * -- * @param c The connection -- * @param revert_to A bitmask of #xcb_input_focus_t values. -- * @param revert_to Specifies what happens when the \a focus window becomes unviewable (if \a focus -- * is neither `XCB_NONE` nor `XCB_POINTER_ROOT`). -- * @param focus The window to focus. All keyboard events will be reported to this window. The -- * window must be viewable (TODO), or a `xcb_match_error_t` occurs (TODO). -- * \n -- * If \a focus is `XCB_NONE` (TODO), all keyboard events are -- * discarded until a new focus window is set. -- * \n -- * If \a focus is `XCB_POINTER_ROOT` (TODO), focus is on the root window of the -- * screen on which the pointer is on currently. -- * @param time Timestamp to avoid race conditions when running X over the network. -- * \n -- * The special value `XCB_CURRENT_TIME` will be replaced with the current server -- * time. -- * @return A cookie -- * -- * Changes the input focus and the last-focus-change time. If the specified \a time -- * is earlier than the current last-focus-change time, the request is ignored (to -- * avoid race conditions when running X over the network). -- * -- * A FocusIn and FocusOut event is generated when focus is changed. -- * -- * This form can be used only if the request will not cause -- * a reply to be generated. Any returned error will be -- * saved for handling by xcb_request_check(). -- function xcb_set_input_focus_checked (c : access xcb.xcb_connection_t; revert_to : bits_stdint_uintn_h.uint8_t; focus : xcb_window_t; time : xcb_timestamp_t) return xcb.xcb_void_cookie_t -- /usr/include/xcb/xproto.h:8375 with Import => True, Convention => C, External_Name => "xcb_set_input_focus_checked"; --* -- * @brief Sets input focus -- * -- * @param c The connection -- * @param revert_to A bitmask of #xcb_input_focus_t values. -- * @param revert_to Specifies what happens when the \a focus window becomes unviewable (if \a focus -- * is neither `XCB_NONE` nor `XCB_POINTER_ROOT`). -- * @param focus The window to focus. All keyboard events will be reported to this window. The -- * window must be viewable (TODO), or a `xcb_match_error_t` occurs (TODO). -- * \n -- * If \a focus is `XCB_NONE` (TODO), all keyboard events are -- * discarded until a new focus window is set. -- * \n -- * If \a focus is `XCB_POINTER_ROOT` (TODO), focus is on the root window of the -- * screen on which the pointer is on currently. -- * @param time Timestamp to avoid race conditions when running X over the network. -- * \n -- * The special value `XCB_CURRENT_TIME` will be replaced with the current server -- * time. -- * @return A cookie -- * -- * Changes the input focus and the last-focus-change time. If the specified \a time -- * is earlier than the current last-focus-change time, the request is ignored (to -- * avoid race conditions when running X over the network). -- * -- * A FocusIn and FocusOut event is generated when focus is changed. -- * -- function xcb_set_input_focus (c : access xcb.xcb_connection_t; revert_to : bits_stdint_uintn_h.uint8_t; focus : xcb_window_t; time : xcb_timestamp_t) return xcb.xcb_void_cookie_t -- /usr/include/xcb/xproto.h:8409 with Import => True, Convention => C, External_Name => "xcb_set_input_focus"; --* -- * -- * @param c The connection -- * @return A cookie -- * -- * Delivers a request to the X server. -- * -- function xcb_get_input_focus (c : access xcb.xcb_connection_t) return xcb_get_input_focus_cookie_t -- /usr/include/xcb/xproto.h:8423 with Import => True, Convention => C, External_Name => "xcb_get_input_focus"; --* -- * -- * @param c The connection -- * @return A cookie -- * -- * Delivers a request to the X server. -- * -- * This form can be used only if the request will cause -- * a reply to be generated. Any returned error will be -- * placed in the event queue. -- function xcb_get_input_focus_unchecked (c : access xcb.xcb_connection_t) return xcb_get_input_focus_cookie_t -- /usr/include/xcb/xproto.h:8437 with Import => True, Convention => C, External_Name => "xcb_get_input_focus_unchecked"; --* -- * Return the reply -- * @param c The connection -- * @param cookie The cookie -- * @param e The xcb_generic_error_t supplied -- * -- * Returns the reply of the request asked by -- * -- * The parameter @p e supplied to this function must be NULL if -- * xcb_get_input_focus_unchecked(). is used. -- * Otherwise, it stores the error if any. -- * -- * The returned value must be freed by the caller using free(). -- function xcb_get_input_focus_reply (c : access xcb.xcb_connection_t; cookie : xcb_get_input_focus_cookie_t; e : System.Address) return access xcb_get_input_focus_reply_t -- /usr/include/xcb/xproto.h:8454 with Import => True, Convention => C, External_Name => "xcb_get_input_focus_reply"; --*< --* -- * -- * @param c The connection -- * @return A cookie -- * -- * Delivers a request to the X server. -- * -- function xcb_query_keymap (c : access xcb.xcb_connection_t) return xcb_query_keymap_cookie_t -- /usr/include/xcb/xproto.h:8467 with Import => True, Convention => C, External_Name => "xcb_query_keymap"; --* -- * -- * @param c The connection -- * @return A cookie -- * -- * Delivers a request to the X server. -- * -- * This form can be used only if the request will cause -- * a reply to be generated. Any returned error will be -- * placed in the event queue. -- function xcb_query_keymap_unchecked (c : access xcb.xcb_connection_t) return xcb_query_keymap_cookie_t -- /usr/include/xcb/xproto.h:8481 with Import => True, Convention => C, External_Name => "xcb_query_keymap_unchecked"; --* -- * Return the reply -- * @param c The connection -- * @param cookie The cookie -- * @param e The xcb_generic_error_t supplied -- * -- * Returns the reply of the request asked by -- * -- * The parameter @p e supplied to this function must be NULL if -- * xcb_query_keymap_unchecked(). is used. -- * Otherwise, it stores the error if any. -- * -- * The returned value must be freed by the caller using free(). -- function xcb_query_keymap_reply (c : access xcb.xcb_connection_t; cookie : xcb_query_keymap_cookie_t; e : System.Address) return access xcb_query_keymap_reply_t -- /usr/include/xcb/xproto.h:8498 with Import => True, Convention => C, External_Name => "xcb_query_keymap_reply"; --*< function xcb_open_font_sizeof (u_buffer : System.Address) return int -- /usr/include/xcb/xproto.h:8503 with Import => True, Convention => C, External_Name => "xcb_open_font_sizeof"; --* -- * @brief opens a font -- * -- * @param c The connection -- * @param fid The ID with which you will refer to the font, created by `xcb_generate_id`. -- * @param name_len Length (in bytes) of \a name. -- * @param name A pattern describing an X core font. -- * @return A cookie -- * -- * Opens any X core font matching the given \a name (for example "-misc-fixed-*"). -- * -- * Note that X core fonts are deprecated (but still supported) in favor of -- * client-side rendering using Xft. -- * -- * This form can be used only if the request will not cause -- * a reply to be generated. Any returned error will be -- * saved for handling by xcb_request_check(). -- function xcb_open_font_checked (c : access xcb.xcb_connection_t; fid : xcb_font_t; name_len : bits_stdint_uintn_h.uint16_t; name : Interfaces.C.Strings.chars_ptr) return xcb.xcb_void_cookie_t -- /usr/include/xcb/xproto.h:8524 with Import => True, Convention => C, External_Name => "xcb_open_font_checked"; --* -- * @brief opens a font -- * -- * @param c The connection -- * @param fid The ID with which you will refer to the font, created by `xcb_generate_id`. -- * @param name_len Length (in bytes) of \a name. -- * @param name A pattern describing an X core font. -- * @return A cookie -- * -- * Opens any X core font matching the given \a name (for example "-misc-fixed-*"). -- * -- * Note that X core fonts are deprecated (but still supported) in favor of -- * client-side rendering using Xft. -- * -- function xcb_open_font (c : access xcb.xcb_connection_t; fid : xcb_font_t; name_len : bits_stdint_uintn_h.uint16_t; name : Interfaces.C.Strings.chars_ptr) return xcb.xcb_void_cookie_t -- /usr/include/xcb/xproto.h:8545 with Import => True, Convention => C, External_Name => "xcb_open_font"; function xcb_open_font_name (R : access constant xcb_open_font_request_t) return Interfaces.C.Strings.chars_ptr -- /usr/include/xcb/xproto.h:8551 with Import => True, Convention => C, External_Name => "xcb_open_font_name"; function xcb_open_font_name_length (R : access constant xcb_open_font_request_t) return int -- /usr/include/xcb/xproto.h:8554 with Import => True, Convention => C, External_Name => "xcb_open_font_name_length"; function xcb_open_font_name_end (R : access constant xcb_open_font_request_t) return xcb.xcb_generic_iterator_t -- /usr/include/xcb/xproto.h:8557 with Import => True, Convention => C, External_Name => "xcb_open_font_name_end"; --* -- * -- * @param c The connection -- * @return A cookie -- * -- * Delivers a request to the X server. -- * -- * This form can be used only if the request will not cause -- * a reply to be generated. Any returned error will be -- * saved for handling by xcb_request_check(). -- function xcb_close_font_checked (c : access xcb.xcb_connection_t; font : xcb_font_t) return xcb.xcb_void_cookie_t -- /usr/include/xcb/xproto.h:8571 with Import => True, Convention => C, External_Name => "xcb_close_font_checked"; --* -- * -- * @param c The connection -- * @return A cookie -- * -- * Delivers a request to the X server. -- * -- function xcb_close_font (c : access xcb.xcb_connection_t; font : xcb_font_t) return xcb.xcb_void_cookie_t -- /usr/include/xcb/xproto.h:8583 with Import => True, Convention => C, External_Name => "xcb_close_font"; --* -- * Get the next element of the iterator -- * @param i Pointer to a xcb_fontprop_iterator_t -- * -- * Get the next element in the iterator. The member rem is -- * decreased by one. The member data points to the next -- * element. The member index is increased by sizeof(xcb_fontprop_t) -- procedure xcb_fontprop_next (i : access xcb_fontprop_iterator_t) -- /usr/include/xcb/xproto.h:8595 with Import => True, Convention => C, External_Name => "xcb_fontprop_next"; --* -- * Return the iterator pointing to the last element -- * @param i An xcb_fontprop_iterator_t -- * @return The iterator pointing to the last element -- * -- * Set the current element in the iterator to the last element. -- * The member rem is set to 0. The member data points to the -- * last element. -- function xcb_fontprop_end (i : xcb_fontprop_iterator_t) return xcb.xcb_generic_iterator_t -- /usr/include/xcb/xproto.h:8607 with Import => True, Convention => C, External_Name => "xcb_fontprop_end"; --* -- * Get the next element of the iterator -- * @param i Pointer to a xcb_charinfo_iterator_t -- * -- * Get the next element in the iterator. The member rem is -- * decreased by one. The member data points to the next -- * element. The member index is increased by sizeof(xcb_charinfo_t) -- procedure xcb_charinfo_next (i : access xcb_charinfo_iterator_t) -- /usr/include/xcb/xproto.h:8618 with Import => True, Convention => C, External_Name => "xcb_charinfo_next"; --* -- * Return the iterator pointing to the last element -- * @param i An xcb_charinfo_iterator_t -- * @return The iterator pointing to the last element -- * -- * Set the current element in the iterator to the last element. -- * The member rem is set to 0. The member data points to the -- * last element. -- function xcb_charinfo_end (i : xcb_charinfo_iterator_t) return xcb.xcb_generic_iterator_t -- /usr/include/xcb/xproto.h:8630 with Import => True, Convention => C, External_Name => "xcb_charinfo_end"; function xcb_query_font_sizeof (u_buffer : System.Address) return int -- /usr/include/xcb/xproto.h:8633 with Import => True, Convention => C, External_Name => "xcb_query_font_sizeof"; --* -- * @brief query font metrics -- * -- * @param c The connection -- * @param font The fontable (Font or Graphics Context) to query. -- * @return A cookie -- * -- * Queries information associated with the font. -- * -- function xcb_query_font (c : access xcb.xcb_connection_t; font : xcb_fontable_t) return xcb_query_font_cookie_t -- /usr/include/xcb/xproto.h:8646 with Import => True, Convention => C, External_Name => "xcb_query_font"; --* -- * @brief query font metrics -- * -- * @param c The connection -- * @param font The fontable (Font or Graphics Context) to query. -- * @return A cookie -- * -- * Queries information associated with the font. -- * -- * This form can be used only if the request will cause -- * a reply to be generated. Any returned error will be -- * placed in the event queue. -- function xcb_query_font_unchecked (c : access xcb.xcb_connection_t; font : xcb_fontable_t) return xcb_query_font_cookie_t -- /usr/include/xcb/xproto.h:8663 with Import => True, Convention => C, External_Name => "xcb_query_font_unchecked"; function xcb_query_font_properties (R : access constant xcb_query_font_reply_t) return access xcb_fontprop_t -- /usr/include/xcb/xproto.h:8667 with Import => True, Convention => C, External_Name => "xcb_query_font_properties"; function xcb_query_font_properties_length (R : access constant xcb_query_font_reply_t) return int -- /usr/include/xcb/xproto.h:8670 with Import => True, Convention => C, External_Name => "xcb_query_font_properties_length"; function xcb_query_font_properties_iterator (R : access constant xcb_query_font_reply_t) return xcb_fontprop_iterator_t -- /usr/include/xcb/xproto.h:8673 with Import => True, Convention => C, External_Name => "xcb_query_font_properties_iterator"; function xcb_query_font_char_infos (R : access constant xcb_query_font_reply_t) return access xcb_charinfo_t -- /usr/include/xcb/xproto.h:8676 with Import => True, Convention => C, External_Name => "xcb_query_font_char_infos"; function xcb_query_font_char_infos_length (R : access constant xcb_query_font_reply_t) return int -- /usr/include/xcb/xproto.h:8679 with Import => True, Convention => C, External_Name => "xcb_query_font_char_infos_length"; function xcb_query_font_char_infos_iterator (R : access constant xcb_query_font_reply_t) return xcb_charinfo_iterator_t -- /usr/include/xcb/xproto.h:8682 with Import => True, Convention => C, External_Name => "xcb_query_font_char_infos_iterator"; --* -- * Return the reply -- * @param c The connection -- * @param cookie The cookie -- * @param e The xcb_generic_error_t supplied -- * -- * Returns the reply of the request asked by -- * -- * The parameter @p e supplied to this function must be NULL if -- * xcb_query_font_unchecked(). is used. -- * Otherwise, it stores the error if any. -- * -- * The returned value must be freed by the caller using free(). -- function xcb_query_font_reply (c : access xcb.xcb_connection_t; cookie : xcb_query_font_cookie_t; e : System.Address) return access xcb_query_font_reply_t -- /usr/include/xcb/xproto.h:8699 with Import => True, Convention => C, External_Name => "xcb_query_font_reply"; --*< function xcb_query_text_extents_sizeof (u_buffer : System.Address; string_len : bits_stdint_uintn_h.uint32_t) return int -- /usr/include/xcb/xproto.h:8704 with Import => True, Convention => C, External_Name => "xcb_query_text_extents_sizeof"; --* -- * @brief get text extents -- * -- * @param c The connection -- * @param font The \a font to calculate text extents in. You can also pass a graphics context. -- * @param string_len The number of characters in \a string. -- * @param string The text to get text extents for. -- * @return A cookie -- * -- * Query text extents from the X11 server. This request returns the bounding box -- * of the specified 16-bit character string in the specified \a font or the font -- * contained in the specified graphics context. -- * -- * `font_ascent` is set to the maximum of the ascent metrics of all characters in -- * the string. `font_descent` is set to the maximum of the descent metrics. -- * `overall_width` is set to the sum of the character-width metrics of all -- * characters in the string. For each character in the string, let W be the sum of -- * the character-width metrics of all characters preceding it in the string. Let L -- * be the left-side-bearing metric of the character plus W. Let R be the -- * right-side-bearing metric of the character plus W. The lbearing member is set -- * to the minimum L of all characters in the string. The rbearing member is set to -- * the maximum R. -- * -- * For fonts defined with linear indexing rather than 2-byte matrix indexing, each -- * `xcb_char2b_t` structure is interpreted as a 16-bit number with byte1 as the -- * most significant byte. If the font has no defined default character, undefined -- * characters in the string are taken to have all zero metrics. -- * -- * Characters with all zero metrics are ignored. If the font has no defined -- * default_char, the undefined characters in the string are also ignored. -- * -- function xcb_query_text_extents (c : access xcb.xcb_connection_t; font : xcb_fontable_t; string_len : bits_stdint_uintn_h.uint32_t; string : access constant xcb_char2b_t) return xcb_query_text_extents_cookie_t -- /usr/include/xcb/xproto.h:8740 with Import => True, Convention => C, External_Name => "xcb_query_text_extents"; --* -- * @brief get text extents -- * -- * @param c The connection -- * @param font The \a font to calculate text extents in. You can also pass a graphics context. -- * @param string_len The number of characters in \a string. -- * @param string The text to get text extents for. -- * @return A cookie -- * -- * Query text extents from the X11 server. This request returns the bounding box -- * of the specified 16-bit character string in the specified \a font or the font -- * contained in the specified graphics context. -- * -- * `font_ascent` is set to the maximum of the ascent metrics of all characters in -- * the string. `font_descent` is set to the maximum of the descent metrics. -- * `overall_width` is set to the sum of the character-width metrics of all -- * characters in the string. For each character in the string, let W be the sum of -- * the character-width metrics of all characters preceding it in the string. Let L -- * be the left-side-bearing metric of the character plus W. Let R be the -- * right-side-bearing metric of the character plus W. The lbearing member is set -- * to the minimum L of all characters in the string. The rbearing member is set to -- * the maximum R. -- * -- * For fonts defined with linear indexing rather than 2-byte matrix indexing, each -- * `xcb_char2b_t` structure is interpreted as a 16-bit number with byte1 as the -- * most significant byte. If the font has no defined default character, undefined -- * characters in the string are taken to have all zero metrics. -- * -- * Characters with all zero metrics are ignored. If the font has no defined -- * default_char, the undefined characters in the string are also ignored. -- * -- * This form can be used only if the request will cause -- * a reply to be generated. Any returned error will be -- * placed in the event queue. -- function xcb_query_text_extents_unchecked (c : access xcb.xcb_connection_t; font : xcb_fontable_t; string_len : bits_stdint_uintn_h.uint32_t; string : access constant xcb_char2b_t) return xcb_query_text_extents_cookie_t -- /usr/include/xcb/xproto.h:8781 with Import => True, Convention => C, External_Name => "xcb_query_text_extents_unchecked"; --* -- * Return the reply -- * @param c The connection -- * @param cookie The cookie -- * @param e The xcb_generic_error_t supplied -- * -- * Returns the reply of the request asked by -- * -- * The parameter @p e supplied to this function must be NULL if -- * xcb_query_text_extents_unchecked(). is used. -- * Otherwise, it stores the error if any. -- * -- * The returned value must be freed by the caller using free(). -- function xcb_query_text_extents_reply (c : access xcb.xcb_connection_t; cookie : xcb_query_text_extents_cookie_t; e : System.Address) return access xcb_query_text_extents_reply_t -- /usr/include/xcb/xproto.h:8801 with Import => True, Convention => C, External_Name => "xcb_query_text_extents_reply"; --*< function xcb_str_sizeof (u_buffer : System.Address) return int -- /usr/include/xcb/xproto.h:8806 with Import => True, Convention => C, External_Name => "xcb_str_sizeof"; function xcb_str_name (R : access constant xcb_str_t) return Interfaces.C.Strings.chars_ptr -- /usr/include/xcb/xproto.h:8809 with Import => True, Convention => C, External_Name => "xcb_str_name"; function xcb_str_name_length (R : access constant xcb_str_t) return int -- /usr/include/xcb/xproto.h:8812 with Import => True, Convention => C, External_Name => "xcb_str_name_length"; function xcb_str_name_end (R : access constant xcb_str_t) return xcb.xcb_generic_iterator_t -- /usr/include/xcb/xproto.h:8815 with Import => True, Convention => C, External_Name => "xcb_str_name_end"; --* -- * Get the next element of the iterator -- * @param i Pointer to a xcb_str_iterator_t -- * -- * Get the next element in the iterator. The member rem is -- * decreased by one. The member data points to the next -- * element. The member index is increased by sizeof(xcb_str_t) -- procedure xcb_str_next (i : access xcb_str_iterator_t) -- /usr/include/xcb/xproto.h:8826 with Import => True, Convention => C, External_Name => "xcb_str_next"; --* -- * Return the iterator pointing to the last element -- * @param i An xcb_str_iterator_t -- * @return The iterator pointing to the last element -- * -- * Set the current element in the iterator to the last element. -- * The member rem is set to 0. The member data points to the -- * last element. -- function xcb_str_end (i : xcb_str_iterator_t) return xcb.xcb_generic_iterator_t -- /usr/include/xcb/xproto.h:8838 with Import => True, Convention => C, External_Name => "xcb_str_end"; function xcb_list_fonts_sizeof (u_buffer : System.Address) return int -- /usr/include/xcb/xproto.h:8841 with Import => True, Convention => C, External_Name => "xcb_list_fonts_sizeof"; --* -- * @brief get matching font names -- * -- * @param c The connection -- * @param max_names The maximum number of fonts to be returned. -- * @param pattern_len The length (in bytes) of \a pattern. -- * @param pattern A font pattern, for example "-misc-fixed-*". -- * \n -- * The asterisk (*) is a wildcard for any number of characters. The question mark -- * (?) is a wildcard for a single character. Use of uppercase or lowercase does -- * not matter. -- * @return A cookie -- * -- * Gets a list of available font names which match the given \a pattern. -- * -- function xcb_list_fonts (c : access xcb.xcb_connection_t; max_names : bits_stdint_uintn_h.uint16_t; pattern_len : bits_stdint_uintn_h.uint16_t; pattern : Interfaces.C.Strings.chars_ptr) return xcb_list_fonts_cookie_t -- /usr/include/xcb/xproto.h:8860 with Import => True, Convention => C, External_Name => "xcb_list_fonts"; --* -- * @brief get matching font names -- * -- * @param c The connection -- * @param max_names The maximum number of fonts to be returned. -- * @param pattern_len The length (in bytes) of \a pattern. -- * @param pattern A font pattern, for example "-misc-fixed-*". -- * \n -- * The asterisk (*) is a wildcard for any number of characters. The question mark -- * (?) is a wildcard for a single character. Use of uppercase or lowercase does -- * not matter. -- * @return A cookie -- * -- * Gets a list of available font names which match the given \a pattern. -- * -- * This form can be used only if the request will cause -- * a reply to be generated. Any returned error will be -- * placed in the event queue. -- function xcb_list_fonts_unchecked (c : access xcb.xcb_connection_t; max_names : bits_stdint_uintn_h.uint16_t; pattern_len : bits_stdint_uintn_h.uint16_t; pattern : Interfaces.C.Strings.chars_ptr) return xcb_list_fonts_cookie_t -- /usr/include/xcb/xproto.h:8885 with Import => True, Convention => C, External_Name => "xcb_list_fonts_unchecked"; function xcb_list_fonts_names_length (R : access constant xcb_list_fonts_reply_t) return int -- /usr/include/xcb/xproto.h:8891 with Import => True, Convention => C, External_Name => "xcb_list_fonts_names_length"; function xcb_list_fonts_names_iterator (R : access constant xcb_list_fonts_reply_t) return xcb_str_iterator_t -- /usr/include/xcb/xproto.h:8894 with Import => True, Convention => C, External_Name => "xcb_list_fonts_names_iterator"; --* -- * Return the reply -- * @param c The connection -- * @param cookie The cookie -- * @param e The xcb_generic_error_t supplied -- * -- * Returns the reply of the request asked by -- * -- * The parameter @p e supplied to this function must be NULL if -- * xcb_list_fonts_unchecked(). is used. -- * Otherwise, it stores the error if any. -- * -- * The returned value must be freed by the caller using free(). -- function xcb_list_fonts_reply (c : access xcb.xcb_connection_t; cookie : xcb_list_fonts_cookie_t; e : System.Address) return access xcb_list_fonts_reply_t -- /usr/include/xcb/xproto.h:8911 with Import => True, Convention => C, External_Name => "xcb_list_fonts_reply"; --*< function xcb_list_fonts_with_info_sizeof (u_buffer : System.Address) return int -- /usr/include/xcb/xproto.h:8916 with Import => True, Convention => C, External_Name => "xcb_list_fonts_with_info_sizeof"; --* -- * @brief get matching font names and information -- * -- * @param c The connection -- * @param max_names The maximum number of fonts to be returned. -- * @param pattern_len The length (in bytes) of \a pattern. -- * @param pattern A font pattern, for example "-misc-fixed-*". -- * \n -- * The asterisk (*) is a wildcard for any number of characters. The question mark -- * (?) is a wildcard for a single character. Use of uppercase or lowercase does -- * not matter. -- * @return A cookie -- * -- * Gets a list of available font names which match the given \a pattern. -- * -- function xcb_list_fonts_with_info (c : access xcb.xcb_connection_t; max_names : bits_stdint_uintn_h.uint16_t; pattern_len : bits_stdint_uintn_h.uint16_t; pattern : Interfaces.C.Strings.chars_ptr) return xcb_list_fonts_with_info_cookie_t -- /usr/include/xcb/xproto.h:8935 with Import => True, Convention => C, External_Name => "xcb_list_fonts_with_info"; --* -- * @brief get matching font names and information -- * -- * @param c The connection -- * @param max_names The maximum number of fonts to be returned. -- * @param pattern_len The length (in bytes) of \a pattern. -- * @param pattern A font pattern, for example "-misc-fixed-*". -- * \n -- * The asterisk (*) is a wildcard for any number of characters. The question mark -- * (?) is a wildcard for a single character. Use of uppercase or lowercase does -- * not matter. -- * @return A cookie -- * -- * Gets a list of available font names which match the given \a pattern. -- * -- * This form can be used only if the request will cause -- * a reply to be generated. Any returned error will be -- * placed in the event queue. -- function xcb_list_fonts_with_info_unchecked (c : access xcb.xcb_connection_t; max_names : bits_stdint_uintn_h.uint16_t; pattern_len : bits_stdint_uintn_h.uint16_t; pattern : Interfaces.C.Strings.chars_ptr) return xcb_list_fonts_with_info_cookie_t -- /usr/include/xcb/xproto.h:8960 with Import => True, Convention => C, External_Name => "xcb_list_fonts_with_info_unchecked"; function xcb_list_fonts_with_info_properties (R : access constant xcb_list_fonts_with_info_reply_t) return access xcb_fontprop_t -- /usr/include/xcb/xproto.h:8966 with Import => True, Convention => C, External_Name => "xcb_list_fonts_with_info_properties"; function xcb_list_fonts_with_info_properties_length (R : access constant xcb_list_fonts_with_info_reply_t) return int -- /usr/include/xcb/xproto.h:8969 with Import => True, Convention => C, External_Name => "xcb_list_fonts_with_info_properties_length"; function xcb_list_fonts_with_info_properties_iterator (R : access constant xcb_list_fonts_with_info_reply_t) return xcb_fontprop_iterator_t -- /usr/include/xcb/xproto.h:8972 with Import => True, Convention => C, External_Name => "xcb_list_fonts_with_info_properties_iterator"; function xcb_list_fonts_with_info_name (R : access constant xcb_list_fonts_with_info_reply_t) return Interfaces.C.Strings.chars_ptr -- /usr/include/xcb/xproto.h:8975 with Import => True, Convention => C, External_Name => "xcb_list_fonts_with_info_name"; function xcb_list_fonts_with_info_name_length (R : access constant xcb_list_fonts_with_info_reply_t) return int -- /usr/include/xcb/xproto.h:8978 with Import => True, Convention => C, External_Name => "xcb_list_fonts_with_info_name_length"; function xcb_list_fonts_with_info_name_end (R : access constant xcb_list_fonts_with_info_reply_t) return xcb.xcb_generic_iterator_t -- /usr/include/xcb/xproto.h:8981 with Import => True, Convention => C, External_Name => "xcb_list_fonts_with_info_name_end"; --* -- * Return the reply -- * @param c The connection -- * @param cookie The cookie -- * @param e The xcb_generic_error_t supplied -- * -- * Returns the reply of the request asked by -- * -- * The parameter @p e supplied to this function must be NULL if -- * xcb_list_fonts_with_info_unchecked(). is used. -- * Otherwise, it stores the error if any. -- * -- * The returned value must be freed by the caller using free(). -- function xcb_list_fonts_with_info_reply (c : access xcb.xcb_connection_t; cookie : xcb_list_fonts_with_info_cookie_t; e : System.Address) return access xcb_list_fonts_with_info_reply_t -- /usr/include/xcb/xproto.h:8998 with Import => True, Convention => C, External_Name => "xcb_list_fonts_with_info_reply"; --*< function xcb_set_font_path_sizeof (u_buffer : System.Address) return int -- /usr/include/xcb/xproto.h:9003 with Import => True, Convention => C, External_Name => "xcb_set_font_path_sizeof"; --* -- * -- * @param c The connection -- * @return A cookie -- * -- * Delivers a request to the X server. -- * -- * This form can be used only if the request will not cause -- * a reply to be generated. Any returned error will be -- * saved for handling by xcb_request_check(). -- function xcb_set_font_path_checked (c : access xcb.xcb_connection_t; font_qty : bits_stdint_uintn_h.uint16_t; font : access constant xcb_str_t) return xcb.xcb_void_cookie_t -- /usr/include/xcb/xproto.h:9017 with Import => True, Convention => C, External_Name => "xcb_set_font_path_checked"; --* -- * -- * @param c The connection -- * @return A cookie -- * -- * Delivers a request to the X server. -- * -- function xcb_set_font_path (c : access xcb.xcb_connection_t; font_qty : bits_stdint_uintn_h.uint16_t; font : access constant xcb_str_t) return xcb.xcb_void_cookie_t -- /usr/include/xcb/xproto.h:9030 with Import => True, Convention => C, External_Name => "xcb_set_font_path"; function xcb_set_font_path_font_length (R : access constant xcb_set_font_path_request_t) return int -- /usr/include/xcb/xproto.h:9035 with Import => True, Convention => C, External_Name => "xcb_set_font_path_font_length"; function xcb_set_font_path_font_iterator (R : access constant xcb_set_font_path_request_t) return xcb_str_iterator_t -- /usr/include/xcb/xproto.h:9038 with Import => True, Convention => C, External_Name => "xcb_set_font_path_font_iterator"; function xcb_get_font_path_sizeof (u_buffer : System.Address) return int -- /usr/include/xcb/xproto.h:9041 with Import => True, Convention => C, External_Name => "xcb_get_font_path_sizeof"; --* -- * -- * @param c The connection -- * @return A cookie -- * -- * Delivers a request to the X server. -- * -- function xcb_get_font_path (c : access xcb.xcb_connection_t) return xcb_get_font_path_cookie_t -- /usr/include/xcb/xproto.h:9052 with Import => True, Convention => C, External_Name => "xcb_get_font_path"; --* -- * -- * @param c The connection -- * @return A cookie -- * -- * Delivers a request to the X server. -- * -- * This form can be used only if the request will cause -- * a reply to be generated. Any returned error will be -- * placed in the event queue. -- function xcb_get_font_path_unchecked (c : access xcb.xcb_connection_t) return xcb_get_font_path_cookie_t -- /usr/include/xcb/xproto.h:9066 with Import => True, Convention => C, External_Name => "xcb_get_font_path_unchecked"; function xcb_get_font_path_path_length (R : access constant xcb_get_font_path_reply_t) return int -- /usr/include/xcb/xproto.h:9069 with Import => True, Convention => C, External_Name => "xcb_get_font_path_path_length"; function xcb_get_font_path_path_iterator (R : access constant xcb_get_font_path_reply_t) return xcb_str_iterator_t -- /usr/include/xcb/xproto.h:9072 with Import => True, Convention => C, External_Name => "xcb_get_font_path_path_iterator"; --* -- * Return the reply -- * @param c The connection -- * @param cookie The cookie -- * @param e The xcb_generic_error_t supplied -- * -- * Returns the reply of the request asked by -- * -- * The parameter @p e supplied to this function must be NULL if -- * xcb_get_font_path_unchecked(). is used. -- * Otherwise, it stores the error if any. -- * -- * The returned value must be freed by the caller using free(). -- function xcb_get_font_path_reply (c : access xcb.xcb_connection_t; cookie : xcb_get_font_path_cookie_t; e : System.Address) return access xcb_get_font_path_reply_t -- /usr/include/xcb/xproto.h:9089 with Import => True, Convention => C, External_Name => "xcb_get_font_path_reply"; --*< --* -- * @brief Creates a pixmap -- * -- * @param c The connection -- * @param depth TODO -- * @param pid The ID with which you will refer to the new pixmap, created by -- * `xcb_generate_id`. -- * @param drawable Drawable to get the screen from. -- * @param width The width of the new pixmap. -- * @param height The height of the new pixmap. -- * @return A cookie -- * -- * Creates a pixmap. The pixmap can only be used on the same screen as \a drawable -- * is on and only with drawables of the same \a depth. -- * -- * This form can be used only if the request will not cause -- * a reply to be generated. Any returned error will be -- * saved for handling by xcb_request_check(). -- function xcb_create_pixmap_checked (c : access xcb.xcb_connection_t; depth : bits_stdint_uintn_h.uint8_t; pid : xcb_pixmap_t; drawable : xcb_drawable_t; width : bits_stdint_uintn_h.uint16_t; height : bits_stdint_uintn_h.uint16_t) return xcb.xcb_void_cookie_t -- /usr/include/xcb/xproto.h:9113 with Import => True, Convention => C, External_Name => "xcb_create_pixmap_checked"; --* -- * @brief Creates a pixmap -- * -- * @param c The connection -- * @param depth TODO -- * @param pid The ID with which you will refer to the new pixmap, created by -- * `xcb_generate_id`. -- * @param drawable Drawable to get the screen from. -- * @param width The width of the new pixmap. -- * @param height The height of the new pixmap. -- * @return A cookie -- * -- * Creates a pixmap. The pixmap can only be used on the same screen as \a drawable -- * is on and only with drawables of the same \a depth. -- * -- function xcb_create_pixmap (c : access xcb.xcb_connection_t; depth : bits_stdint_uintn_h.uint8_t; pid : xcb_pixmap_t; drawable : xcb_drawable_t; width : bits_stdint_uintn_h.uint16_t; height : bits_stdint_uintn_h.uint16_t) return xcb.xcb_void_cookie_t -- /usr/include/xcb/xproto.h:9137 with Import => True, Convention => C, External_Name => "xcb_create_pixmap"; --* -- * @brief Destroys a pixmap -- * -- * @param c The connection -- * @param pixmap The pixmap to destroy. -- * @return A cookie -- * -- * Deletes the association between the pixmap ID and the pixmap. The pixmap -- * storage will be freed when there are no more references to it. -- * -- * This form can be used only if the request will not cause -- * a reply to be generated. Any returned error will be -- * saved for handling by xcb_request_check(). -- function xcb_free_pixmap_checked (c : access xcb.xcb_connection_t; pixmap : xcb_pixmap_t) return xcb.xcb_void_cookie_t -- /usr/include/xcb/xproto.h:9159 with Import => True, Convention => C, External_Name => "xcb_free_pixmap_checked"; --* -- * @brief Destroys a pixmap -- * -- * @param c The connection -- * @param pixmap The pixmap to destroy. -- * @return A cookie -- * -- * Deletes the association between the pixmap ID and the pixmap. The pixmap -- * storage will be freed when there are no more references to it. -- * -- function xcb_free_pixmap (c : access xcb.xcb_connection_t; pixmap : xcb_pixmap_t) return xcb.xcb_void_cookie_t -- /usr/include/xcb/xproto.h:9174 with Import => True, Convention => C, External_Name => "xcb_free_pixmap"; function xcb_create_gc_value_list_serialize (u_buffer : System.Address; value_mask : bits_stdint_uintn_h.uint32_t; u_aux : access constant xcb_create_gc_value_list_t) return int -- /usr/include/xcb/xproto.h:9178 with Import => True, Convention => C, External_Name => "xcb_create_gc_value_list_serialize"; function xcb_create_gc_value_list_unpack (u_buffer : System.Address; value_mask : bits_stdint_uintn_h.uint32_t; u_aux : access xcb_create_gc_value_list_t) return int -- /usr/include/xcb/xproto.h:9183 with Import => True, Convention => C, External_Name => "xcb_create_gc_value_list_unpack"; function xcb_create_gc_value_list_sizeof (u_buffer : System.Address; value_mask : bits_stdint_uintn_h.uint32_t) return int -- /usr/include/xcb/xproto.h:9188 with Import => True, Convention => C, External_Name => "xcb_create_gc_value_list_sizeof"; function xcb_create_gc_sizeof (u_buffer : System.Address) return int -- /usr/include/xcb/xproto.h:9192 with Import => True, Convention => C, External_Name => "xcb_create_gc_sizeof"; --* -- * @brief Creates a graphics context -- * -- * @param c The connection -- * @param cid The ID with which you will refer to the graphics context, created by -- * `xcb_generate_id`. -- * @param drawable Drawable to get the root/depth from. -- * @return A cookie -- * -- * Creates a graphics context. The graphics context can be used with any drawable -- * that has the same root and depth as the specified drawable. -- * -- * This form can be used only if the request will not cause -- * a reply to be generated. Any returned error will be -- * saved for handling by xcb_request_check(). -- function xcb_create_gc_checked (c : access xcb.xcb_connection_t; cid : xcb_gcontext_t; drawable : xcb_drawable_t; value_mask : bits_stdint_uintn_h.uint32_t; value_list : System.Address) return xcb.xcb_void_cookie_t -- /usr/include/xcb/xproto.h:9211 with Import => True, Convention => C, External_Name => "xcb_create_gc_checked"; --* -- * @brief Creates a graphics context -- * -- * @param c The connection -- * @param cid The ID with which you will refer to the graphics context, created by -- * `xcb_generate_id`. -- * @param drawable Drawable to get the root/depth from. -- * @return A cookie -- * -- * Creates a graphics context. The graphics context can be used with any drawable -- * that has the same root and depth as the specified drawable. -- * -- function xcb_create_gc (c : access xcb.xcb_connection_t; cid : xcb_gcontext_t; drawable : xcb_drawable_t; value_mask : bits_stdint_uintn_h.uint32_t; value_list : System.Address) return xcb.xcb_void_cookie_t -- /usr/include/xcb/xproto.h:9231 with Import => True, Convention => C, External_Name => "xcb_create_gc"; --* -- * @brief Creates a graphics context -- * -- * @param c The connection -- * @param cid The ID with which you will refer to the graphics context, created by -- * `xcb_generate_id`. -- * @param drawable Drawable to get the root/depth from. -- * @return A cookie -- * -- * Creates a graphics context. The graphics context can be used with any drawable -- * that has the same root and depth as the specified drawable. -- * -- * This form can be used only if the request will not cause -- * a reply to be generated. Any returned error will be -- * saved for handling by xcb_request_check(). -- function xcb_create_gc_aux_checked (c : access xcb.xcb_connection_t; cid : xcb_gcontext_t; drawable : xcb_drawable_t; value_mask : bits_stdint_uintn_h.uint32_t; value_list : access constant xcb_create_gc_value_list_t) return xcb.xcb_void_cookie_t -- /usr/include/xcb/xproto.h:9254 with Import => True, Convention => C, External_Name => "xcb_create_gc_aux_checked"; --* -- * @brief Creates a graphics context -- * -- * @param c The connection -- * @param cid The ID with which you will refer to the graphics context, created by -- * `xcb_generate_id`. -- * @param drawable Drawable to get the root/depth from. -- * @return A cookie -- * -- * Creates a graphics context. The graphics context can be used with any drawable -- * that has the same root and depth as the specified drawable. -- * -- function xcb_create_gc_aux (c : access xcb.xcb_connection_t; cid : xcb_gcontext_t; drawable : xcb_drawable_t; value_mask : bits_stdint_uintn_h.uint32_t; value_list : access constant xcb_create_gc_value_list_t) return xcb.xcb_void_cookie_t -- /usr/include/xcb/xproto.h:9274 with Import => True, Convention => C, External_Name => "xcb_create_gc_aux"; function xcb_create_gc_value_list (R : access constant xcb_create_gc_request_t) return System.Address -- /usr/include/xcb/xproto.h:9281 with Import => True, Convention => C, External_Name => "xcb_create_gc_value_list"; function xcb_change_gc_value_list_serialize (u_buffer : System.Address; value_mask : bits_stdint_uintn_h.uint32_t; u_aux : access constant xcb_change_gc_value_list_t) return int -- /usr/include/xcb/xproto.h:9284 with Import => True, Convention => C, External_Name => "xcb_change_gc_value_list_serialize"; function xcb_change_gc_value_list_unpack (u_buffer : System.Address; value_mask : bits_stdint_uintn_h.uint32_t; u_aux : access xcb_change_gc_value_list_t) return int -- /usr/include/xcb/xproto.h:9289 with Import => True, Convention => C, External_Name => "xcb_change_gc_value_list_unpack"; function xcb_change_gc_value_list_sizeof (u_buffer : System.Address; value_mask : bits_stdint_uintn_h.uint32_t) return int -- /usr/include/xcb/xproto.h:9294 with Import => True, Convention => C, External_Name => "xcb_change_gc_value_list_sizeof"; function xcb_change_gc_sizeof (u_buffer : System.Address) return int -- /usr/include/xcb/xproto.h:9298 with Import => True, Convention => C, External_Name => "xcb_change_gc_sizeof"; --* -- * @brief change graphics context components -- * -- * @param c The connection -- * @param gc The graphics context to change. -- * @param value_mask A bitmask of #xcb_gc_t values. -- * @param value_mask \n -- * @param value_list Values for each of the components specified in the bitmask \a value_mask. The -- * order has to correspond to the order of possible \a value_mask bits. See the -- * example. -- * @return A cookie -- * -- * Changes the components specified by \a value_mask for the specified graphics context. -- * -- * This form can be used only if the request will not cause -- * a reply to be generated. Any returned error will be -- * saved for handling by xcb_request_check(). -- function xcb_change_gc_checked (c : access xcb.xcb_connection_t; gc : xcb_gcontext_t; value_mask : bits_stdint_uintn_h.uint32_t; value_list : System.Address) return xcb.xcb_void_cookie_t -- /usr/include/xcb/xproto.h:9319 with Import => True, Convention => C, External_Name => "xcb_change_gc_checked"; --* -- * @brief change graphics context components -- * -- * @param c The connection -- * @param gc The graphics context to change. -- * @param value_mask A bitmask of #xcb_gc_t values. -- * @param value_mask \n -- * @param value_list Values for each of the components specified in the bitmask \a value_mask. The -- * order has to correspond to the order of possible \a value_mask bits. See the -- * example. -- * @return A cookie -- * -- * Changes the components specified by \a value_mask for the specified graphics context. -- * -- function xcb_change_gc (c : access xcb.xcb_connection_t; gc : xcb_gcontext_t; value_mask : bits_stdint_uintn_h.uint32_t; value_list : System.Address) return xcb.xcb_void_cookie_t -- /usr/include/xcb/xproto.h:9340 with Import => True, Convention => C, External_Name => "xcb_change_gc"; --* -- * @brief change graphics context components -- * -- * @param c The connection -- * @param gc The graphics context to change. -- * @param value_mask A bitmask of #xcb_gc_t values. -- * @param value_mask \n -- * @param value_list Values for each of the components specified in the bitmask \a value_mask. The -- * order has to correspond to the order of possible \a value_mask bits. See the -- * example. -- * @return A cookie -- * -- * Changes the components specified by \a value_mask for the specified graphics context. -- * -- * This form can be used only if the request will not cause -- * a reply to be generated. Any returned error will be -- * saved for handling by xcb_request_check(). -- function xcb_change_gc_aux_checked (c : access xcb.xcb_connection_t; gc : xcb_gcontext_t; value_mask : bits_stdint_uintn_h.uint32_t; value_list : access constant xcb_change_gc_value_list_t) return xcb.xcb_void_cookie_t -- /usr/include/xcb/xproto.h:9364 with Import => True, Convention => C, External_Name => "xcb_change_gc_aux_checked"; --* -- * @brief change graphics context components -- * -- * @param c The connection -- * @param gc The graphics context to change. -- * @param value_mask A bitmask of #xcb_gc_t values. -- * @param value_mask \n -- * @param value_list Values for each of the components specified in the bitmask \a value_mask. The -- * order has to correspond to the order of possible \a value_mask bits. See the -- * example. -- * @return A cookie -- * -- * Changes the components specified by \a value_mask for the specified graphics context. -- * -- function xcb_change_gc_aux (c : access xcb.xcb_connection_t; gc : xcb_gcontext_t; value_mask : bits_stdint_uintn_h.uint32_t; value_list : access constant xcb_change_gc_value_list_t) return xcb.xcb_void_cookie_t -- /usr/include/xcb/xproto.h:9385 with Import => True, Convention => C, External_Name => "xcb_change_gc_aux"; function xcb_change_gc_value_list (R : access constant xcb_change_gc_request_t) return System.Address -- /usr/include/xcb/xproto.h:9391 with Import => True, Convention => C, External_Name => "xcb_change_gc_value_list"; --* -- * -- * @param c The connection -- * @return A cookie -- * -- * Delivers a request to the X server. -- * -- * This form can be used only if the request will not cause -- * a reply to be generated. Any returned error will be -- * saved for handling by xcb_request_check(). -- function xcb_copy_gc_checked (c : access xcb.xcb_connection_t; src_gc : xcb_gcontext_t; dst_gc : xcb_gcontext_t; value_mask : bits_stdint_uintn_h.uint32_t) return xcb.xcb_void_cookie_t -- /usr/include/xcb/xproto.h:9405 with Import => True, Convention => C, External_Name => "xcb_copy_gc_checked"; --* -- * -- * @param c The connection -- * @return A cookie -- * -- * Delivers a request to the X server. -- * -- function xcb_copy_gc (c : access xcb.xcb_connection_t; src_gc : xcb_gcontext_t; dst_gc : xcb_gcontext_t; value_mask : bits_stdint_uintn_h.uint32_t) return xcb.xcb_void_cookie_t -- /usr/include/xcb/xproto.h:9419 with Import => True, Convention => C, External_Name => "xcb_copy_gc"; function xcb_set_dashes_sizeof (u_buffer : System.Address) return int -- /usr/include/xcb/xproto.h:9425 with Import => True, Convention => C, External_Name => "xcb_set_dashes_sizeof"; --* -- * -- * @param c The connection -- * @return A cookie -- * -- * Delivers a request to the X server. -- * -- * This form can be used only if the request will not cause -- * a reply to be generated. Any returned error will be -- * saved for handling by xcb_request_check(). -- function xcb_set_dashes_checked (c : access xcb.xcb_connection_t; gc : xcb_gcontext_t; dash_offset : bits_stdint_uintn_h.uint16_t; dashes_len : bits_stdint_uintn_h.uint16_t; dashes : access bits_stdint_uintn_h.uint8_t) return xcb.xcb_void_cookie_t -- /usr/include/xcb/xproto.h:9439 with Import => True, Convention => C, External_Name => "xcb_set_dashes_checked"; --* -- * -- * @param c The connection -- * @return A cookie -- * -- * Delivers a request to the X server. -- * -- function xcb_set_dashes (c : access xcb.xcb_connection_t; gc : xcb_gcontext_t; dash_offset : bits_stdint_uintn_h.uint16_t; dashes_len : bits_stdint_uintn_h.uint16_t; dashes : access bits_stdint_uintn_h.uint8_t) return xcb.xcb_void_cookie_t -- /usr/include/xcb/xproto.h:9454 with Import => True, Convention => C, External_Name => "xcb_set_dashes"; function xcb_set_dashes_dashes (R : access constant xcb_set_dashes_request_t) return access bits_stdint_uintn_h.uint8_t -- /usr/include/xcb/xproto.h:9461 with Import => True, Convention => C, External_Name => "xcb_set_dashes_dashes"; function xcb_set_dashes_dashes_length (R : access constant xcb_set_dashes_request_t) return int -- /usr/include/xcb/xproto.h:9464 with Import => True, Convention => C, External_Name => "xcb_set_dashes_dashes_length"; function xcb_set_dashes_dashes_end (R : access constant xcb_set_dashes_request_t) return xcb.xcb_generic_iterator_t -- /usr/include/xcb/xproto.h:9467 with Import => True, Convention => C, External_Name => "xcb_set_dashes_dashes_end"; function xcb_set_clip_rectangles_sizeof (u_buffer : System.Address; rectangles_len : bits_stdint_uintn_h.uint32_t) return int -- /usr/include/xcb/xproto.h:9470 with Import => True, Convention => C, External_Name => "xcb_set_clip_rectangles_sizeof"; --* -- * -- * @param c The connection -- * @return A cookie -- * -- * Delivers a request to the X server. -- * -- * This form can be used only if the request will not cause -- * a reply to be generated. Any returned error will be -- * saved for handling by xcb_request_check(). -- function xcb_set_clip_rectangles_checked (c : access xcb.xcb_connection_t; ordering : bits_stdint_uintn_h.uint8_t; gc : xcb_gcontext_t; clip_x_origin : bits_stdint_intn_h.int16_t; clip_y_origin : bits_stdint_intn_h.int16_t; rectangles_len : bits_stdint_uintn_h.uint32_t; rectangles : access constant xcb_rectangle_t) return xcb.xcb_void_cookie_t -- /usr/include/xcb/xproto.h:9485 with Import => True, Convention => C, External_Name => "xcb_set_clip_rectangles_checked"; --* -- * -- * @param c The connection -- * @return A cookie -- * -- * Delivers a request to the X server. -- * -- function xcb_set_clip_rectangles (c : access xcb.xcb_connection_t; ordering : bits_stdint_uintn_h.uint8_t; gc : xcb_gcontext_t; clip_x_origin : bits_stdint_intn_h.int16_t; clip_y_origin : bits_stdint_intn_h.int16_t; rectangles_len : bits_stdint_uintn_h.uint32_t; rectangles : access constant xcb_rectangle_t) return xcb.xcb_void_cookie_t -- /usr/include/xcb/xproto.h:9502 with Import => True, Convention => C, External_Name => "xcb_set_clip_rectangles"; function xcb_set_clip_rectangles_rectangles (R : access constant xcb_set_clip_rectangles_request_t) return access xcb_rectangle_t -- /usr/include/xcb/xproto.h:9511 with Import => True, Convention => C, External_Name => "xcb_set_clip_rectangles_rectangles"; function xcb_set_clip_rectangles_rectangles_length (R : access constant xcb_set_clip_rectangles_request_t) return int -- /usr/include/xcb/xproto.h:9514 with Import => True, Convention => C, External_Name => "xcb_set_clip_rectangles_rectangles_length"; function xcb_set_clip_rectangles_rectangles_iterator (R : access constant xcb_set_clip_rectangles_request_t) return xcb_rectangle_iterator_t -- /usr/include/xcb/xproto.h:9517 with Import => True, Convention => C, External_Name => "xcb_set_clip_rectangles_rectangles_iterator"; --* -- * @brief Destroys a graphics context -- * -- * @param c The connection -- * @param gc The graphics context to destroy. -- * @return A cookie -- * -- * Destroys the specified \a gc and all associated storage. -- * -- * This form can be used only if the request will not cause -- * a reply to be generated. Any returned error will be -- * saved for handling by xcb_request_check(). -- function xcb_free_gc_checked (c : access xcb.xcb_connection_t; gc : xcb_gcontext_t) return xcb.xcb_void_cookie_t -- /usr/include/xcb/xproto.h:9533 with Import => True, Convention => C, External_Name => "xcb_free_gc_checked"; --* -- * @brief Destroys a graphics context -- * -- * @param c The connection -- * @param gc The graphics context to destroy. -- * @return A cookie -- * -- * Destroys the specified \a gc and all associated storage. -- * -- function xcb_free_gc (c : access xcb.xcb_connection_t; gc : xcb_gcontext_t) return xcb.xcb_void_cookie_t -- /usr/include/xcb/xproto.h:9547 with Import => True, Convention => C, External_Name => "xcb_free_gc"; --* -- * -- * @param c The connection -- * @return A cookie -- * -- * Delivers a request to the X server. -- * -- * This form can be used only if the request will not cause -- * a reply to be generated. Any returned error will be -- * saved for handling by xcb_request_check(). -- function xcb_clear_area_checked (c : access xcb.xcb_connection_t; exposures : bits_stdint_uintn_h.uint8_t; window : xcb_window_t; x : bits_stdint_intn_h.int16_t; y : bits_stdint_intn_h.int16_t; width : bits_stdint_uintn_h.uint16_t; height : bits_stdint_uintn_h.uint16_t) return xcb.xcb_void_cookie_t -- /usr/include/xcb/xproto.h:9562 with Import => True, Convention => C, External_Name => "xcb_clear_area_checked"; --* -- * -- * @param c The connection -- * @return A cookie -- * -- * Delivers a request to the X server. -- * -- function xcb_clear_area (c : access xcb.xcb_connection_t; exposures : bits_stdint_uintn_h.uint8_t; window : xcb_window_t; x : bits_stdint_intn_h.int16_t; y : bits_stdint_intn_h.int16_t; width : bits_stdint_uintn_h.uint16_t; height : bits_stdint_uintn_h.uint16_t) return xcb.xcb_void_cookie_t -- /usr/include/xcb/xproto.h:9579 with Import => True, Convention => C, External_Name => "xcb_clear_area"; --* -- * @brief copy areas -- * -- * @param c The connection -- * @param src_drawable The source drawable (Window or Pixmap). -- * @param dst_drawable The destination drawable (Window or Pixmap). -- * @param gc The graphics context to use. -- * @param src_x The source X coordinate. -- * @param src_y The source Y coordinate. -- * @param dst_x The destination X coordinate. -- * @param dst_y The destination Y coordinate. -- * @param width The width of the area to copy (in pixels). -- * @param height The height of the area to copy (in pixels). -- * @return A cookie -- * -- * Copies the specified rectangle from \a src_drawable to \a dst_drawable. -- * -- * This form can be used only if the request will not cause -- * a reply to be generated. Any returned error will be -- * saved for handling by xcb_request_check(). -- function xcb_copy_area_checked (c : access xcb.xcb_connection_t; src_drawable : xcb_drawable_t; dst_drawable : xcb_drawable_t; gc : xcb_gcontext_t; src_x : bits_stdint_intn_h.int16_t; src_y : bits_stdint_intn_h.int16_t; dst_x : bits_stdint_intn_h.int16_t; dst_y : bits_stdint_intn_h.int16_t; width : bits_stdint_uintn_h.uint16_t; height : bits_stdint_uintn_h.uint16_t) return xcb.xcb_void_cookie_t -- /usr/include/xcb/xproto.h:9609 with Import => True, Convention => C, External_Name => "xcb_copy_area_checked"; --* -- * @brief copy areas -- * -- * @param c The connection -- * @param src_drawable The source drawable (Window or Pixmap). -- * @param dst_drawable The destination drawable (Window or Pixmap). -- * @param gc The graphics context to use. -- * @param src_x The source X coordinate. -- * @param src_y The source Y coordinate. -- * @param dst_x The destination X coordinate. -- * @param dst_y The destination Y coordinate. -- * @param width The width of the area to copy (in pixels). -- * @param height The height of the area to copy (in pixels). -- * @return A cookie -- * -- * Copies the specified rectangle from \a src_drawable to \a dst_drawable. -- * -- function xcb_copy_area (c : access xcb.xcb_connection_t; src_drawable : xcb_drawable_t; dst_drawable : xcb_drawable_t; gc : xcb_gcontext_t; src_x : bits_stdint_intn_h.int16_t; src_y : bits_stdint_intn_h.int16_t; dst_x : bits_stdint_intn_h.int16_t; dst_y : bits_stdint_intn_h.int16_t; width : bits_stdint_uintn_h.uint16_t; height : bits_stdint_uintn_h.uint16_t) return xcb.xcb_void_cookie_t -- /usr/include/xcb/xproto.h:9639 with Import => True, Convention => C, External_Name => "xcb_copy_area"; --* -- * -- * @param c The connection -- * @return A cookie -- * -- * Delivers a request to the X server. -- * -- * This form can be used only if the request will not cause -- * a reply to be generated. Any returned error will be -- * saved for handling by xcb_request_check(). -- function xcb_copy_plane_checked (c : access xcb.xcb_connection_t; src_drawable : xcb_drawable_t; dst_drawable : xcb_drawable_t; gc : xcb_gcontext_t; src_x : bits_stdint_intn_h.int16_t; src_y : bits_stdint_intn_h.int16_t; dst_x : bits_stdint_intn_h.int16_t; dst_y : bits_stdint_intn_h.int16_t; width : bits_stdint_uintn_h.uint16_t; height : bits_stdint_uintn_h.uint16_t; bit_plane : bits_stdint_uintn_h.uint32_t) return xcb.xcb_void_cookie_t -- /usr/include/xcb/xproto.h:9662 with Import => True, Convention => C, External_Name => "xcb_copy_plane_checked"; --* -- * -- * @param c The connection -- * @return A cookie -- * -- * Delivers a request to the X server. -- * -- function xcb_copy_plane (c : access xcb.xcb_connection_t; src_drawable : xcb_drawable_t; dst_drawable : xcb_drawable_t; gc : xcb_gcontext_t; src_x : bits_stdint_intn_h.int16_t; src_y : bits_stdint_intn_h.int16_t; dst_x : bits_stdint_intn_h.int16_t; dst_y : bits_stdint_intn_h.int16_t; width : bits_stdint_uintn_h.uint16_t; height : bits_stdint_uintn_h.uint16_t; bit_plane : bits_stdint_uintn_h.uint32_t) return xcb.xcb_void_cookie_t -- /usr/include/xcb/xproto.h:9683 with Import => True, Convention => C, External_Name => "xcb_copy_plane"; function xcb_poly_point_sizeof (u_buffer : System.Address; points_len : bits_stdint_uintn_h.uint32_t) return int -- /usr/include/xcb/xproto.h:9696 with Import => True, Convention => C, External_Name => "xcb_poly_point_sizeof"; --* -- * -- * @param c The connection -- * @return A cookie -- * -- * Delivers a request to the X server. -- * -- * This form can be used only if the request will not cause -- * a reply to be generated. Any returned error will be -- * saved for handling by xcb_request_check(). -- function xcb_poly_point_checked (c : access xcb.xcb_connection_t; coordinate_mode : bits_stdint_uintn_h.uint8_t; drawable : xcb_drawable_t; gc : xcb_gcontext_t; points_len : bits_stdint_uintn_h.uint32_t; points : access constant xcb_point_t) return xcb.xcb_void_cookie_t -- /usr/include/xcb/xproto.h:9711 with Import => True, Convention => C, External_Name => "xcb_poly_point_checked"; --* -- * -- * @param c The connection -- * @return A cookie -- * -- * Delivers a request to the X server. -- * -- function xcb_poly_point (c : access xcb.xcb_connection_t; coordinate_mode : bits_stdint_uintn_h.uint8_t; drawable : xcb_drawable_t; gc : xcb_gcontext_t; points_len : bits_stdint_uintn_h.uint32_t; points : access constant xcb_point_t) return xcb.xcb_void_cookie_t -- /usr/include/xcb/xproto.h:9727 with Import => True, Convention => C, External_Name => "xcb_poly_point"; function xcb_poly_point_points (R : access constant xcb_poly_point_request_t) return access xcb_point_t -- /usr/include/xcb/xproto.h:9735 with Import => True, Convention => C, External_Name => "xcb_poly_point_points"; function xcb_poly_point_points_length (R : access constant xcb_poly_point_request_t) return int -- /usr/include/xcb/xproto.h:9738 with Import => True, Convention => C, External_Name => "xcb_poly_point_points_length"; function xcb_poly_point_points_iterator (R : access constant xcb_poly_point_request_t) return xcb_point_iterator_t -- /usr/include/xcb/xproto.h:9741 with Import => True, Convention => C, External_Name => "xcb_poly_point_points_iterator"; function xcb_poly_line_sizeof (u_buffer : System.Address; points_len : bits_stdint_uintn_h.uint32_t) return int -- /usr/include/xcb/xproto.h:9744 with Import => True, Convention => C, External_Name => "xcb_poly_line_sizeof"; --* -- * @brief draw lines -- * -- * @param c The connection -- * @param coordinate_mode A bitmask of #xcb_coord_mode_t values. -- * @param coordinate_mode \n -- * @param drawable The drawable to draw the line(s) on. -- * @param gc The graphics context to use. -- * @param points_len The number of `xcb_point_t` structures in \a points. -- * @param points An array of points. -- * @return A cookie -- * -- * Draws \a points_len-1 lines between each pair of points (point[i], point[i+1]) -- * in the \a points array. The lines are drawn in the order listed in the array. -- * They join correctly at all intermediate points, and if the first and last -- * points coincide, the first and last lines also join correctly. For any given -- * line, a pixel is not drawn more than once. If thin (zero line-width) lines -- * intersect, the intersecting pixels are drawn multiple times. If wide lines -- * intersect, the intersecting pixels are drawn only once, as though the entire -- * request were a single, filled shape. -- * -- * This form can be used only if the request will not cause -- * a reply to be generated. Any returned error will be -- * saved for handling by xcb_request_check(). -- function xcb_poly_line_checked (c : access xcb.xcb_connection_t; coordinate_mode : bits_stdint_uintn_h.uint8_t; drawable : xcb_drawable_t; gc : xcb_gcontext_t; points_len : bits_stdint_uintn_h.uint32_t; points : access constant xcb_point_t) return xcb.xcb_void_cookie_t -- /usr/include/xcb/xproto.h:9773 with Import => True, Convention => C, External_Name => "xcb_poly_line_checked"; --* -- * @brief draw lines -- * -- * @param c The connection -- * @param coordinate_mode A bitmask of #xcb_coord_mode_t values. -- * @param coordinate_mode \n -- * @param drawable The drawable to draw the line(s) on. -- * @param gc The graphics context to use. -- * @param points_len The number of `xcb_point_t` structures in \a points. -- * @param points An array of points. -- * @return A cookie -- * -- * Draws \a points_len-1 lines between each pair of points (point[i], point[i+1]) -- * in the \a points array. The lines are drawn in the order listed in the array. -- * They join correctly at all intermediate points, and if the first and last -- * points coincide, the first and last lines also join correctly. For any given -- * line, a pixel is not drawn more than once. If thin (zero line-width) lines -- * intersect, the intersecting pixels are drawn multiple times. If wide lines -- * intersect, the intersecting pixels are drawn only once, as though the entire -- * request were a single, filled shape. -- * -- function xcb_poly_line (c : access xcb.xcb_connection_t; coordinate_mode : bits_stdint_uintn_h.uint8_t; drawable : xcb_drawable_t; gc : xcb_gcontext_t; points_len : bits_stdint_uintn_h.uint32_t; points : access constant xcb_point_t) return xcb.xcb_void_cookie_t -- /usr/include/xcb/xproto.h:9803 with Import => True, Convention => C, External_Name => "xcb_poly_line"; function xcb_poly_line_points (R : access constant xcb_poly_line_request_t) return access xcb_point_t -- /usr/include/xcb/xproto.h:9811 with Import => True, Convention => C, External_Name => "xcb_poly_line_points"; function xcb_poly_line_points_length (R : access constant xcb_poly_line_request_t) return int -- /usr/include/xcb/xproto.h:9814 with Import => True, Convention => C, External_Name => "xcb_poly_line_points_length"; function xcb_poly_line_points_iterator (R : access constant xcb_poly_line_request_t) return xcb_point_iterator_t -- /usr/include/xcb/xproto.h:9817 with Import => True, Convention => C, External_Name => "xcb_poly_line_points_iterator"; --* -- * Get the next element of the iterator -- * @param i Pointer to a xcb_segment_iterator_t -- * -- * Get the next element in the iterator. The member rem is -- * decreased by one. The member data points to the next -- * element. The member index is increased by sizeof(xcb_segment_t) -- procedure xcb_segment_next (i : access xcb_segment_iterator_t) -- /usr/include/xcb/xproto.h:9828 with Import => True, Convention => C, External_Name => "xcb_segment_next"; --* -- * Return the iterator pointing to the last element -- * @param i An xcb_segment_iterator_t -- * @return The iterator pointing to the last element -- * -- * Set the current element in the iterator to the last element. -- * The member rem is set to 0. The member data points to the -- * last element. -- function xcb_segment_end (i : xcb_segment_iterator_t) return xcb.xcb_generic_iterator_t -- /usr/include/xcb/xproto.h:9840 with Import => True, Convention => C, External_Name => "xcb_segment_end"; function xcb_poly_segment_sizeof (u_buffer : System.Address; segments_len : bits_stdint_uintn_h.uint32_t) return int -- /usr/include/xcb/xproto.h:9843 with Import => True, Convention => C, External_Name => "xcb_poly_segment_sizeof"; --* -- * @brief draw lines -- * -- * @param c The connection -- * @param drawable A drawable (Window or Pixmap) to draw on. -- * @param gc The graphics context to use. -- * \n -- * TODO: document which attributes of a gc are used -- * @param segments_len The number of `xcb_segment_t` structures in \a segments. -- * @param segments An array of `xcb_segment_t` structures. -- * @return A cookie -- * -- * Draws multiple, unconnected lines. For each segment, a line is drawn between -- * (x1, y1) and (x2, y2). The lines are drawn in the order listed in the array of -- * `xcb_segment_t` structures and does not perform joining at coincident -- * endpoints. For any given line, a pixel is not drawn more than once. If lines -- * intersect, the intersecting pixels are drawn multiple times. -- * -- * TODO: include the xcb_segment_t data structure -- * -- * TODO: an example -- * -- * This form can be used only if the request will not cause -- * a reply to be generated. Any returned error will be -- * saved for handling by xcb_request_check(). -- function xcb_poly_segment_checked (c : access xcb.xcb_connection_t; drawable : xcb_drawable_t; gc : xcb_gcontext_t; segments_len : bits_stdint_uintn_h.uint32_t; segments : access constant xcb_segment_t) return xcb.xcb_void_cookie_t -- /usr/include/xcb/xproto.h:9873 with Import => True, Convention => C, External_Name => "xcb_poly_segment_checked"; --* -- * @brief draw lines -- * -- * @param c The connection -- * @param drawable A drawable (Window or Pixmap) to draw on. -- * @param gc The graphics context to use. -- * \n -- * TODO: document which attributes of a gc are used -- * @param segments_len The number of `xcb_segment_t` structures in \a segments. -- * @param segments An array of `xcb_segment_t` structures. -- * @return A cookie -- * -- * Draws multiple, unconnected lines. For each segment, a line is drawn between -- * (x1, y1) and (x2, y2). The lines are drawn in the order listed in the array of -- * `xcb_segment_t` structures and does not perform joining at coincident -- * endpoints. For any given line, a pixel is not drawn more than once. If lines -- * intersect, the intersecting pixels are drawn multiple times. -- * -- * TODO: include the xcb_segment_t data structure -- * -- * TODO: an example -- * -- function xcb_poly_segment (c : access xcb.xcb_connection_t; drawable : xcb_drawable_t; gc : xcb_gcontext_t; segments_len : bits_stdint_uintn_h.uint32_t; segments : access constant xcb_segment_t) return xcb.xcb_void_cookie_t -- /usr/include/xcb/xproto.h:9903 with Import => True, Convention => C, External_Name => "xcb_poly_segment"; function xcb_poly_segment_segments (R : access constant xcb_poly_segment_request_t) return access xcb_segment_t -- /usr/include/xcb/xproto.h:9910 with Import => True, Convention => C, External_Name => "xcb_poly_segment_segments"; function xcb_poly_segment_segments_length (R : access constant xcb_poly_segment_request_t) return int -- /usr/include/xcb/xproto.h:9913 with Import => True, Convention => C, External_Name => "xcb_poly_segment_segments_length"; function xcb_poly_segment_segments_iterator (R : access constant xcb_poly_segment_request_t) return xcb_segment_iterator_t -- /usr/include/xcb/xproto.h:9916 with Import => True, Convention => C, External_Name => "xcb_poly_segment_segments_iterator"; function xcb_poly_rectangle_sizeof (u_buffer : System.Address; rectangles_len : bits_stdint_uintn_h.uint32_t) return int -- /usr/include/xcb/xproto.h:9919 with Import => True, Convention => C, External_Name => "xcb_poly_rectangle_sizeof"; --* -- * -- * @param c The connection -- * @return A cookie -- * -- * Delivers a request to the X server. -- * -- * This form can be used only if the request will not cause -- * a reply to be generated. Any returned error will be -- * saved for handling by xcb_request_check(). -- function xcb_poly_rectangle_checked (c : access xcb.xcb_connection_t; drawable : xcb_drawable_t; gc : xcb_gcontext_t; rectangles_len : bits_stdint_uintn_h.uint32_t; rectangles : access constant xcb_rectangle_t) return xcb.xcb_void_cookie_t -- /usr/include/xcb/xproto.h:9934 with Import => True, Convention => C, External_Name => "xcb_poly_rectangle_checked"; --* -- * -- * @param c The connection -- * @return A cookie -- * -- * Delivers a request to the X server. -- * -- function xcb_poly_rectangle (c : access xcb.xcb_connection_t; drawable : xcb_drawable_t; gc : xcb_gcontext_t; rectangles_len : bits_stdint_uintn_h.uint32_t; rectangles : access constant xcb_rectangle_t) return xcb.xcb_void_cookie_t -- /usr/include/xcb/xproto.h:9949 with Import => True, Convention => C, External_Name => "xcb_poly_rectangle"; function xcb_poly_rectangle_rectangles (R : access constant xcb_poly_rectangle_request_t) return access xcb_rectangle_t -- /usr/include/xcb/xproto.h:9956 with Import => True, Convention => C, External_Name => "xcb_poly_rectangle_rectangles"; function xcb_poly_rectangle_rectangles_length (R : access constant xcb_poly_rectangle_request_t) return int -- /usr/include/xcb/xproto.h:9959 with Import => True, Convention => C, External_Name => "xcb_poly_rectangle_rectangles_length"; function xcb_poly_rectangle_rectangles_iterator (R : access constant xcb_poly_rectangle_request_t) return xcb_rectangle_iterator_t -- /usr/include/xcb/xproto.h:9962 with Import => True, Convention => C, External_Name => "xcb_poly_rectangle_rectangles_iterator"; function xcb_poly_arc_sizeof (u_buffer : System.Address; arcs_len : bits_stdint_uintn_h.uint32_t) return int -- /usr/include/xcb/xproto.h:9965 with Import => True, Convention => C, External_Name => "xcb_poly_arc_sizeof"; --* -- * -- * @param c The connection -- * @return A cookie -- * -- * Delivers a request to the X server. -- * -- * This form can be used only if the request will not cause -- * a reply to be generated. Any returned error will be -- * saved for handling by xcb_request_check(). -- function xcb_poly_arc_checked (c : access xcb.xcb_connection_t; drawable : xcb_drawable_t; gc : xcb_gcontext_t; arcs_len : bits_stdint_uintn_h.uint32_t; arcs : access constant xcb_arc_t) return xcb.xcb_void_cookie_t -- /usr/include/xcb/xproto.h:9980 with Import => True, Convention => C, External_Name => "xcb_poly_arc_checked"; --* -- * -- * @param c The connection -- * @return A cookie -- * -- * Delivers a request to the X server. -- * -- function xcb_poly_arc (c : access xcb.xcb_connection_t; drawable : xcb_drawable_t; gc : xcb_gcontext_t; arcs_len : bits_stdint_uintn_h.uint32_t; arcs : access constant xcb_arc_t) return xcb.xcb_void_cookie_t -- /usr/include/xcb/xproto.h:9995 with Import => True, Convention => C, External_Name => "xcb_poly_arc"; function xcb_poly_arc_arcs (R : access constant xcb_poly_arc_request_t) return access xcb_arc_t -- /usr/include/xcb/xproto.h:10002 with Import => True, Convention => C, External_Name => "xcb_poly_arc_arcs"; function xcb_poly_arc_arcs_length (R : access constant xcb_poly_arc_request_t) return int -- /usr/include/xcb/xproto.h:10005 with Import => True, Convention => C, External_Name => "xcb_poly_arc_arcs_length"; function xcb_poly_arc_arcs_iterator (R : access constant xcb_poly_arc_request_t) return xcb_arc_iterator_t -- /usr/include/xcb/xproto.h:10008 with Import => True, Convention => C, External_Name => "xcb_poly_arc_arcs_iterator"; function xcb_fill_poly_sizeof (u_buffer : System.Address; points_len : bits_stdint_uintn_h.uint32_t) return int -- /usr/include/xcb/xproto.h:10011 with Import => True, Convention => C, External_Name => "xcb_fill_poly_sizeof"; --* -- * -- * @param c The connection -- * @return A cookie -- * -- * Delivers a request to the X server. -- * -- * This form can be used only if the request will not cause -- * a reply to be generated. Any returned error will be -- * saved for handling by xcb_request_check(). -- function xcb_fill_poly_checked (c : access xcb.xcb_connection_t; drawable : xcb_drawable_t; gc : xcb_gcontext_t; shape : bits_stdint_uintn_h.uint8_t; coordinate_mode : bits_stdint_uintn_h.uint8_t; points_len : bits_stdint_uintn_h.uint32_t; points : access constant xcb_point_t) return xcb.xcb_void_cookie_t -- /usr/include/xcb/xproto.h:10026 with Import => True, Convention => C, External_Name => "xcb_fill_poly_checked"; --* -- * -- * @param c The connection -- * @return A cookie -- * -- * Delivers a request to the X server. -- * -- function xcb_fill_poly (c : access xcb.xcb_connection_t; drawable : xcb_drawable_t; gc : xcb_gcontext_t; shape : bits_stdint_uintn_h.uint8_t; coordinate_mode : bits_stdint_uintn_h.uint8_t; points_len : bits_stdint_uintn_h.uint32_t; points : access constant xcb_point_t) return xcb.xcb_void_cookie_t -- /usr/include/xcb/xproto.h:10043 with Import => True, Convention => C, External_Name => "xcb_fill_poly"; function xcb_fill_poly_points (R : access constant xcb_fill_poly_request_t) return access xcb_point_t -- /usr/include/xcb/xproto.h:10052 with Import => True, Convention => C, External_Name => "xcb_fill_poly_points"; function xcb_fill_poly_points_length (R : access constant xcb_fill_poly_request_t) return int -- /usr/include/xcb/xproto.h:10055 with Import => True, Convention => C, External_Name => "xcb_fill_poly_points_length"; function xcb_fill_poly_points_iterator (R : access constant xcb_fill_poly_request_t) return xcb_point_iterator_t -- /usr/include/xcb/xproto.h:10058 with Import => True, Convention => C, External_Name => "xcb_fill_poly_points_iterator"; function xcb_poly_fill_rectangle_sizeof (u_buffer : System.Address; rectangles_len : bits_stdint_uintn_h.uint32_t) return int -- /usr/include/xcb/xproto.h:10061 with Import => True, Convention => C, External_Name => "xcb_poly_fill_rectangle_sizeof"; --* -- * @brief Fills rectangles -- * -- * @param c The connection -- * @param drawable The drawable (Window or Pixmap) to draw on. -- * @param gc The graphics context to use. -- * \n -- * The following graphics context components are used: function, plane-mask, -- * fill-style, subwindow-mode, clip-x-origin, clip-y-origin, and clip-mask. -- * \n -- * The following graphics context mode-dependent components are used: -- * foreground, background, tile, stipple, tile-stipple-x-origin, and -- * tile-stipple-y-origin. -- * @param rectangles_len The number of `xcb_rectangle_t` structures in \a rectangles. -- * @param rectangles The rectangles to fill. -- * @return A cookie -- * -- * Fills the specified rectangle(s) in the order listed in the array. For any -- * given rectangle, each pixel is not drawn more than once. If rectangles -- * intersect, the intersecting pixels are drawn multiple times. -- * -- * This form can be used only if the request will not cause -- * a reply to be generated. Any returned error will be -- * saved for handling by xcb_request_check(). -- function xcb_poly_fill_rectangle_checked (c : access xcb.xcb_connection_t; drawable : xcb_drawable_t; gc : xcb_gcontext_t; rectangles_len : bits_stdint_uintn_h.uint32_t; rectangles : access constant xcb_rectangle_t) return xcb.xcb_void_cookie_t -- /usr/include/xcb/xproto.h:10090 with Import => True, Convention => C, External_Name => "xcb_poly_fill_rectangle_checked"; --* -- * @brief Fills rectangles -- * -- * @param c The connection -- * @param drawable The drawable (Window or Pixmap) to draw on. -- * @param gc The graphics context to use. -- * \n -- * The following graphics context components are used: function, plane-mask, -- * fill-style, subwindow-mode, clip-x-origin, clip-y-origin, and clip-mask. -- * \n -- * The following graphics context mode-dependent components are used: -- * foreground, background, tile, stipple, tile-stipple-x-origin, and -- * tile-stipple-y-origin. -- * @param rectangles_len The number of `xcb_rectangle_t` structures in \a rectangles. -- * @param rectangles The rectangles to fill. -- * @return A cookie -- * -- * Fills the specified rectangle(s) in the order listed in the array. For any -- * given rectangle, each pixel is not drawn more than once. If rectangles -- * intersect, the intersecting pixels are drawn multiple times. -- * -- function xcb_poly_fill_rectangle (c : access xcb.xcb_connection_t; drawable : xcb_drawable_t; gc : xcb_gcontext_t; rectangles_len : bits_stdint_uintn_h.uint32_t; rectangles : access constant xcb_rectangle_t) return xcb.xcb_void_cookie_t -- /usr/include/xcb/xproto.h:10119 with Import => True, Convention => C, External_Name => "xcb_poly_fill_rectangle"; function xcb_poly_fill_rectangle_rectangles (R : access constant xcb_poly_fill_rectangle_request_t) return access xcb_rectangle_t -- /usr/include/xcb/xproto.h:10126 with Import => True, Convention => C, External_Name => "xcb_poly_fill_rectangle_rectangles"; function xcb_poly_fill_rectangle_rectangles_length (R : access constant xcb_poly_fill_rectangle_request_t) return int -- /usr/include/xcb/xproto.h:10129 with Import => True, Convention => C, External_Name => "xcb_poly_fill_rectangle_rectangles_length"; function xcb_poly_fill_rectangle_rectangles_iterator (R : access constant xcb_poly_fill_rectangle_request_t) return xcb_rectangle_iterator_t -- /usr/include/xcb/xproto.h:10132 with Import => True, Convention => C, External_Name => "xcb_poly_fill_rectangle_rectangles_iterator"; function xcb_poly_fill_arc_sizeof (u_buffer : System.Address; arcs_len : bits_stdint_uintn_h.uint32_t) return int -- /usr/include/xcb/xproto.h:10135 with Import => True, Convention => C, External_Name => "xcb_poly_fill_arc_sizeof"; --* -- * -- * @param c The connection -- * @return A cookie -- * -- * Delivers a request to the X server. -- * -- * This form can be used only if the request will not cause -- * a reply to be generated. Any returned error will be -- * saved for handling by xcb_request_check(). -- function xcb_poly_fill_arc_checked (c : access xcb.xcb_connection_t; drawable : xcb_drawable_t; gc : xcb_gcontext_t; arcs_len : bits_stdint_uintn_h.uint32_t; arcs : access constant xcb_arc_t) return xcb.xcb_void_cookie_t -- /usr/include/xcb/xproto.h:10150 with Import => True, Convention => C, External_Name => "xcb_poly_fill_arc_checked"; --* -- * -- * @param c The connection -- * @return A cookie -- * -- * Delivers a request to the X server. -- * -- function xcb_poly_fill_arc (c : access xcb.xcb_connection_t; drawable : xcb_drawable_t; gc : xcb_gcontext_t; arcs_len : bits_stdint_uintn_h.uint32_t; arcs : access constant xcb_arc_t) return xcb.xcb_void_cookie_t -- /usr/include/xcb/xproto.h:10165 with Import => True, Convention => C, External_Name => "xcb_poly_fill_arc"; function xcb_poly_fill_arc_arcs (R : access constant xcb_poly_fill_arc_request_t) return access xcb_arc_t -- /usr/include/xcb/xproto.h:10172 with Import => True, Convention => C, External_Name => "xcb_poly_fill_arc_arcs"; function xcb_poly_fill_arc_arcs_length (R : access constant xcb_poly_fill_arc_request_t) return int -- /usr/include/xcb/xproto.h:10175 with Import => True, Convention => C, External_Name => "xcb_poly_fill_arc_arcs_length"; function xcb_poly_fill_arc_arcs_iterator (R : access constant xcb_poly_fill_arc_request_t) return xcb_arc_iterator_t -- /usr/include/xcb/xproto.h:10178 with Import => True, Convention => C, External_Name => "xcb_poly_fill_arc_arcs_iterator"; function xcb_put_image_sizeof (u_buffer : System.Address; data_len : bits_stdint_uintn_h.uint32_t) return int -- /usr/include/xcb/xproto.h:10181 with Import => True, Convention => C, External_Name => "xcb_put_image_sizeof"; --* -- * -- * @param c The connection -- * @return A cookie -- * -- * Delivers a request to the X server. -- * -- * This form can be used only if the request will not cause -- * a reply to be generated. Any returned error will be -- * saved for handling by xcb_request_check(). -- function xcb_put_image_checked (c : access xcb.xcb_connection_t; format : bits_stdint_uintn_h.uint8_t; drawable : xcb_drawable_t; gc : xcb_gcontext_t; width : bits_stdint_uintn_h.uint16_t; height : bits_stdint_uintn_h.uint16_t; dst_x : bits_stdint_intn_h.int16_t; dst_y : bits_stdint_intn_h.int16_t; left_pad : bits_stdint_uintn_h.uint8_t; depth : bits_stdint_uintn_h.uint8_t; data_len : bits_stdint_uintn_h.uint32_t; data : access Interfaces.Unsigned_8) return xcb.xcb_void_cookie_t -- /usr/include/xcb/xproto.h:10196 with Import => True, Convention => C, External_Name => "xcb_put_image_checked"; --* -- * -- * @param c The connection -- * @return A cookie -- * -- * Delivers a request to the X server. -- * -- function xcb_put_image (c : access xcb.xcb_connection_t; format : bits_stdint_uintn_h.uint8_t; drawable : xcb_drawable_t; gc : xcb_gcontext_t; width : bits_stdint_uintn_h.uint16_t; height : bits_stdint_uintn_h.uint16_t; dst_x : bits_stdint_intn_h.int16_t; dst_y : bits_stdint_intn_h.int16_t; left_pad : bits_stdint_uintn_h.uint8_t; depth : bits_stdint_uintn_h.uint8_t; data_len : bits_stdint_uintn_h.uint32_t; data : access Interfaces.Unsigned_8) return xcb.xcb_void_cookie_t -- /usr/include/xcb/xproto.h:10218 with Import => True, Convention => C, External_Name => "xcb_put_image"; function xcb_put_image_data (R : access constant xcb_put_image_request_t) return access bits_stdint_uintn_h.uint8_t -- /usr/include/xcb/xproto.h:10232 with Import => True, Convention => C, External_Name => "xcb_put_image_data"; function xcb_put_image_data_length (R : access constant xcb_put_image_request_t) return int -- /usr/include/xcb/xproto.h:10235 with Import => True, Convention => C, External_Name => "xcb_put_image_data_length"; function xcb_put_image_data_end (R : access constant xcb_put_image_request_t) return xcb.xcb_generic_iterator_t -- /usr/include/xcb/xproto.h:10238 with Import => True, Convention => C, External_Name => "xcb_put_image_data_end"; function xcb_get_image_sizeof (u_buffer : System.Address) return int -- /usr/include/xcb/xproto.h:10241 with Import => True, Convention => C, External_Name => "xcb_get_image_sizeof"; --* -- * -- * @param c The connection -- * @return A cookie -- * -- * Delivers a request to the X server. -- * -- function xcb_get_image (c : access xcb.xcb_connection_t; format : bits_stdint_uintn_h.uint8_t; drawable : xcb_drawable_t; x : bits_stdint_intn_h.int16_t; y : bits_stdint_intn_h.int16_t; width : bits_stdint_uintn_h.uint16_t; height : bits_stdint_uintn_h.uint16_t; plane_mask : bits_stdint_uintn_h.uint32_t) return xcb_get_image_cookie_t -- /usr/include/xcb/xproto.h:10252 with Import => True, Convention => C, External_Name => "xcb_get_image"; --* -- * -- * @param c The connection -- * @return A cookie -- * -- * Delivers a request to the X server. -- * -- * This form can be used only if the request will cause -- * a reply to be generated. Any returned error will be -- * placed in the event queue. -- function xcb_get_image_unchecked (c : access xcb.xcb_connection_t; format : bits_stdint_uintn_h.uint8_t; drawable : xcb_drawable_t; x : bits_stdint_intn_h.int16_t; y : bits_stdint_intn_h.int16_t; width : bits_stdint_uintn_h.uint16_t; height : bits_stdint_uintn_h.uint16_t; plane_mask : bits_stdint_uintn_h.uint32_t) return xcb_get_image_cookie_t -- /usr/include/xcb/xproto.h:10273 with Import => True, Convention => C, External_Name => "xcb_get_image_unchecked"; function xcb_get_image_data (R : access constant xcb_get_image_reply_t) return access bits_stdint_uintn_h.uint8_t -- /usr/include/xcb/xproto.h:10283 with Import => True, Convention => C, External_Name => "xcb_get_image_data"; function xcb_get_image_data_length (R : access constant xcb_get_image_reply_t) return int -- /usr/include/xcb/xproto.h:10286 with Import => True, Convention => C, External_Name => "xcb_get_image_data_length"; function xcb_get_image_data_end (R : access constant xcb_get_image_reply_t) return xcb.xcb_generic_iterator_t -- /usr/include/xcb/xproto.h:10289 with Import => True, Convention => C, External_Name => "xcb_get_image_data_end"; --* -- * Return the reply -- * @param c The connection -- * @param cookie The cookie -- * @param e The xcb_generic_error_t supplied -- * -- * Returns the reply of the request asked by -- * -- * The parameter @p e supplied to this function must be NULL if -- * xcb_get_image_unchecked(). is used. -- * Otherwise, it stores the error if any. -- * -- * The returned value must be freed by the caller using free(). -- function xcb_get_image_reply (c : access xcb.xcb_connection_t; cookie : xcb_get_image_cookie_t; e : System.Address) return access xcb_get_image_reply_t -- /usr/include/xcb/xproto.h:10306 with Import => True, Convention => C, External_Name => "xcb_get_image_reply"; --*< function xcb_poly_text_8_sizeof (u_buffer : System.Address; items_len : bits_stdint_uintn_h.uint32_t) return int -- /usr/include/xcb/xproto.h:10311 with Import => True, Convention => C, External_Name => "xcb_poly_text_8_sizeof"; --* -- * -- * @param c The connection -- * @return A cookie -- * -- * Delivers a request to the X server. -- * -- * This form can be used only if the request will not cause -- * a reply to be generated. Any returned error will be -- * saved for handling by xcb_request_check(). -- function xcb_poly_text_8_checked (c : access xcb.xcb_connection_t; drawable : xcb_drawable_t; gc : xcb_gcontext_t; x : bits_stdint_intn_h.int16_t; y : bits_stdint_intn_h.int16_t; items_len : bits_stdint_uintn_h.uint32_t; items : access bits_stdint_uintn_h.uint8_t) return xcb.xcb_void_cookie_t -- /usr/include/xcb/xproto.h:10326 with Import => True, Convention => C, External_Name => "xcb_poly_text_8_checked"; --* -- * -- * @param c The connection -- * @return A cookie -- * -- * Delivers a request to the X server. -- * -- function xcb_poly_text_8 (c : access xcb.xcb_connection_t; drawable : xcb_drawable_t; gc : xcb_gcontext_t; x : bits_stdint_intn_h.int16_t; y : bits_stdint_intn_h.int16_t; items_len : bits_stdint_uintn_h.uint32_t; items : access bits_stdint_uintn_h.uint8_t) return xcb.xcb_void_cookie_t -- /usr/include/xcb/xproto.h:10343 with Import => True, Convention => C, External_Name => "xcb_poly_text_8"; function xcb_poly_text_8_items (R : access constant xcb_poly_text_8_request_t) return access bits_stdint_uintn_h.uint8_t -- /usr/include/xcb/xproto.h:10352 with Import => True, Convention => C, External_Name => "xcb_poly_text_8_items"; function xcb_poly_text_8_items_length (R : access constant xcb_poly_text_8_request_t) return int -- /usr/include/xcb/xproto.h:10355 with Import => True, Convention => C, External_Name => "xcb_poly_text_8_items_length"; function xcb_poly_text_8_items_end (R : access constant xcb_poly_text_8_request_t) return xcb.xcb_generic_iterator_t -- /usr/include/xcb/xproto.h:10358 with Import => True, Convention => C, External_Name => "xcb_poly_text_8_items_end"; function xcb_poly_text_16_sizeof (u_buffer : System.Address; items_len : bits_stdint_uintn_h.uint32_t) return int -- /usr/include/xcb/xproto.h:10361 with Import => True, Convention => C, External_Name => "xcb_poly_text_16_sizeof"; --* -- * -- * @param c The connection -- * @return A cookie -- * -- * Delivers a request to the X server. -- * -- * This form can be used only if the request will not cause -- * a reply to be generated. Any returned error will be -- * saved for handling by xcb_request_check(). -- function xcb_poly_text_16_checked (c : access xcb.xcb_connection_t; drawable : xcb_drawable_t; gc : xcb_gcontext_t; x : bits_stdint_intn_h.int16_t; y : bits_stdint_intn_h.int16_t; items_len : bits_stdint_uintn_h.uint32_t; items : access bits_stdint_uintn_h.uint8_t) return xcb.xcb_void_cookie_t -- /usr/include/xcb/xproto.h:10376 with Import => True, Convention => C, External_Name => "xcb_poly_text_16_checked"; --* -- * -- * @param c The connection -- * @return A cookie -- * -- * Delivers a request to the X server. -- * -- function xcb_poly_text_16 (c : access xcb.xcb_connection_t; drawable : xcb_drawable_t; gc : xcb_gcontext_t; x : bits_stdint_intn_h.int16_t; y : bits_stdint_intn_h.int16_t; items_len : bits_stdint_uintn_h.uint32_t; items : access bits_stdint_uintn_h.uint8_t) return xcb.xcb_void_cookie_t -- /usr/include/xcb/xproto.h:10393 with Import => True, Convention => C, External_Name => "xcb_poly_text_16"; function xcb_poly_text_16_items (R : access constant xcb_poly_text_16_request_t) return access bits_stdint_uintn_h.uint8_t -- /usr/include/xcb/xproto.h:10402 with Import => True, Convention => C, External_Name => "xcb_poly_text_16_items"; function xcb_poly_text_16_items_length (R : access constant xcb_poly_text_16_request_t) return int -- /usr/include/xcb/xproto.h:10405 with Import => True, Convention => C, External_Name => "xcb_poly_text_16_items_length"; function xcb_poly_text_16_items_end (R : access constant xcb_poly_text_16_request_t) return xcb.xcb_generic_iterator_t -- /usr/include/xcb/xproto.h:10408 with Import => True, Convention => C, External_Name => "xcb_poly_text_16_items_end"; function xcb_image_text_8_sizeof (u_buffer : System.Address) return int -- /usr/include/xcb/xproto.h:10411 with Import => True, Convention => C, External_Name => "xcb_image_text_8_sizeof"; --* -- * @brief Draws text -- * -- * @param c The connection -- * @param string_len The length of the \a string. Note that this parameter limited by 255 due to -- * using 8 bits! -- * @param drawable The drawable (Window or Pixmap) to draw text on. -- * @param gc The graphics context to use. -- * \n -- * The following graphics context components are used: plane-mask, foreground, -- * background, font, subwindow-mode, clip-x-origin, clip-y-origin, and clip-mask. -- * @param x The x coordinate of the first character, relative to the origin of \a drawable. -- * @param y The y coordinate of the first character, relative to the origin of \a drawable. -- * @param string The string to draw. Only the first 255 characters are relevant due to the data -- * type of \a string_len. -- * @return A cookie -- * -- * Fills the destination rectangle with the background pixel from \a gc, then -- * paints the text with the foreground pixel from \a gc. The upper-left corner of -- * the filled rectangle is at [x, y - font-ascent]. The width is overall-width, -- * the height is font-ascent + font-descent. The overall-width, font-ascent and -- * font-descent are as returned by `xcb_query_text_extents` (TODO). -- * -- * Note that using X core fonts is deprecated (but still supported) in favor of -- * client-side rendering using Xft. -- * -- * This form can be used only if the request will not cause -- * a reply to be generated. Any returned error will be -- * saved for handling by xcb_request_check(). -- function xcb_image_text_8_checked (c : access xcb.xcb_connection_t; string_len : bits_stdint_uintn_h.uint8_t; drawable : xcb_drawable_t; gc : xcb_gcontext_t; x : bits_stdint_intn_h.int16_t; y : bits_stdint_intn_h.int16_t; string : Interfaces.C.Strings.chars_ptr) return xcb.xcb_void_cookie_t -- /usr/include/xcb/xproto.h:10444 with Import => True, Convention => C, External_Name => "xcb_image_text_8_checked"; --* -- * @brief Draws text -- * -- * @param c The connection -- * @param string_len The length of the \a string. Note that this parameter limited by 255 due to -- * using 8 bits! -- * @param drawable The drawable (Window or Pixmap) to draw text on. -- * @param gc The graphics context to use. -- * \n -- * The following graphics context components are used: plane-mask, foreground, -- * background, font, subwindow-mode, clip-x-origin, clip-y-origin, and clip-mask. -- * @param x The x coordinate of the first character, relative to the origin of \a drawable. -- * @param y The y coordinate of the first character, relative to the origin of \a drawable. -- * @param string The string to draw. Only the first 255 characters are relevant due to the data -- * type of \a string_len. -- * @return A cookie -- * -- * Fills the destination rectangle with the background pixel from \a gc, then -- * paints the text with the foreground pixel from \a gc. The upper-left corner of -- * the filled rectangle is at [x, y - font-ascent]. The width is overall-width, -- * the height is font-ascent + font-descent. The overall-width, font-ascent and -- * font-descent are as returned by `xcb_query_text_extents` (TODO). -- * -- * Note that using X core fonts is deprecated (but still supported) in favor of -- * client-side rendering using Xft. -- * -- function xcb_image_text_8 (c : access xcb.xcb_connection_t; string_len : bits_stdint_uintn_h.uint8_t; drawable : xcb_drawable_t; gc : xcb_gcontext_t; x : bits_stdint_intn_h.int16_t; y : bits_stdint_intn_h.int16_t; string : Interfaces.C.Strings.chars_ptr) return xcb.xcb_void_cookie_t -- /usr/include/xcb/xproto.h:10480 with Import => True, Convention => C, External_Name => "xcb_image_text_8"; function xcb_image_text_8_string (R : access constant xcb_image_text_8_request_t) return Interfaces.C.Strings.chars_ptr -- /usr/include/xcb/xproto.h:10489 with Import => True, Convention => C, External_Name => "xcb_image_text_8_string"; function xcb_image_text_8_string_length (R : access constant xcb_image_text_8_request_t) return int -- /usr/include/xcb/xproto.h:10492 with Import => True, Convention => C, External_Name => "xcb_image_text_8_string_length"; function xcb_image_text_8_string_end (R : access constant xcb_image_text_8_request_t) return xcb.xcb_generic_iterator_t -- /usr/include/xcb/xproto.h:10495 with Import => True, Convention => C, External_Name => "xcb_image_text_8_string_end"; function xcb_image_text_16_sizeof (u_buffer : System.Address) return int -- /usr/include/xcb/xproto.h:10498 with Import => True, Convention => C, External_Name => "xcb_image_text_16_sizeof"; --* -- * @brief Draws text -- * -- * @param c The connection -- * @param string_len The length of the \a string in characters. Note that this parameter limited by -- * 255 due to using 8 bits! -- * @param drawable The drawable (Window or Pixmap) to draw text on. -- * @param gc The graphics context to use. -- * \n -- * The following graphics context components are used: plane-mask, foreground, -- * background, font, subwindow-mode, clip-x-origin, clip-y-origin, and clip-mask. -- * @param x The x coordinate of the first character, relative to the origin of \a drawable. -- * @param y The y coordinate of the first character, relative to the origin of \a drawable. -- * @param string The string to draw. Only the first 255 characters are relevant due to the data -- * type of \a string_len. Every character uses 2 bytes (hence the 16 in this -- * request's name). -- * @return A cookie -- * -- * Fills the destination rectangle with the background pixel from \a gc, then -- * paints the text with the foreground pixel from \a gc. The upper-left corner of -- * the filled rectangle is at [x, y - font-ascent]. The width is overall-width, -- * the height is font-ascent + font-descent. The overall-width, font-ascent and -- * font-descent are as returned by `xcb_query_text_extents` (TODO). -- * -- * Note that using X core fonts is deprecated (but still supported) in favor of -- * client-side rendering using Xft. -- * -- * This form can be used only if the request will not cause -- * a reply to be generated. Any returned error will be -- * saved for handling by xcb_request_check(). -- function xcb_image_text_16_checked (c : access xcb.xcb_connection_t; string_len : bits_stdint_uintn_h.uint8_t; drawable : xcb_drawable_t; gc : xcb_gcontext_t; x : bits_stdint_intn_h.int16_t; y : bits_stdint_intn_h.int16_t; string : access constant xcb_char2b_t) return xcb.xcb_void_cookie_t -- /usr/include/xcb/xproto.h:10532 with Import => True, Convention => C, External_Name => "xcb_image_text_16_checked"; --* -- * @brief Draws text -- * -- * @param c The connection -- * @param string_len The length of the \a string in characters. Note that this parameter limited by -- * 255 due to using 8 bits! -- * @param drawable The drawable (Window or Pixmap) to draw text on. -- * @param gc The graphics context to use. -- * \n -- * The following graphics context components are used: plane-mask, foreground, -- * background, font, subwindow-mode, clip-x-origin, clip-y-origin, and clip-mask. -- * @param x The x coordinate of the first character, relative to the origin of \a drawable. -- * @param y The y coordinate of the first character, relative to the origin of \a drawable. -- * @param string The string to draw. Only the first 255 characters are relevant due to the data -- * type of \a string_len. Every character uses 2 bytes (hence the 16 in this -- * request's name). -- * @return A cookie -- * -- * Fills the destination rectangle with the background pixel from \a gc, then -- * paints the text with the foreground pixel from \a gc. The upper-left corner of -- * the filled rectangle is at [x, y - font-ascent]. The width is overall-width, -- * the height is font-ascent + font-descent. The overall-width, font-ascent and -- * font-descent are as returned by `xcb_query_text_extents` (TODO). -- * -- * Note that using X core fonts is deprecated (but still supported) in favor of -- * client-side rendering using Xft. -- * -- function xcb_image_text_16 (c : access xcb.xcb_connection_t; string_len : bits_stdint_uintn_h.uint8_t; drawable : xcb_drawable_t; gc : xcb_gcontext_t; x : bits_stdint_intn_h.int16_t; y : bits_stdint_intn_h.int16_t; string : access constant xcb_char2b_t) return xcb.xcb_void_cookie_t -- /usr/include/xcb/xproto.h:10569 with Import => True, Convention => C, External_Name => "xcb_image_text_16"; function xcb_image_text_16_string (R : access constant xcb_image_text_16_request_t) return access xcb_char2b_t -- /usr/include/xcb/xproto.h:10578 with Import => True, Convention => C, External_Name => "xcb_image_text_16_string"; function xcb_image_text_16_string_length (R : access constant xcb_image_text_16_request_t) return int -- /usr/include/xcb/xproto.h:10581 with Import => True, Convention => C, External_Name => "xcb_image_text_16_string_length"; function xcb_image_text_16_string_iterator (R : access constant xcb_image_text_16_request_t) return xcb_char2b_iterator_t -- /usr/include/xcb/xproto.h:10584 with Import => True, Convention => C, External_Name => "xcb_image_text_16_string_iterator"; --* -- * -- * @param c The connection -- * @return A cookie -- * -- * Delivers a request to the X server. -- * -- * This form can be used only if the request will not cause -- * a reply to be generated. Any returned error will be -- * saved for handling by xcb_request_check(). -- function xcb_create_colormap_checked (c : access xcb.xcb_connection_t; alloc : bits_stdint_uintn_h.uint8_t; mid : xcb_colormap_t; window : xcb_window_t; visual : xcb_visualid_t) return xcb.xcb_void_cookie_t -- /usr/include/xcb/xproto.h:10598 with Import => True, Convention => C, External_Name => "xcb_create_colormap_checked"; --* -- * -- * @param c The connection -- * @return A cookie -- * -- * Delivers a request to the X server. -- * -- function xcb_create_colormap (c : access xcb.xcb_connection_t; alloc : bits_stdint_uintn_h.uint8_t; mid : xcb_colormap_t; window : xcb_window_t; visual : xcb_visualid_t) return xcb.xcb_void_cookie_t -- /usr/include/xcb/xproto.h:10613 with Import => True, Convention => C, External_Name => "xcb_create_colormap"; --* -- * -- * @param c The connection -- * @return A cookie -- * -- * Delivers a request to the X server. -- * -- * This form can be used only if the request will not cause -- * a reply to be generated. Any returned error will be -- * saved for handling by xcb_request_check(). -- function xcb_free_colormap_checked (c : access xcb.xcb_connection_t; cmap : xcb_colormap_t) return xcb.xcb_void_cookie_t -- /usr/include/xcb/xproto.h:10631 with Import => True, Convention => C, External_Name => "xcb_free_colormap_checked"; --* -- * -- * @param c The connection -- * @return A cookie -- * -- * Delivers a request to the X server. -- * -- function xcb_free_colormap (c : access xcb.xcb_connection_t; cmap : xcb_colormap_t) return xcb.xcb_void_cookie_t -- /usr/include/xcb/xproto.h:10643 with Import => True, Convention => C, External_Name => "xcb_free_colormap"; --* -- * -- * @param c The connection -- * @return A cookie -- * -- * Delivers a request to the X server. -- * -- * This form can be used only if the request will not cause -- * a reply to be generated. Any returned error will be -- * saved for handling by xcb_request_check(). -- function xcb_copy_colormap_and_free_checked (c : access xcb.xcb_connection_t; mid : xcb_colormap_t; src_cmap : xcb_colormap_t) return xcb.xcb_void_cookie_t -- /usr/include/xcb/xproto.h:10658 with Import => True, Convention => C, External_Name => "xcb_copy_colormap_and_free_checked"; --* -- * -- * @param c The connection -- * @return A cookie -- * -- * Delivers a request to the X server. -- * -- function xcb_copy_colormap_and_free (c : access xcb.xcb_connection_t; mid : xcb_colormap_t; src_cmap : xcb_colormap_t) return xcb.xcb_void_cookie_t -- /usr/include/xcb/xproto.h:10671 with Import => True, Convention => C, External_Name => "xcb_copy_colormap_and_free"; --* -- * -- * @param c The connection -- * @return A cookie -- * -- * Delivers a request to the X server. -- * -- * This form can be used only if the request will not cause -- * a reply to be generated. Any returned error will be -- * saved for handling by xcb_request_check(). -- function xcb_install_colormap_checked (c : access xcb.xcb_connection_t; cmap : xcb_colormap_t) return xcb.xcb_void_cookie_t -- /usr/include/xcb/xproto.h:10687 with Import => True, Convention => C, External_Name => "xcb_install_colormap_checked"; --* -- * -- * @param c The connection -- * @return A cookie -- * -- * Delivers a request to the X server. -- * -- function xcb_install_colormap (c : access xcb.xcb_connection_t; cmap : xcb_colormap_t) return xcb.xcb_void_cookie_t -- /usr/include/xcb/xproto.h:10699 with Import => True, Convention => C, External_Name => "xcb_install_colormap"; --* -- * -- * @param c The connection -- * @return A cookie -- * -- * Delivers a request to the X server. -- * -- * This form can be used only if the request will not cause -- * a reply to be generated. Any returned error will be -- * saved for handling by xcb_request_check(). -- function xcb_uninstall_colormap_checked (c : access xcb.xcb_connection_t; cmap : xcb_colormap_t) return xcb.xcb_void_cookie_t -- /usr/include/xcb/xproto.h:10714 with Import => True, Convention => C, External_Name => "xcb_uninstall_colormap_checked"; --* -- * -- * @param c The connection -- * @return A cookie -- * -- * Delivers a request to the X server. -- * -- function xcb_uninstall_colormap (c : access xcb.xcb_connection_t; cmap : xcb_colormap_t) return xcb.xcb_void_cookie_t -- /usr/include/xcb/xproto.h:10726 with Import => True, Convention => C, External_Name => "xcb_uninstall_colormap"; function xcb_list_installed_colormaps_sizeof (u_buffer : System.Address) return int -- /usr/include/xcb/xproto.h:10730 with Import => True, Convention => C, External_Name => "xcb_list_installed_colormaps_sizeof"; --* -- * -- * @param c The connection -- * @return A cookie -- * -- * Delivers a request to the X server. -- * -- function xcb_list_installed_colormaps (c : access xcb.xcb_connection_t; window : xcb_window_t) return xcb_list_installed_colormaps_cookie_t -- /usr/include/xcb/xproto.h:10741 with Import => True, Convention => C, External_Name => "xcb_list_installed_colormaps"; --* -- * -- * @param c The connection -- * @return A cookie -- * -- * Delivers a request to the X server. -- * -- * This form can be used only if the request will cause -- * a reply to be generated. Any returned error will be -- * placed in the event queue. -- function xcb_list_installed_colormaps_unchecked (c : access xcb.xcb_connection_t; window : xcb_window_t) return xcb_list_installed_colormaps_cookie_t -- /usr/include/xcb/xproto.h:10756 with Import => True, Convention => C, External_Name => "xcb_list_installed_colormaps_unchecked"; function xcb_list_installed_colormaps_cmaps (R : access constant xcb_list_installed_colormaps_reply_t) return access xcb_colormap_t -- /usr/include/xcb/xproto.h:10760 with Import => True, Convention => C, External_Name => "xcb_list_installed_colormaps_cmaps"; function xcb_list_installed_colormaps_cmaps_length (R : access constant xcb_list_installed_colormaps_reply_t) return int -- /usr/include/xcb/xproto.h:10763 with Import => True, Convention => C, External_Name => "xcb_list_installed_colormaps_cmaps_length"; function xcb_list_installed_colormaps_cmaps_end (R : access constant xcb_list_installed_colormaps_reply_t) return xcb.xcb_generic_iterator_t -- /usr/include/xcb/xproto.h:10766 with Import => True, Convention => C, External_Name => "xcb_list_installed_colormaps_cmaps_end"; --* -- * Return the reply -- * @param c The connection -- * @param cookie The cookie -- * @param e The xcb_generic_error_t supplied -- * -- * Returns the reply of the request asked by -- * -- * The parameter @p e supplied to this function must be NULL if -- * xcb_list_installed_colormaps_unchecked(). is used. -- * Otherwise, it stores the error if any. -- * -- * The returned value must be freed by the caller using free(). -- function xcb_list_installed_colormaps_reply (c : access xcb.xcb_connection_t; cookie : xcb_list_installed_colormaps_cookie_t; e : System.Address) return access xcb_list_installed_colormaps_reply_t -- /usr/include/xcb/xproto.h:10783 with Import => True, Convention => C, External_Name => "xcb_list_installed_colormaps_reply"; --*< --* -- * @brief Allocate a color -- * -- * @param c The connection -- * @param cmap TODO -- * @param red The red value of your color. -- * @param green The green value of your color. -- * @param blue The blue value of your color. -- * @return A cookie -- * -- * Allocates a read-only colormap entry corresponding to the closest RGB value -- * supported by the hardware. If you are using TrueColor, you can take a shortcut -- * and directly calculate the color pixel value to avoid the round trip. But, for -- * example, on 16-bit color setups (VNC), you can easily get the closest supported -- * RGB value to the RGB value you are specifying. -- * -- function xcb_alloc_color (c : access xcb.xcb_connection_t; cmap : xcb_colormap_t; red : bits_stdint_uintn_h.uint16_t; green : bits_stdint_uintn_h.uint16_t; blue : bits_stdint_uintn_h.uint16_t) return xcb_alloc_color_cookie_t -- /usr/include/xcb/xproto.h:10805 with Import => True, Convention => C, External_Name => "xcb_alloc_color"; --* -- * @brief Allocate a color -- * -- * @param c The connection -- * @param cmap TODO -- * @param red The red value of your color. -- * @param green The green value of your color. -- * @param blue The blue value of your color. -- * @return A cookie -- * -- * Allocates a read-only colormap entry corresponding to the closest RGB value -- * supported by the hardware. If you are using TrueColor, you can take a shortcut -- * and directly calculate the color pixel value to avoid the round trip. But, for -- * example, on 16-bit color setups (VNC), you can easily get the closest supported -- * RGB value to the RGB value you are specifying. -- * -- * This form can be used only if the request will cause -- * a reply to be generated. Any returned error will be -- * placed in the event queue. -- function xcb_alloc_color_unchecked (c : access xcb.xcb_connection_t; cmap : xcb_colormap_t; red : bits_stdint_uintn_h.uint16_t; green : bits_stdint_uintn_h.uint16_t; blue : bits_stdint_uintn_h.uint16_t) return xcb_alloc_color_cookie_t -- /usr/include/xcb/xproto.h:10832 with Import => True, Convention => C, External_Name => "xcb_alloc_color_unchecked"; --* -- * Return the reply -- * @param c The connection -- * @param cookie The cookie -- * @param e The xcb_generic_error_t supplied -- * -- * Returns the reply of the request asked by -- * -- * The parameter @p e supplied to this function must be NULL if -- * xcb_alloc_color_unchecked(). is used. -- * Otherwise, it stores the error if any. -- * -- * The returned value must be freed by the caller using free(). -- function xcb_alloc_color_reply (c : access xcb.xcb_connection_t; cookie : xcb_alloc_color_cookie_t; e : System.Address) return access xcb_alloc_color_reply_t -- /usr/include/xcb/xproto.h:10853 with Import => True, Convention => C, External_Name => "xcb_alloc_color_reply"; --*< function xcb_alloc_named_color_sizeof (u_buffer : System.Address) return int -- /usr/include/xcb/xproto.h:10858 with Import => True, Convention => C, External_Name => "xcb_alloc_named_color_sizeof"; --* -- * -- * @param c The connection -- * @return A cookie -- * -- * Delivers a request to the X server. -- * -- function xcb_alloc_named_color (c : access xcb.xcb_connection_t; cmap : xcb_colormap_t; name_len : bits_stdint_uintn_h.uint16_t; name : Interfaces.C.Strings.chars_ptr) return xcb_alloc_named_color_cookie_t -- /usr/include/xcb/xproto.h:10869 with Import => True, Convention => C, External_Name => "xcb_alloc_named_color"; --* -- * -- * @param c The connection -- * @return A cookie -- * -- * Delivers a request to the X server. -- * -- * This form can be used only if the request will cause -- * a reply to be generated. Any returned error will be -- * placed in the event queue. -- function xcb_alloc_named_color_unchecked (c : access xcb.xcb_connection_t; cmap : xcb_colormap_t; name_len : bits_stdint_uintn_h.uint16_t; name : Interfaces.C.Strings.chars_ptr) return xcb_alloc_named_color_cookie_t -- /usr/include/xcb/xproto.h:10886 with Import => True, Convention => C, External_Name => "xcb_alloc_named_color_unchecked"; --* -- * Return the reply -- * @param c The connection -- * @param cookie The cookie -- * @param e The xcb_generic_error_t supplied -- * -- * Returns the reply of the request asked by -- * -- * The parameter @p e supplied to this function must be NULL if -- * xcb_alloc_named_color_unchecked(). is used. -- * Otherwise, it stores the error if any. -- * -- * The returned value must be freed by the caller using free(). -- function xcb_alloc_named_color_reply (c : access xcb.xcb_connection_t; cookie : xcb_alloc_named_color_cookie_t; e : System.Address) return access xcb_alloc_named_color_reply_t -- /usr/include/xcb/xproto.h:10906 with Import => True, Convention => C, External_Name => "xcb_alloc_named_color_reply"; --*< function xcb_alloc_color_cells_sizeof (u_buffer : System.Address) return int -- /usr/include/xcb/xproto.h:10911 with Import => True, Convention => C, External_Name => "xcb_alloc_color_cells_sizeof"; --* -- * -- * @param c The connection -- * @return A cookie -- * -- * Delivers a request to the X server. -- * -- function xcb_alloc_color_cells (c : access xcb.xcb_connection_t; contiguous : bits_stdint_uintn_h.uint8_t; cmap : xcb_colormap_t; colors : bits_stdint_uintn_h.uint16_t; planes : bits_stdint_uintn_h.uint16_t) return xcb_alloc_color_cells_cookie_t -- /usr/include/xcb/xproto.h:10922 with Import => True, Convention => C, External_Name => "xcb_alloc_color_cells"; --* -- * -- * @param c The connection -- * @return A cookie -- * -- * Delivers a request to the X server. -- * -- * This form can be used only if the request will cause -- * a reply to be generated. Any returned error will be -- * placed in the event queue. -- function xcb_alloc_color_cells_unchecked (c : access xcb.xcb_connection_t; contiguous : bits_stdint_uintn_h.uint8_t; cmap : xcb_colormap_t; colors : bits_stdint_uintn_h.uint16_t; planes : bits_stdint_uintn_h.uint16_t) return xcb_alloc_color_cells_cookie_t -- /usr/include/xcb/xproto.h:10940 with Import => True, Convention => C, External_Name => "xcb_alloc_color_cells_unchecked"; function xcb_alloc_color_cells_pixels (R : access constant xcb_alloc_color_cells_reply_t) return access bits_stdint_uintn_h.uint32_t -- /usr/include/xcb/xproto.h:10947 with Import => True, Convention => C, External_Name => "xcb_alloc_color_cells_pixels"; function xcb_alloc_color_cells_pixels_length (R : access constant xcb_alloc_color_cells_reply_t) return int -- /usr/include/xcb/xproto.h:10950 with Import => True, Convention => C, External_Name => "xcb_alloc_color_cells_pixels_length"; function xcb_alloc_color_cells_pixels_end (R : access constant xcb_alloc_color_cells_reply_t) return xcb.xcb_generic_iterator_t -- /usr/include/xcb/xproto.h:10953 with Import => True, Convention => C, External_Name => "xcb_alloc_color_cells_pixels_end"; function xcb_alloc_color_cells_masks (R : access constant xcb_alloc_color_cells_reply_t) return access bits_stdint_uintn_h.uint32_t -- /usr/include/xcb/xproto.h:10956 with Import => True, Convention => C, External_Name => "xcb_alloc_color_cells_masks"; function xcb_alloc_color_cells_masks_length (R : access constant xcb_alloc_color_cells_reply_t) return int -- /usr/include/xcb/xproto.h:10959 with Import => True, Convention => C, External_Name => "xcb_alloc_color_cells_masks_length"; function xcb_alloc_color_cells_masks_end (R : access constant xcb_alloc_color_cells_reply_t) return xcb.xcb_generic_iterator_t -- /usr/include/xcb/xproto.h:10962 with Import => True, Convention => C, External_Name => "xcb_alloc_color_cells_masks_end"; --* -- * Return the reply -- * @param c The connection -- * @param cookie The cookie -- * @param e The xcb_generic_error_t supplied -- * -- * Returns the reply of the request asked by -- * -- * The parameter @p e supplied to this function must be NULL if -- * xcb_alloc_color_cells_unchecked(). is used. -- * Otherwise, it stores the error if any. -- * -- * The returned value must be freed by the caller using free(). -- function xcb_alloc_color_cells_reply (c : access xcb.xcb_connection_t; cookie : xcb_alloc_color_cells_cookie_t; e : System.Address) return access xcb_alloc_color_cells_reply_t -- /usr/include/xcb/xproto.h:10979 with Import => True, Convention => C, External_Name => "xcb_alloc_color_cells_reply"; --*< function xcb_alloc_color_planes_sizeof (u_buffer : System.Address) return int -- /usr/include/xcb/xproto.h:10984 with Import => True, Convention => C, External_Name => "xcb_alloc_color_planes_sizeof"; --* -- * -- * @param c The connection -- * @return A cookie -- * -- * Delivers a request to the X server. -- * -- function xcb_alloc_color_planes (c : access xcb.xcb_connection_t; contiguous : bits_stdint_uintn_h.uint8_t; cmap : xcb_colormap_t; colors : bits_stdint_uintn_h.uint16_t; reds : bits_stdint_uintn_h.uint16_t; greens : bits_stdint_uintn_h.uint16_t; blues : bits_stdint_uintn_h.uint16_t) return xcb_alloc_color_planes_cookie_t -- /usr/include/xcb/xproto.h:10995 with Import => True, Convention => C, External_Name => "xcb_alloc_color_planes"; --* -- * -- * @param c The connection -- * @return A cookie -- * -- * Delivers a request to the X server. -- * -- * This form can be used only if the request will cause -- * a reply to be generated. Any returned error will be -- * placed in the event queue. -- function xcb_alloc_color_planes_unchecked (c : access xcb.xcb_connection_t; contiguous : bits_stdint_uintn_h.uint8_t; cmap : xcb_colormap_t; colors : bits_stdint_uintn_h.uint16_t; reds : bits_stdint_uintn_h.uint16_t; greens : bits_stdint_uintn_h.uint16_t; blues : bits_stdint_uintn_h.uint16_t) return xcb_alloc_color_planes_cookie_t -- /usr/include/xcb/xproto.h:11015 with Import => True, Convention => C, External_Name => "xcb_alloc_color_planes_unchecked"; function xcb_alloc_color_planes_pixels (R : access constant xcb_alloc_color_planes_reply_t) return access bits_stdint_uintn_h.uint32_t -- /usr/include/xcb/xproto.h:11024 with Import => True, Convention => C, External_Name => "xcb_alloc_color_planes_pixels"; function xcb_alloc_color_planes_pixels_length (R : access constant xcb_alloc_color_planes_reply_t) return int -- /usr/include/xcb/xproto.h:11027 with Import => True, Convention => C, External_Name => "xcb_alloc_color_planes_pixels_length"; function xcb_alloc_color_planes_pixels_end (R : access constant xcb_alloc_color_planes_reply_t) return xcb.xcb_generic_iterator_t -- /usr/include/xcb/xproto.h:11030 with Import => True, Convention => C, External_Name => "xcb_alloc_color_planes_pixels_end"; --* -- * Return the reply -- * @param c The connection -- * @param cookie The cookie -- * @param e The xcb_generic_error_t supplied -- * -- * Returns the reply of the request asked by -- * -- * The parameter @p e supplied to this function must be NULL if -- * xcb_alloc_color_planes_unchecked(). is used. -- * Otherwise, it stores the error if any. -- * -- * The returned value must be freed by the caller using free(). -- function xcb_alloc_color_planes_reply (c : access xcb.xcb_connection_t; cookie : xcb_alloc_color_planes_cookie_t; e : System.Address) return access xcb_alloc_color_planes_reply_t -- /usr/include/xcb/xproto.h:11047 with Import => True, Convention => C, External_Name => "xcb_alloc_color_planes_reply"; --*< function xcb_free_colors_sizeof (u_buffer : System.Address; pixels_len : bits_stdint_uintn_h.uint32_t) return int -- /usr/include/xcb/xproto.h:11052 with Import => True, Convention => C, External_Name => "xcb_free_colors_sizeof"; --* -- * -- * @param c The connection -- * @return A cookie -- * -- * Delivers a request to the X server. -- * -- * This form can be used only if the request will not cause -- * a reply to be generated. Any returned error will be -- * saved for handling by xcb_request_check(). -- function xcb_free_colors_checked (c : access xcb.xcb_connection_t; cmap : xcb_colormap_t; plane_mask : bits_stdint_uintn_h.uint32_t; pixels_len : bits_stdint_uintn_h.uint32_t; pixels : access bits_stdint_uintn_h.uint32_t) return xcb.xcb_void_cookie_t -- /usr/include/xcb/xproto.h:11067 with Import => True, Convention => C, External_Name => "xcb_free_colors_checked"; --* -- * -- * @param c The connection -- * @return A cookie -- * -- * Delivers a request to the X server. -- * -- function xcb_free_colors (c : access xcb.xcb_connection_t; cmap : xcb_colormap_t; plane_mask : bits_stdint_uintn_h.uint32_t; pixels_len : bits_stdint_uintn_h.uint32_t; pixels : access bits_stdint_uintn_h.uint32_t) return xcb.xcb_void_cookie_t -- /usr/include/xcb/xproto.h:11082 with Import => True, Convention => C, External_Name => "xcb_free_colors"; function xcb_free_colors_pixels (R : access constant xcb_free_colors_request_t) return access bits_stdint_uintn_h.uint32_t -- /usr/include/xcb/xproto.h:11089 with Import => True, Convention => C, External_Name => "xcb_free_colors_pixels"; function xcb_free_colors_pixels_length (R : access constant xcb_free_colors_request_t) return int -- /usr/include/xcb/xproto.h:11092 with Import => True, Convention => C, External_Name => "xcb_free_colors_pixels_length"; function xcb_free_colors_pixels_end (R : access constant xcb_free_colors_request_t) return xcb.xcb_generic_iterator_t -- /usr/include/xcb/xproto.h:11095 with Import => True, Convention => C, External_Name => "xcb_free_colors_pixels_end"; --* -- * Get the next element of the iterator -- * @param i Pointer to a xcb_coloritem_iterator_t -- * -- * Get the next element in the iterator. The member rem is -- * decreased by one. The member data points to the next -- * element. The member index is increased by sizeof(xcb_coloritem_t) -- procedure xcb_coloritem_next (i : access xcb_coloritem_iterator_t) -- /usr/include/xcb/xproto.h:11106 with Import => True, Convention => C, External_Name => "xcb_coloritem_next"; --* -- * Return the iterator pointing to the last element -- * @param i An xcb_coloritem_iterator_t -- * @return The iterator pointing to the last element -- * -- * Set the current element in the iterator to the last element. -- * The member rem is set to 0. The member data points to the -- * last element. -- function xcb_coloritem_end (i : xcb_coloritem_iterator_t) return xcb.xcb_generic_iterator_t -- /usr/include/xcb/xproto.h:11118 with Import => True, Convention => C, External_Name => "xcb_coloritem_end"; function xcb_store_colors_sizeof (u_buffer : System.Address; items_len : bits_stdint_uintn_h.uint32_t) return int -- /usr/include/xcb/xproto.h:11121 with Import => True, Convention => C, External_Name => "xcb_store_colors_sizeof"; --* -- * -- * @param c The connection -- * @return A cookie -- * -- * Delivers a request to the X server. -- * -- * This form can be used only if the request will not cause -- * a reply to be generated. Any returned error will be -- * saved for handling by xcb_request_check(). -- function xcb_store_colors_checked (c : access xcb.xcb_connection_t; cmap : xcb_colormap_t; items_len : bits_stdint_uintn_h.uint32_t; items : access constant xcb_coloritem_t) return xcb.xcb_void_cookie_t -- /usr/include/xcb/xproto.h:11136 with Import => True, Convention => C, External_Name => "xcb_store_colors_checked"; --* -- * -- * @param c The connection -- * @return A cookie -- * -- * Delivers a request to the X server. -- * -- function xcb_store_colors (c : access xcb.xcb_connection_t; cmap : xcb_colormap_t; items_len : bits_stdint_uintn_h.uint32_t; items : access constant xcb_coloritem_t) return xcb.xcb_void_cookie_t -- /usr/include/xcb/xproto.h:11150 with Import => True, Convention => C, External_Name => "xcb_store_colors"; function xcb_store_colors_items (R : access constant xcb_store_colors_request_t) return access xcb_coloritem_t -- /usr/include/xcb/xproto.h:11156 with Import => True, Convention => C, External_Name => "xcb_store_colors_items"; function xcb_store_colors_items_length (R : access constant xcb_store_colors_request_t) return int -- /usr/include/xcb/xproto.h:11159 with Import => True, Convention => C, External_Name => "xcb_store_colors_items_length"; function xcb_store_colors_items_iterator (R : access constant xcb_store_colors_request_t) return xcb_coloritem_iterator_t -- /usr/include/xcb/xproto.h:11162 with Import => True, Convention => C, External_Name => "xcb_store_colors_items_iterator"; function xcb_store_named_color_sizeof (u_buffer : System.Address) return int -- /usr/include/xcb/xproto.h:11165 with Import => True, Convention => C, External_Name => "xcb_store_named_color_sizeof"; --* -- * -- * @param c The connection -- * @return A cookie -- * -- * Delivers a request to the X server. -- * -- * This form can be used only if the request will not cause -- * a reply to be generated. Any returned error will be -- * saved for handling by xcb_request_check(). -- function xcb_store_named_color_checked (c : access xcb.xcb_connection_t; flags : bits_stdint_uintn_h.uint8_t; cmap : xcb_colormap_t; pixel : bits_stdint_uintn_h.uint32_t; name_len : bits_stdint_uintn_h.uint16_t; name : Interfaces.C.Strings.chars_ptr) return xcb.xcb_void_cookie_t -- /usr/include/xcb/xproto.h:11179 with Import => True, Convention => C, External_Name => "xcb_store_named_color_checked"; --* -- * -- * @param c The connection -- * @return A cookie -- * -- * Delivers a request to the X server. -- * -- function xcb_store_named_color (c : access xcb.xcb_connection_t; flags : bits_stdint_uintn_h.uint8_t; cmap : xcb_colormap_t; pixel : bits_stdint_uintn_h.uint32_t; name_len : bits_stdint_uintn_h.uint16_t; name : Interfaces.C.Strings.chars_ptr) return xcb.xcb_void_cookie_t -- /usr/include/xcb/xproto.h:11195 with Import => True, Convention => C, External_Name => "xcb_store_named_color"; function xcb_store_named_color_name (R : access constant xcb_store_named_color_request_t) return Interfaces.C.Strings.chars_ptr -- /usr/include/xcb/xproto.h:11203 with Import => True, Convention => C, External_Name => "xcb_store_named_color_name"; function xcb_store_named_color_name_length (R : access constant xcb_store_named_color_request_t) return int -- /usr/include/xcb/xproto.h:11206 with Import => True, Convention => C, External_Name => "xcb_store_named_color_name_length"; function xcb_store_named_color_name_end (R : access constant xcb_store_named_color_request_t) return xcb.xcb_generic_iterator_t -- /usr/include/xcb/xproto.h:11209 with Import => True, Convention => C, External_Name => "xcb_store_named_color_name_end"; --* -- * Get the next element of the iterator -- * @param i Pointer to a xcb_rgb_iterator_t -- * -- * Get the next element in the iterator. The member rem is -- * decreased by one. The member data points to the next -- * element. The member index is increased by sizeof(xcb_rgb_t) -- procedure xcb_rgb_next (i : access xcb_rgb_iterator_t) -- /usr/include/xcb/xproto.h:11220 with Import => True, Convention => C, External_Name => "xcb_rgb_next"; --* -- * Return the iterator pointing to the last element -- * @param i An xcb_rgb_iterator_t -- * @return The iterator pointing to the last element -- * -- * Set the current element in the iterator to the last element. -- * The member rem is set to 0. The member data points to the -- * last element. -- function xcb_rgb_end (i : xcb_rgb_iterator_t) return xcb.xcb_generic_iterator_t -- /usr/include/xcb/xproto.h:11232 with Import => True, Convention => C, External_Name => "xcb_rgb_end"; function xcb_query_colors_sizeof (u_buffer : System.Address; pixels_len : bits_stdint_uintn_h.uint32_t) return int -- /usr/include/xcb/xproto.h:11235 with Import => True, Convention => C, External_Name => "xcb_query_colors_sizeof"; --* -- * -- * @param c The connection -- * @return A cookie -- * -- * Delivers a request to the X server. -- * -- function xcb_query_colors (c : access xcb.xcb_connection_t; cmap : xcb_colormap_t; pixels_len : bits_stdint_uintn_h.uint32_t; pixels : access bits_stdint_uintn_h.uint32_t) return xcb_query_colors_cookie_t -- /usr/include/xcb/xproto.h:11247 with Import => True, Convention => C, External_Name => "xcb_query_colors"; --* -- * -- * @param c The connection -- * @return A cookie -- * -- * Delivers a request to the X server. -- * -- * This form can be used only if the request will cause -- * a reply to be generated. Any returned error will be -- * placed in the event queue. -- function xcb_query_colors_unchecked (c : access xcb.xcb_connection_t; cmap : xcb_colormap_t; pixels_len : bits_stdint_uintn_h.uint32_t; pixels : access bits_stdint_uintn_h.uint32_t) return xcb_query_colors_cookie_t -- /usr/include/xcb/xproto.h:11264 with Import => True, Convention => C, External_Name => "xcb_query_colors_unchecked"; function xcb_query_colors_colors (R : access constant xcb_query_colors_reply_t) return access xcb_rgb_t -- /usr/include/xcb/xproto.h:11270 with Import => True, Convention => C, External_Name => "xcb_query_colors_colors"; function xcb_query_colors_colors_length (R : access constant xcb_query_colors_reply_t) return int -- /usr/include/xcb/xproto.h:11273 with Import => True, Convention => C, External_Name => "xcb_query_colors_colors_length"; function xcb_query_colors_colors_iterator (R : access constant xcb_query_colors_reply_t) return xcb_rgb_iterator_t -- /usr/include/xcb/xproto.h:11276 with Import => True, Convention => C, External_Name => "xcb_query_colors_colors_iterator"; --* -- * Return the reply -- * @param c The connection -- * @param cookie The cookie -- * @param e The xcb_generic_error_t supplied -- * -- * Returns the reply of the request asked by -- * -- * The parameter @p e supplied to this function must be NULL if -- * xcb_query_colors_unchecked(). is used. -- * Otherwise, it stores the error if any. -- * -- * The returned value must be freed by the caller using free(). -- function xcb_query_colors_reply (c : access xcb.xcb_connection_t; cookie : xcb_query_colors_cookie_t; e : System.Address) return access xcb_query_colors_reply_t -- /usr/include/xcb/xproto.h:11293 with Import => True, Convention => C, External_Name => "xcb_query_colors_reply"; --*< function xcb_lookup_color_sizeof (u_buffer : System.Address) return int -- /usr/include/xcb/xproto.h:11298 with Import => True, Convention => C, External_Name => "xcb_lookup_color_sizeof"; --* -- * -- * @param c The connection -- * @return A cookie -- * -- * Delivers a request to the X server. -- * -- function xcb_lookup_color (c : access xcb.xcb_connection_t; cmap : xcb_colormap_t; name_len : bits_stdint_uintn_h.uint16_t; name : Interfaces.C.Strings.chars_ptr) return xcb_lookup_color_cookie_t -- /usr/include/xcb/xproto.h:11309 with Import => True, Convention => C, External_Name => "xcb_lookup_color"; --* -- * -- * @param c The connection -- * @return A cookie -- * -- * Delivers a request to the X server. -- * -- * This form can be used only if the request will cause -- * a reply to be generated. Any returned error will be -- * placed in the event queue. -- function xcb_lookup_color_unchecked (c : access xcb.xcb_connection_t; cmap : xcb_colormap_t; name_len : bits_stdint_uintn_h.uint16_t; name : Interfaces.C.Strings.chars_ptr) return xcb_lookup_color_cookie_t -- /usr/include/xcb/xproto.h:11326 with Import => True, Convention => C, External_Name => "xcb_lookup_color_unchecked"; --* -- * Return the reply -- * @param c The connection -- * @param cookie The cookie -- * @param e The xcb_generic_error_t supplied -- * -- * Returns the reply of the request asked by -- * -- * The parameter @p e supplied to this function must be NULL if -- * xcb_lookup_color_unchecked(). is used. -- * Otherwise, it stores the error if any. -- * -- * The returned value must be freed by the caller using free(). -- function xcb_lookup_color_reply (c : access xcb.xcb_connection_t; cookie : xcb_lookup_color_cookie_t; e : System.Address) return access xcb_lookup_color_reply_t -- /usr/include/xcb/xproto.h:11346 with Import => True, Convention => C, External_Name => "xcb_lookup_color_reply"; --*< --* -- * -- * @param c The connection -- * @return A cookie -- * -- * Delivers a request to the X server. -- * -- * This form can be used only if the request will not cause -- * a reply to be generated. Any returned error will be -- * saved for handling by xcb_request_check(). -- function xcb_create_cursor_checked (c : access xcb.xcb_connection_t; cid : xcb_cursor_t; source : xcb_pixmap_t; mask : xcb_pixmap_t; fore_red : bits_stdint_uintn_h.uint16_t; fore_green : bits_stdint_uintn_h.uint16_t; fore_blue : bits_stdint_uintn_h.uint16_t; back_red : bits_stdint_uintn_h.uint16_t; back_green : bits_stdint_uintn_h.uint16_t; back_blue : bits_stdint_uintn_h.uint16_t; x : bits_stdint_uintn_h.uint16_t; y : bits_stdint_uintn_h.uint16_t) return xcb.xcb_void_cookie_t -- /usr/include/xcb/xproto.h:11362 with Import => True, Convention => C, External_Name => "xcb_create_cursor_checked"; --* -- * -- * @param c The connection -- * @return A cookie -- * -- * Delivers a request to the X server. -- * -- function xcb_create_cursor (c : access xcb.xcb_connection_t; cid : xcb_cursor_t; source : xcb_pixmap_t; mask : xcb_pixmap_t; fore_red : bits_stdint_uintn_h.uint16_t; fore_green : bits_stdint_uintn_h.uint16_t; fore_blue : bits_stdint_uintn_h.uint16_t; back_red : bits_stdint_uintn_h.uint16_t; back_green : bits_stdint_uintn_h.uint16_t; back_blue : bits_stdint_uintn_h.uint16_t; x : bits_stdint_uintn_h.uint16_t; y : bits_stdint_uintn_h.uint16_t) return xcb.xcb_void_cookie_t -- /usr/include/xcb/xproto.h:11384 with Import => True, Convention => C, External_Name => "xcb_create_cursor"; --* -- * @brief create cursor -- * -- * @param c The connection -- * @param cid The ID with which you will refer to the cursor, created by `xcb_generate_id`. -- * @param source_font In which font to look for the cursor glyph. -- * @param mask_font In which font to look for the mask glyph. -- * @param source_char The glyph of \a source_font to use. -- * @param mask_char The glyph of \a mask_font to use as a mask: Pixels which are set to 1 define -- * which source pixels are displayed. All pixels which are set to 0 are not -- * displayed. -- * @param fore_red The red value of the foreground color. -- * @param fore_green The green value of the foreground color. -- * @param fore_blue The blue value of the foreground color. -- * @param back_red The red value of the background color. -- * @param back_green The green value of the background color. -- * @param back_blue The blue value of the background color. -- * @return A cookie -- * -- * Creates a cursor from a font glyph. X provides a set of standard cursor shapes -- * in a special font named cursor. Applications are encouraged to use this -- * interface for their cursors because the font can be customized for the -- * individual display type. -- * -- * All pixels which are set to 1 in the source will use the foreground color (as -- * specified by \a fore_red, \a fore_green and \a fore_blue). All pixels set to 0 -- * will use the background color (as specified by \a back_red, \a back_green and -- * \a back_blue). -- * -- * This form can be used only if the request will not cause -- * a reply to be generated. Any returned error will be -- * saved for handling by xcb_request_check(). -- function xcb_create_glyph_cursor_checked (c : access xcb.xcb_connection_t; cid : xcb_cursor_t; source_font : xcb_font_t; mask_font : xcb_font_t; source_char : bits_stdint_uintn_h.uint16_t; mask_char : bits_stdint_uintn_h.uint16_t; fore_red : bits_stdint_uintn_h.uint16_t; fore_green : bits_stdint_uintn_h.uint16_t; fore_blue : bits_stdint_uintn_h.uint16_t; back_red : bits_stdint_uintn_h.uint16_t; back_green : bits_stdint_uintn_h.uint16_t; back_blue : bits_stdint_uintn_h.uint16_t) return xcb.xcb_void_cookie_t -- /usr/include/xcb/xproto.h:11431 with Import => True, Convention => C, External_Name => "xcb_create_glyph_cursor_checked"; --* -- * @brief create cursor -- * -- * @param c The connection -- * @param cid The ID with which you will refer to the cursor, created by `xcb_generate_id`. -- * @param source_font In which font to look for the cursor glyph. -- * @param mask_font In which font to look for the mask glyph. -- * @param source_char The glyph of \a source_font to use. -- * @param mask_char The glyph of \a mask_font to use as a mask: Pixels which are set to 1 define -- * which source pixels are displayed. All pixels which are set to 0 are not -- * displayed. -- * @param fore_red The red value of the foreground color. -- * @param fore_green The green value of the foreground color. -- * @param fore_blue The blue value of the foreground color. -- * @param back_red The red value of the background color. -- * @param back_green The green value of the background color. -- * @param back_blue The blue value of the background color. -- * @return A cookie -- * -- * Creates a cursor from a font glyph. X provides a set of standard cursor shapes -- * in a special font named cursor. Applications are encouraged to use this -- * interface for their cursors because the font can be customized for the -- * individual display type. -- * -- * All pixels which are set to 1 in the source will use the foreground color (as -- * specified by \a fore_red, \a fore_green and \a fore_blue). All pixels set to 0 -- * will use the background color (as specified by \a back_red, \a back_green and -- * \a back_blue). -- * -- function xcb_create_glyph_cursor (c : access xcb.xcb_connection_t; cid : xcb_cursor_t; source_font : xcb_font_t; mask_font : xcb_font_t; source_char : bits_stdint_uintn_h.uint16_t; mask_char : bits_stdint_uintn_h.uint16_t; fore_red : bits_stdint_uintn_h.uint16_t; fore_green : bits_stdint_uintn_h.uint16_t; fore_blue : bits_stdint_uintn_h.uint16_t; back_red : bits_stdint_uintn_h.uint16_t; back_green : bits_stdint_uintn_h.uint16_t; back_blue : bits_stdint_uintn_h.uint16_t) return xcb.xcb_void_cookie_t -- /usr/include/xcb/xproto.h:11475 with Import => True, Convention => C, External_Name => "xcb_create_glyph_cursor"; --* -- * @brief Deletes a cursor -- * -- * @param c The connection -- * @param cursor The cursor to destroy. -- * @return A cookie -- * -- * Deletes the association between the cursor resource ID and the specified -- * cursor. The cursor is freed when no other resource references it. -- * -- * This form can be used only if the request will not cause -- * a reply to be generated. Any returned error will be -- * saved for handling by xcb_request_check(). -- function xcb_free_cursor_checked (c : access xcb.xcb_connection_t; cursor : xcb_cursor_t) return xcb.xcb_void_cookie_t -- /usr/include/xcb/xproto.h:11503 with Import => True, Convention => C, External_Name => "xcb_free_cursor_checked"; --* -- * @brief Deletes a cursor -- * -- * @param c The connection -- * @param cursor The cursor to destroy. -- * @return A cookie -- * -- * Deletes the association between the cursor resource ID and the specified -- * cursor. The cursor is freed when no other resource references it. -- * -- function xcb_free_cursor (c : access xcb.xcb_connection_t; cursor : xcb_cursor_t) return xcb.xcb_void_cookie_t -- /usr/include/xcb/xproto.h:11518 with Import => True, Convention => C, External_Name => "xcb_free_cursor"; --* -- * -- * @param c The connection -- * @return A cookie -- * -- * Delivers a request to the X server. -- * -- * This form can be used only if the request will not cause -- * a reply to be generated. Any returned error will be -- * saved for handling by xcb_request_check(). -- function xcb_recolor_cursor_checked (c : access xcb.xcb_connection_t; cursor : xcb_cursor_t; fore_red : bits_stdint_uintn_h.uint16_t; fore_green : bits_stdint_uintn_h.uint16_t; fore_blue : bits_stdint_uintn_h.uint16_t; back_red : bits_stdint_uintn_h.uint16_t; back_green : bits_stdint_uintn_h.uint16_t; back_blue : bits_stdint_uintn_h.uint16_t) return xcb.xcb_void_cookie_t -- /usr/include/xcb/xproto.h:11533 with Import => True, Convention => C, External_Name => "xcb_recolor_cursor_checked"; --* -- * -- * @param c The connection -- * @return A cookie -- * -- * Delivers a request to the X server. -- * -- function xcb_recolor_cursor (c : access xcb.xcb_connection_t; cursor : xcb_cursor_t; fore_red : bits_stdint_uintn_h.uint16_t; fore_green : bits_stdint_uintn_h.uint16_t; fore_blue : bits_stdint_uintn_h.uint16_t; back_red : bits_stdint_uintn_h.uint16_t; back_green : bits_stdint_uintn_h.uint16_t; back_blue : bits_stdint_uintn_h.uint16_t) return xcb.xcb_void_cookie_t -- /usr/include/xcb/xproto.h:11551 with Import => True, Convention => C, External_Name => "xcb_recolor_cursor"; --* -- * -- * @param c The connection -- * @return A cookie -- * -- * Delivers a request to the X server. -- * -- function xcb_query_best_size (c : access xcb.xcb_connection_t; u_class : bits_stdint_uintn_h.uint8_t; drawable : xcb_drawable_t; width : bits_stdint_uintn_h.uint16_t; height : bits_stdint_uintn_h.uint16_t) return xcb_query_best_size_cookie_t -- /usr/include/xcb/xproto.h:11569 with Import => True, Convention => C, External_Name => "xcb_query_best_size"; --* -- * -- * @param c The connection -- * @return A cookie -- * -- * Delivers a request to the X server. -- * -- * This form can be used only if the request will cause -- * a reply to be generated. Any returned error will be -- * placed in the event queue. -- function xcb_query_best_size_unchecked (c : access xcb.xcb_connection_t; u_class : bits_stdint_uintn_h.uint8_t; drawable : xcb_drawable_t; width : bits_stdint_uintn_h.uint16_t; height : bits_stdint_uintn_h.uint16_t) return xcb_query_best_size_cookie_t -- /usr/include/xcb/xproto.h:11587 with Import => True, Convention => C, External_Name => "xcb_query_best_size_unchecked"; --* -- * Return the reply -- * @param c The connection -- * @param cookie The cookie -- * @param e The xcb_generic_error_t supplied -- * -- * Returns the reply of the request asked by -- * -- * The parameter @p e supplied to this function must be NULL if -- * xcb_query_best_size_unchecked(). is used. -- * Otherwise, it stores the error if any. -- * -- * The returned value must be freed by the caller using free(). -- function xcb_query_best_size_reply (c : access xcb.xcb_connection_t; cookie : xcb_query_best_size_cookie_t; e : System.Address) return access xcb_query_best_size_reply_t -- /usr/include/xcb/xproto.h:11608 with Import => True, Convention => C, External_Name => "xcb_query_best_size_reply"; --*< function xcb_query_extension_sizeof (u_buffer : System.Address) return int -- /usr/include/xcb/xproto.h:11613 with Import => True, Convention => C, External_Name => "xcb_query_extension_sizeof"; --* -- * @brief check if extension is present -- * -- * @param c The connection -- * @param name_len The length of \a name in bytes. -- * @param name The name of the extension to query, for example "RANDR". This is case -- * sensitive! -- * @return A cookie -- * -- * Determines if the specified extension is present on this X11 server. -- * -- * Every extension has a unique `major_opcode` to identify requests, the minor -- * opcodes and request formats are extension-specific. If the extension provides -- * events and errors, the `first_event` and `first_error` fields in the reply are -- * set accordingly. -- * -- * There should rarely be a need to use this request directly, XCB provides the -- * `xcb_get_extension_data` function instead. -- * -- function xcb_query_extension (c : access xcb.xcb_connection_t; name_len : bits_stdint_uintn_h.uint16_t; name : Interfaces.C.Strings.chars_ptr) return xcb_query_extension_cookie_t -- /usr/include/xcb/xproto.h:11636 with Import => True, Convention => C, External_Name => "xcb_query_extension"; --* -- * @brief check if extension is present -- * -- * @param c The connection -- * @param name_len The length of \a name in bytes. -- * @param name The name of the extension to query, for example "RANDR". This is case -- * sensitive! -- * @return A cookie -- * -- * Determines if the specified extension is present on this X11 server. -- * -- * Every extension has a unique `major_opcode` to identify requests, the minor -- * opcodes and request formats are extension-specific. If the extension provides -- * events and errors, the `first_event` and `first_error` fields in the reply are -- * set accordingly. -- * -- * There should rarely be a need to use this request directly, XCB provides the -- * `xcb_get_extension_data` function instead. -- * -- * This form can be used only if the request will cause -- * a reply to be generated. Any returned error will be -- * placed in the event queue. -- function xcb_query_extension_unchecked (c : access xcb.xcb_connection_t; name_len : bits_stdint_uintn_h.uint16_t; name : Interfaces.C.Strings.chars_ptr) return xcb_query_extension_cookie_t -- /usr/include/xcb/xproto.h:11664 with Import => True, Convention => C, External_Name => "xcb_query_extension_unchecked"; --* -- * Return the reply -- * @param c The connection -- * @param cookie The cookie -- * @param e The xcb_generic_error_t supplied -- * -- * Returns the reply of the request asked by -- * -- * The parameter @p e supplied to this function must be NULL if -- * xcb_query_extension_unchecked(). is used. -- * Otherwise, it stores the error if any. -- * -- * The returned value must be freed by the caller using free(). -- function xcb_query_extension_reply (c : access xcb.xcb_connection_t; cookie : xcb_query_extension_cookie_t; e : System.Address) return access xcb_query_extension_reply_t -- /usr/include/xcb/xproto.h:11683 with Import => True, Convention => C, External_Name => "xcb_query_extension_reply"; --*< function xcb_list_extensions_sizeof (u_buffer : System.Address) return int -- /usr/include/xcb/xproto.h:11688 with Import => True, Convention => C, External_Name => "xcb_list_extensions_sizeof"; --* -- * -- * @param c The connection -- * @return A cookie -- * -- * Delivers a request to the X server. -- * -- function xcb_list_extensions (c : access xcb.xcb_connection_t) return xcb_list_extensions_cookie_t -- /usr/include/xcb/xproto.h:11699 with Import => True, Convention => C, External_Name => "xcb_list_extensions"; --* -- * -- * @param c The connection -- * @return A cookie -- * -- * Delivers a request to the X server. -- * -- * This form can be used only if the request will cause -- * a reply to be generated. Any returned error will be -- * placed in the event queue. -- function xcb_list_extensions_unchecked (c : access xcb.xcb_connection_t) return xcb_list_extensions_cookie_t -- /usr/include/xcb/xproto.h:11713 with Import => True, Convention => C, External_Name => "xcb_list_extensions_unchecked"; function xcb_list_extensions_names_length (R : access constant xcb_list_extensions_reply_t) return int -- /usr/include/xcb/xproto.h:11716 with Import => True, Convention => C, External_Name => "xcb_list_extensions_names_length"; function xcb_list_extensions_names_iterator (R : access constant xcb_list_extensions_reply_t) return xcb_str_iterator_t -- /usr/include/xcb/xproto.h:11719 with Import => True, Convention => C, External_Name => "xcb_list_extensions_names_iterator"; --* -- * Return the reply -- * @param c The connection -- * @param cookie The cookie -- * @param e The xcb_generic_error_t supplied -- * -- * Returns the reply of the request asked by -- * -- * The parameter @p e supplied to this function must be NULL if -- * xcb_list_extensions_unchecked(). is used. -- * Otherwise, it stores the error if any. -- * -- * The returned value must be freed by the caller using free(). -- function xcb_list_extensions_reply (c : access xcb.xcb_connection_t; cookie : xcb_list_extensions_cookie_t; e : System.Address) return access xcb_list_extensions_reply_t -- /usr/include/xcb/xproto.h:11736 with Import => True, Convention => C, External_Name => "xcb_list_extensions_reply"; --*< function xcb_change_keyboard_mapping_sizeof (u_buffer : System.Address) return int -- /usr/include/xcb/xproto.h:11741 with Import => True, Convention => C, External_Name => "xcb_change_keyboard_mapping_sizeof"; --* -- * -- * @param c The connection -- * @return A cookie -- * -- * Delivers a request to the X server. -- * -- * This form can be used only if the request will not cause -- * a reply to be generated. Any returned error will be -- * saved for handling by xcb_request_check(). -- function xcb_change_keyboard_mapping_checked (c : access xcb.xcb_connection_t; keycode_count : bits_stdint_uintn_h.uint8_t; first_keycode : xcb_keycode_t; keysyms_per_keycode : bits_stdint_uintn_h.uint8_t; keysyms : access xcb_keysym_t) return xcb.xcb_void_cookie_t -- /usr/include/xcb/xproto.h:11755 with Import => True, Convention => C, External_Name => "xcb_change_keyboard_mapping_checked"; --* -- * -- * @param c The connection -- * @return A cookie -- * -- * Delivers a request to the X server. -- * -- function xcb_change_keyboard_mapping (c : access xcb.xcb_connection_t; keycode_count : bits_stdint_uintn_h.uint8_t; first_keycode : xcb_keycode_t; keysyms_per_keycode : bits_stdint_uintn_h.uint8_t; keysyms : access xcb_keysym_t) return xcb.xcb_void_cookie_t -- /usr/include/xcb/xproto.h:11770 with Import => True, Convention => C, External_Name => "xcb_change_keyboard_mapping"; function xcb_change_keyboard_mapping_keysyms (R : access constant xcb_change_keyboard_mapping_request_t) return access xcb_keysym_t -- /usr/include/xcb/xproto.h:11777 with Import => True, Convention => C, External_Name => "xcb_change_keyboard_mapping_keysyms"; function xcb_change_keyboard_mapping_keysyms_length (R : access constant xcb_change_keyboard_mapping_request_t) return int -- /usr/include/xcb/xproto.h:11780 with Import => True, Convention => C, External_Name => "xcb_change_keyboard_mapping_keysyms_length"; function xcb_change_keyboard_mapping_keysyms_end (R : access constant xcb_change_keyboard_mapping_request_t) return xcb.xcb_generic_iterator_t -- /usr/include/xcb/xproto.h:11783 with Import => True, Convention => C, External_Name => "xcb_change_keyboard_mapping_keysyms_end"; function xcb_get_keyboard_mapping_sizeof (u_buffer : System.Address) return int -- /usr/include/xcb/xproto.h:11786 with Import => True, Convention => C, External_Name => "xcb_get_keyboard_mapping_sizeof"; --* -- * -- * @param c The connection -- * @return A cookie -- * -- * Delivers a request to the X server. -- * -- function xcb_get_keyboard_mapping (c : access xcb.xcb_connection_t; first_keycode : xcb_keycode_t; count : bits_stdint_uintn_h.uint8_t) return xcb_get_keyboard_mapping_cookie_t -- /usr/include/xcb/xproto.h:11797 with Import => True, Convention => C, External_Name => "xcb_get_keyboard_mapping"; --* -- * -- * @param c The connection -- * @return A cookie -- * -- * Delivers a request to the X server. -- * -- * This form can be used only if the request will cause -- * a reply to be generated. Any returned error will be -- * placed in the event queue. -- function xcb_get_keyboard_mapping_unchecked (c : access xcb.xcb_connection_t; first_keycode : xcb_keycode_t; count : bits_stdint_uintn_h.uint8_t) return xcb_get_keyboard_mapping_cookie_t -- /usr/include/xcb/xproto.h:11813 with Import => True, Convention => C, External_Name => "xcb_get_keyboard_mapping_unchecked"; function xcb_get_keyboard_mapping_keysyms (R : access constant xcb_get_keyboard_mapping_reply_t) return access xcb_keysym_t -- /usr/include/xcb/xproto.h:11818 with Import => True, Convention => C, External_Name => "xcb_get_keyboard_mapping_keysyms"; function xcb_get_keyboard_mapping_keysyms_length (R : access constant xcb_get_keyboard_mapping_reply_t) return int -- /usr/include/xcb/xproto.h:11821 with Import => True, Convention => C, External_Name => "xcb_get_keyboard_mapping_keysyms_length"; function xcb_get_keyboard_mapping_keysyms_end (R : access constant xcb_get_keyboard_mapping_reply_t) return xcb.xcb_generic_iterator_t -- /usr/include/xcb/xproto.h:11824 with Import => True, Convention => C, External_Name => "xcb_get_keyboard_mapping_keysyms_end"; --* -- * Return the reply -- * @param c The connection -- * @param cookie The cookie -- * @param e The xcb_generic_error_t supplied -- * -- * Returns the reply of the request asked by -- * -- * The parameter @p e supplied to this function must be NULL if -- * xcb_get_keyboard_mapping_unchecked(). is used. -- * Otherwise, it stores the error if any. -- * -- * The returned value must be freed by the caller using free(). -- function xcb_get_keyboard_mapping_reply (c : access xcb.xcb_connection_t; cookie : xcb_get_keyboard_mapping_cookie_t; e : System.Address) return access xcb_get_keyboard_mapping_reply_t -- /usr/include/xcb/xproto.h:11841 with Import => True, Convention => C, External_Name => "xcb_get_keyboard_mapping_reply"; --*< function xcb_change_keyboard_control_value_list_serialize (u_buffer : System.Address; value_mask : bits_stdint_uintn_h.uint32_t; u_aux : access constant xcb_change_keyboard_control_value_list_t) return int -- /usr/include/xcb/xproto.h:11846 with Import => True, Convention => C, External_Name => "xcb_change_keyboard_control_value_list_serialize"; function xcb_change_keyboard_control_value_list_unpack (u_buffer : System.Address; value_mask : bits_stdint_uintn_h.uint32_t; u_aux : access xcb_change_keyboard_control_value_list_t) return int -- /usr/include/xcb/xproto.h:11851 with Import => True, Convention => C, External_Name => "xcb_change_keyboard_control_value_list_unpack"; function xcb_change_keyboard_control_value_list_sizeof (u_buffer : System.Address; value_mask : bits_stdint_uintn_h.uint32_t) return int -- /usr/include/xcb/xproto.h:11856 with Import => True, Convention => C, External_Name => "xcb_change_keyboard_control_value_list_sizeof"; function xcb_change_keyboard_control_sizeof (u_buffer : System.Address) return int -- /usr/include/xcb/xproto.h:11860 with Import => True, Convention => C, External_Name => "xcb_change_keyboard_control_sizeof"; --* -- * -- * @param c The connection -- * @return A cookie -- * -- * Delivers a request to the X server. -- * -- * This form can be used only if the request will not cause -- * a reply to be generated. Any returned error will be -- * saved for handling by xcb_request_check(). -- function xcb_change_keyboard_control_checked (c : access xcb.xcb_connection_t; value_mask : bits_stdint_uintn_h.uint32_t; value_list : System.Address) return xcb.xcb_void_cookie_t -- /usr/include/xcb/xproto.h:11874 with Import => True, Convention => C, External_Name => "xcb_change_keyboard_control_checked"; --* -- * -- * @param c The connection -- * @return A cookie -- * -- * Delivers a request to the X server. -- * -- function xcb_change_keyboard_control (c : access xcb.xcb_connection_t; value_mask : bits_stdint_uintn_h.uint32_t; value_list : System.Address) return xcb.xcb_void_cookie_t -- /usr/include/xcb/xproto.h:11887 with Import => True, Convention => C, External_Name => "xcb_change_keyboard_control"; --* -- * -- * @param c The connection -- * @return A cookie -- * -- * Delivers a request to the X server. -- * -- * This form can be used only if the request will not cause -- * a reply to be generated. Any returned error will be -- * saved for handling by xcb_request_check(). -- function xcb_change_keyboard_control_aux_checked (c : access xcb.xcb_connection_t; value_mask : bits_stdint_uintn_h.uint32_t; value_list : access constant xcb_change_keyboard_control_value_list_t) return xcb.xcb_void_cookie_t -- /usr/include/xcb/xproto.h:11903 with Import => True, Convention => C, External_Name => "xcb_change_keyboard_control_aux_checked"; --* -- * -- * @param c The connection -- * @return A cookie -- * -- * Delivers a request to the X server. -- * -- function xcb_change_keyboard_control_aux (c : access xcb.xcb_connection_t; value_mask : bits_stdint_uintn_h.uint32_t; value_list : access constant xcb_change_keyboard_control_value_list_t) return xcb.xcb_void_cookie_t -- /usr/include/xcb/xproto.h:11916 with Import => True, Convention => C, External_Name => "xcb_change_keyboard_control_aux"; function xcb_change_keyboard_control_value_list (R : access constant xcb_change_keyboard_control_request_t) return System.Address -- /usr/include/xcb/xproto.h:11921 with Import => True, Convention => C, External_Name => "xcb_change_keyboard_control_value_list"; --* -- * -- * @param c The connection -- * @return A cookie -- * -- * Delivers a request to the X server. -- * -- function xcb_get_keyboard_control (c : access xcb.xcb_connection_t) return xcb_get_keyboard_control_cookie_t -- /usr/include/xcb/xproto.h:11932 with Import => True, Convention => C, External_Name => "xcb_get_keyboard_control"; --* -- * -- * @param c The connection -- * @return A cookie -- * -- * Delivers a request to the X server. -- * -- * This form can be used only if the request will cause -- * a reply to be generated. Any returned error will be -- * placed in the event queue. -- function xcb_get_keyboard_control_unchecked (c : access xcb.xcb_connection_t) return xcb_get_keyboard_control_cookie_t -- /usr/include/xcb/xproto.h:11946 with Import => True, Convention => C, External_Name => "xcb_get_keyboard_control_unchecked"; --* -- * Return the reply -- * @param c The connection -- * @param cookie The cookie -- * @param e The xcb_generic_error_t supplied -- * -- * Returns the reply of the request asked by -- * -- * The parameter @p e supplied to this function must be NULL if -- * xcb_get_keyboard_control_unchecked(). is used. -- * Otherwise, it stores the error if any. -- * -- * The returned value must be freed by the caller using free(). -- function xcb_get_keyboard_control_reply (c : access xcb.xcb_connection_t; cookie : xcb_get_keyboard_control_cookie_t; e : System.Address) return access xcb_get_keyboard_control_reply_t -- /usr/include/xcb/xproto.h:11963 with Import => True, Convention => C, External_Name => "xcb_get_keyboard_control_reply"; --*< --* -- * -- * @param c The connection -- * @return A cookie -- * -- * Delivers a request to the X server. -- * -- * This form can be used only if the request will not cause -- * a reply to be generated. Any returned error will be -- * saved for handling by xcb_request_check(). -- function xcb_bell_checked (c : access xcb.xcb_connection_t; percent : bits_stdint_intn_h.int8_t) return xcb.xcb_void_cookie_t -- /usr/include/xcb/xproto.h:11979 with Import => True, Convention => C, External_Name => "xcb_bell_checked"; --* -- * -- * @param c The connection -- * @return A cookie -- * -- * Delivers a request to the X server. -- * -- function xcb_bell (c : access xcb.xcb_connection_t; percent : bits_stdint_intn_h.int8_t) return xcb.xcb_void_cookie_t -- /usr/include/xcb/xproto.h:11991 with Import => True, Convention => C, External_Name => "xcb_bell"; --* -- * -- * @param c The connection -- * @return A cookie -- * -- * Delivers a request to the X server. -- * -- * This form can be used only if the request will not cause -- * a reply to be generated. Any returned error will be -- * saved for handling by xcb_request_check(). -- function xcb_change_pointer_control_checked (c : access xcb.xcb_connection_t; acceleration_numerator : bits_stdint_intn_h.int16_t; acceleration_denominator : bits_stdint_intn_h.int16_t; threshold : bits_stdint_intn_h.int16_t; do_acceleration : bits_stdint_uintn_h.uint8_t; do_threshold : bits_stdint_uintn_h.uint8_t) return xcb.xcb_void_cookie_t -- /usr/include/xcb/xproto.h:12006 with Import => True, Convention => C, External_Name => "xcb_change_pointer_control_checked"; --* -- * -- * @param c The connection -- * @return A cookie -- * -- * Delivers a request to the X server. -- * -- function xcb_change_pointer_control (c : access xcb.xcb_connection_t; acceleration_numerator : bits_stdint_intn_h.int16_t; acceleration_denominator : bits_stdint_intn_h.int16_t; threshold : bits_stdint_intn_h.int16_t; do_acceleration : bits_stdint_uintn_h.uint8_t; do_threshold : bits_stdint_uintn_h.uint8_t) return xcb.xcb_void_cookie_t -- /usr/include/xcb/xproto.h:12022 with Import => True, Convention => C, External_Name => "xcb_change_pointer_control"; --* -- * -- * @param c The connection -- * @return A cookie -- * -- * Delivers a request to the X server. -- * -- function xcb_get_pointer_control (c : access xcb.xcb_connection_t) return xcb_get_pointer_control_cookie_t -- /usr/include/xcb/xproto.h:12038 with Import => True, Convention => C, External_Name => "xcb_get_pointer_control"; --* -- * -- * @param c The connection -- * @return A cookie -- * -- * Delivers a request to the X server. -- * -- * This form can be used only if the request will cause -- * a reply to be generated. Any returned error will be -- * placed in the event queue. -- function xcb_get_pointer_control_unchecked (c : access xcb.xcb_connection_t) return xcb_get_pointer_control_cookie_t -- /usr/include/xcb/xproto.h:12052 with Import => True, Convention => C, External_Name => "xcb_get_pointer_control_unchecked"; --* -- * Return the reply -- * @param c The connection -- * @param cookie The cookie -- * @param e The xcb_generic_error_t supplied -- * -- * Returns the reply of the request asked by -- * -- * The parameter @p e supplied to this function must be NULL if -- * xcb_get_pointer_control_unchecked(). is used. -- * Otherwise, it stores the error if any. -- * -- * The returned value must be freed by the caller using free(). -- function xcb_get_pointer_control_reply (c : access xcb.xcb_connection_t; cookie : xcb_get_pointer_control_cookie_t; e : System.Address) return access xcb_get_pointer_control_reply_t -- /usr/include/xcb/xproto.h:12069 with Import => True, Convention => C, External_Name => "xcb_get_pointer_control_reply"; --*< --* -- * -- * @param c The connection -- * @return A cookie -- * -- * Delivers a request to the X server. -- * -- * This form can be used only if the request will not cause -- * a reply to be generated. Any returned error will be -- * saved for handling by xcb_request_check(). -- function xcb_set_screen_saver_checked (c : access xcb.xcb_connection_t; timeout : bits_stdint_intn_h.int16_t; interval : bits_stdint_intn_h.int16_t; prefer_blanking : bits_stdint_uintn_h.uint8_t; allow_exposures : bits_stdint_uintn_h.uint8_t) return xcb.xcb_void_cookie_t -- /usr/include/xcb/xproto.h:12085 with Import => True, Convention => C, External_Name => "xcb_set_screen_saver_checked"; --* -- * -- * @param c The connection -- * @return A cookie -- * -- * Delivers a request to the X server. -- * -- function xcb_set_screen_saver (c : access xcb.xcb_connection_t; timeout : bits_stdint_intn_h.int16_t; interval : bits_stdint_intn_h.int16_t; prefer_blanking : bits_stdint_uintn_h.uint8_t; allow_exposures : bits_stdint_uintn_h.uint8_t) return xcb.xcb_void_cookie_t -- /usr/include/xcb/xproto.h:12100 with Import => True, Convention => C, External_Name => "xcb_set_screen_saver"; --* -- * -- * @param c The connection -- * @return A cookie -- * -- * Delivers a request to the X server. -- * -- function xcb_get_screen_saver (c : access xcb.xcb_connection_t) return xcb_get_screen_saver_cookie_t -- /usr/include/xcb/xproto.h:12115 with Import => True, Convention => C, External_Name => "xcb_get_screen_saver"; --* -- * -- * @param c The connection -- * @return A cookie -- * -- * Delivers a request to the X server. -- * -- * This form can be used only if the request will cause -- * a reply to be generated. Any returned error will be -- * placed in the event queue. -- function xcb_get_screen_saver_unchecked (c : access xcb.xcb_connection_t) return xcb_get_screen_saver_cookie_t -- /usr/include/xcb/xproto.h:12129 with Import => True, Convention => C, External_Name => "xcb_get_screen_saver_unchecked"; --* -- * Return the reply -- * @param c The connection -- * @param cookie The cookie -- * @param e The xcb_generic_error_t supplied -- * -- * Returns the reply of the request asked by -- * -- * The parameter @p e supplied to this function must be NULL if -- * xcb_get_screen_saver_unchecked(). is used. -- * Otherwise, it stores the error if any. -- * -- * The returned value must be freed by the caller using free(). -- function xcb_get_screen_saver_reply (c : access xcb.xcb_connection_t; cookie : xcb_get_screen_saver_cookie_t; e : System.Address) return access xcb_get_screen_saver_reply_t -- /usr/include/xcb/xproto.h:12146 with Import => True, Convention => C, External_Name => "xcb_get_screen_saver_reply"; --*< function xcb_change_hosts_sizeof (u_buffer : System.Address) return int -- /usr/include/xcb/xproto.h:12151 with Import => True, Convention => C, External_Name => "xcb_change_hosts_sizeof"; --* -- * -- * @param c The connection -- * @return A cookie -- * -- * Delivers a request to the X server. -- * -- * This form can be used only if the request will not cause -- * a reply to be generated. Any returned error will be -- * saved for handling by xcb_request_check(). -- function xcb_change_hosts_checked (c : access xcb.xcb_connection_t; mode : bits_stdint_uintn_h.uint8_t; family : bits_stdint_uintn_h.uint8_t; address_len : bits_stdint_uintn_h.uint16_t; address : access bits_stdint_uintn_h.uint8_t) return xcb.xcb_void_cookie_t -- /usr/include/xcb/xproto.h:12165 with Import => True, Convention => C, External_Name => "xcb_change_hosts_checked"; --* -- * -- * @param c The connection -- * @return A cookie -- * -- * Delivers a request to the X server. -- * -- function xcb_change_hosts (c : access xcb.xcb_connection_t; mode : bits_stdint_uintn_h.uint8_t; family : bits_stdint_uintn_h.uint8_t; address_len : bits_stdint_uintn_h.uint16_t; address : access bits_stdint_uintn_h.uint8_t) return xcb.xcb_void_cookie_t -- /usr/include/xcb/xproto.h:12180 with Import => True, Convention => C, External_Name => "xcb_change_hosts"; function xcb_change_hosts_address (R : access constant xcb_change_hosts_request_t) return access bits_stdint_uintn_h.uint8_t -- /usr/include/xcb/xproto.h:12187 with Import => True, Convention => C, External_Name => "xcb_change_hosts_address"; function xcb_change_hosts_address_length (R : access constant xcb_change_hosts_request_t) return int -- /usr/include/xcb/xproto.h:12190 with Import => True, Convention => C, External_Name => "xcb_change_hosts_address_length"; function xcb_change_hosts_address_end (R : access constant xcb_change_hosts_request_t) return xcb.xcb_generic_iterator_t -- /usr/include/xcb/xproto.h:12193 with Import => True, Convention => C, External_Name => "xcb_change_hosts_address_end"; function xcb_host_sizeof (u_buffer : System.Address) return int -- /usr/include/xcb/xproto.h:12196 with Import => True, Convention => C, External_Name => "xcb_host_sizeof"; function xcb_host_address (R : access constant xcb_host_t) return access bits_stdint_uintn_h.uint8_t -- /usr/include/xcb/xproto.h:12199 with Import => True, Convention => C, External_Name => "xcb_host_address"; function xcb_host_address_length (R : access constant xcb_host_t) return int -- /usr/include/xcb/xproto.h:12202 with Import => True, Convention => C, External_Name => "xcb_host_address_length"; function xcb_host_address_end (R : access constant xcb_host_t) return xcb.xcb_generic_iterator_t -- /usr/include/xcb/xproto.h:12205 with Import => True, Convention => C, External_Name => "xcb_host_address_end"; --* -- * Get the next element of the iterator -- * @param i Pointer to a xcb_host_iterator_t -- * -- * Get the next element in the iterator. The member rem is -- * decreased by one. The member data points to the next -- * element. The member index is increased by sizeof(xcb_host_t) -- procedure xcb_host_next (i : access xcb_host_iterator_t) -- /usr/include/xcb/xproto.h:12216 with Import => True, Convention => C, External_Name => "xcb_host_next"; --* -- * Return the iterator pointing to the last element -- * @param i An xcb_host_iterator_t -- * @return The iterator pointing to the last element -- * -- * Set the current element in the iterator to the last element. -- * The member rem is set to 0. The member data points to the -- * last element. -- function xcb_host_end (i : xcb_host_iterator_t) return xcb.xcb_generic_iterator_t -- /usr/include/xcb/xproto.h:12228 with Import => True, Convention => C, External_Name => "xcb_host_end"; function xcb_list_hosts_sizeof (u_buffer : System.Address) return int -- /usr/include/xcb/xproto.h:12231 with Import => True, Convention => C, External_Name => "xcb_list_hosts_sizeof"; --* -- * -- * @param c The connection -- * @return A cookie -- * -- * Delivers a request to the X server. -- * -- function xcb_list_hosts (c : access xcb.xcb_connection_t) return xcb_list_hosts_cookie_t -- /usr/include/xcb/xproto.h:12242 with Import => True, Convention => C, External_Name => "xcb_list_hosts"; --* -- * -- * @param c The connection -- * @return A cookie -- * -- * Delivers a request to the X server. -- * -- * This form can be used only if the request will cause -- * a reply to be generated. Any returned error will be -- * placed in the event queue. -- function xcb_list_hosts_unchecked (c : access xcb.xcb_connection_t) return xcb_list_hosts_cookie_t -- /usr/include/xcb/xproto.h:12256 with Import => True, Convention => C, External_Name => "xcb_list_hosts_unchecked"; function xcb_list_hosts_hosts_length (R : access constant xcb_list_hosts_reply_t) return int -- /usr/include/xcb/xproto.h:12259 with Import => True, Convention => C, External_Name => "xcb_list_hosts_hosts_length"; function xcb_list_hosts_hosts_iterator (R : access constant xcb_list_hosts_reply_t) return xcb_host_iterator_t -- /usr/include/xcb/xproto.h:12262 with Import => True, Convention => C, External_Name => "xcb_list_hosts_hosts_iterator"; --* -- * Return the reply -- * @param c The connection -- * @param cookie The cookie -- * @param e The xcb_generic_error_t supplied -- * -- * Returns the reply of the request asked by -- * -- * The parameter @p e supplied to this function must be NULL if -- * xcb_list_hosts_unchecked(). is used. -- * Otherwise, it stores the error if any. -- * -- * The returned value must be freed by the caller using free(). -- function xcb_list_hosts_reply (c : access xcb.xcb_connection_t; cookie : xcb_list_hosts_cookie_t; e : System.Address) return access xcb_list_hosts_reply_t -- /usr/include/xcb/xproto.h:12279 with Import => True, Convention => C, External_Name => "xcb_list_hosts_reply"; --*< --* -- * -- * @param c The connection -- * @return A cookie -- * -- * Delivers a request to the X server. -- * -- * This form can be used only if the request will not cause -- * a reply to be generated. Any returned error will be -- * saved for handling by xcb_request_check(). -- function xcb_set_access_control_checked (c : access xcb.xcb_connection_t; mode : bits_stdint_uintn_h.uint8_t) return xcb.xcb_void_cookie_t -- /usr/include/xcb/xproto.h:12295 with Import => True, Convention => C, External_Name => "xcb_set_access_control_checked"; --* -- * -- * @param c The connection -- * @return A cookie -- * -- * Delivers a request to the X server. -- * -- function xcb_set_access_control (c : access xcb.xcb_connection_t; mode : bits_stdint_uintn_h.uint8_t) return xcb.xcb_void_cookie_t -- /usr/include/xcb/xproto.h:12307 with Import => True, Convention => C, External_Name => "xcb_set_access_control"; --* -- * -- * @param c The connection -- * @return A cookie -- * -- * Delivers a request to the X server. -- * -- * This form can be used only if the request will not cause -- * a reply to be generated. Any returned error will be -- * saved for handling by xcb_request_check(). -- function xcb_set_close_down_mode_checked (c : access xcb.xcb_connection_t; mode : bits_stdint_uintn_h.uint8_t) return xcb.xcb_void_cookie_t -- /usr/include/xcb/xproto.h:12322 with Import => True, Convention => C, External_Name => "xcb_set_close_down_mode_checked"; --* -- * -- * @param c The connection -- * @return A cookie -- * -- * Delivers a request to the X server. -- * -- function xcb_set_close_down_mode (c : access xcb.xcb_connection_t; mode : bits_stdint_uintn_h.uint8_t) return xcb.xcb_void_cookie_t -- /usr/include/xcb/xproto.h:12334 with Import => True, Convention => C, External_Name => "xcb_set_close_down_mode"; --* -- * @brief kills a client -- * -- * @param c The connection -- * @param resource Any resource belonging to the client (for example a Window), used to identify -- * the client connection. -- * \n -- * The special value of `XCB_KILL_ALL_TEMPORARY`, the resources of all clients -- * that have terminated in `RetainTemporary` (TODO) are destroyed. -- * @return A cookie -- * -- * Forces a close down of the client that created the specified \a resource. -- * -- * This form can be used only if the request will not cause -- * a reply to be generated. Any returned error will be -- * saved for handling by xcb_request_check(). -- function xcb_kill_client_checked (c : access xcb.xcb_connection_t; resource : bits_stdint_uintn_h.uint32_t) return xcb.xcb_void_cookie_t -- /usr/include/xcb/xproto.h:12355 with Import => True, Convention => C, External_Name => "xcb_kill_client_checked"; --* -- * @brief kills a client -- * -- * @param c The connection -- * @param resource Any resource belonging to the client (for example a Window), used to identify -- * the client connection. -- * \n -- * The special value of `XCB_KILL_ALL_TEMPORARY`, the resources of all clients -- * that have terminated in `RetainTemporary` (TODO) are destroyed. -- * @return A cookie -- * -- * Forces a close down of the client that created the specified \a resource. -- * -- function xcb_kill_client (c : access xcb.xcb_connection_t; resource : bits_stdint_uintn_h.uint32_t) return xcb.xcb_void_cookie_t -- /usr/include/xcb/xproto.h:12373 with Import => True, Convention => C, External_Name => "xcb_kill_client"; function xcb_rotate_properties_sizeof (u_buffer : System.Address) return int -- /usr/include/xcb/xproto.h:12377 with Import => True, Convention => C, External_Name => "xcb_rotate_properties_sizeof"; --* -- * -- * @param c The connection -- * @return A cookie -- * -- * Delivers a request to the X server. -- * -- * This form can be used only if the request will not cause -- * a reply to be generated. Any returned error will be -- * saved for handling by xcb_request_check(). -- function xcb_rotate_properties_checked (c : access xcb.xcb_connection_t; window : xcb_window_t; atoms_len : bits_stdint_uintn_h.uint16_t; c_delta : bits_stdint_intn_h.int16_t; atoms : access xcb_atom_t) return xcb.xcb_void_cookie_t -- /usr/include/xcb/xproto.h:12391 with Import => True, Convention => C, External_Name => "xcb_rotate_properties_checked"; --* -- * -- * @param c The connection -- * @return A cookie -- * -- * Delivers a request to the X server. -- * -- function xcb_rotate_properties (c : access xcb.xcb_connection_t; window : xcb_window_t; atoms_len : bits_stdint_uintn_h.uint16_t; c_delta : bits_stdint_intn_h.int16_t; atoms : access xcb_atom_t) return xcb.xcb_void_cookie_t -- /usr/include/xcb/xproto.h:12406 with Import => True, Convention => C, External_Name => "xcb_rotate_properties"; function xcb_rotate_properties_atoms (R : access constant xcb_rotate_properties_request_t) return access xcb_atom_t -- /usr/include/xcb/xproto.h:12413 with Import => True, Convention => C, External_Name => "xcb_rotate_properties_atoms"; function xcb_rotate_properties_atoms_length (R : access constant xcb_rotate_properties_request_t) return int -- /usr/include/xcb/xproto.h:12416 with Import => True, Convention => C, External_Name => "xcb_rotate_properties_atoms_length"; function xcb_rotate_properties_atoms_end (R : access constant xcb_rotate_properties_request_t) return xcb.xcb_generic_iterator_t -- /usr/include/xcb/xproto.h:12419 with Import => True, Convention => C, External_Name => "xcb_rotate_properties_atoms_end"; --* -- * -- * @param c The connection -- * @return A cookie -- * -- * Delivers a request to the X server. -- * -- * This form can be used only if the request will not cause -- * a reply to be generated. Any returned error will be -- * saved for handling by xcb_request_check(). -- function xcb_force_screen_saver_checked (c : access xcb.xcb_connection_t; mode : bits_stdint_uintn_h.uint8_t) return xcb.xcb_void_cookie_t -- /usr/include/xcb/xproto.h:12433 with Import => True, Convention => C, External_Name => "xcb_force_screen_saver_checked"; --* -- * -- * @param c The connection -- * @return A cookie -- * -- * Delivers a request to the X server. -- * -- function xcb_force_screen_saver (c : access xcb.xcb_connection_t; mode : bits_stdint_uintn_h.uint8_t) return xcb.xcb_void_cookie_t -- /usr/include/xcb/xproto.h:12445 with Import => True, Convention => C, External_Name => "xcb_force_screen_saver"; function xcb_set_pointer_mapping_sizeof (u_buffer : System.Address) return int -- /usr/include/xcb/xproto.h:12449 with Import => True, Convention => C, External_Name => "xcb_set_pointer_mapping_sizeof"; --* -- * -- * @param c The connection -- * @return A cookie -- * -- * Delivers a request to the X server. -- * -- function xcb_set_pointer_mapping (c : access xcb.xcb_connection_t; map_len : bits_stdint_uintn_h.uint8_t; map : access bits_stdint_uintn_h.uint8_t) return xcb_set_pointer_mapping_cookie_t -- /usr/include/xcb/xproto.h:12460 with Import => True, Convention => C, External_Name => "xcb_set_pointer_mapping"; --* -- * -- * @param c The connection -- * @return A cookie -- * -- * Delivers a request to the X server. -- * -- * This form can be used only if the request will cause -- * a reply to be generated. Any returned error will be -- * placed in the event queue. -- function xcb_set_pointer_mapping_unchecked (c : access xcb.xcb_connection_t; map_len : bits_stdint_uintn_h.uint8_t; map : access bits_stdint_uintn_h.uint8_t) return xcb_set_pointer_mapping_cookie_t -- /usr/include/xcb/xproto.h:12476 with Import => True, Convention => C, External_Name => "xcb_set_pointer_mapping_unchecked"; --* -- * Return the reply -- * @param c The connection -- * @param cookie The cookie -- * @param e The xcb_generic_error_t supplied -- * -- * Returns the reply of the request asked by -- * -- * The parameter @p e supplied to this function must be NULL if -- * xcb_set_pointer_mapping_unchecked(). is used. -- * Otherwise, it stores the error if any. -- * -- * The returned value must be freed by the caller using free(). -- function xcb_set_pointer_mapping_reply (c : access xcb.xcb_connection_t; cookie : xcb_set_pointer_mapping_cookie_t; e : System.Address) return access xcb_set_pointer_mapping_reply_t -- /usr/include/xcb/xproto.h:12495 with Import => True, Convention => C, External_Name => "xcb_set_pointer_mapping_reply"; --*< function xcb_get_pointer_mapping_sizeof (u_buffer : System.Address) return int -- /usr/include/xcb/xproto.h:12500 with Import => True, Convention => C, External_Name => "xcb_get_pointer_mapping_sizeof"; --* -- * -- * @param c The connection -- * @return A cookie -- * -- * Delivers a request to the X server. -- * -- function xcb_get_pointer_mapping (c : access xcb.xcb_connection_t) return xcb_get_pointer_mapping_cookie_t -- /usr/include/xcb/xproto.h:12511 with Import => True, Convention => C, External_Name => "xcb_get_pointer_mapping"; --* -- * -- * @param c The connection -- * @return A cookie -- * -- * Delivers a request to the X server. -- * -- * This form can be used only if the request will cause -- * a reply to be generated. Any returned error will be -- * placed in the event queue. -- function xcb_get_pointer_mapping_unchecked (c : access xcb.xcb_connection_t) return xcb_get_pointer_mapping_cookie_t -- /usr/include/xcb/xproto.h:12525 with Import => True, Convention => C, External_Name => "xcb_get_pointer_mapping_unchecked"; function xcb_get_pointer_mapping_map (R : access constant xcb_get_pointer_mapping_reply_t) return access bits_stdint_uintn_h.uint8_t -- /usr/include/xcb/xproto.h:12528 with Import => True, Convention => C, External_Name => "xcb_get_pointer_mapping_map"; function xcb_get_pointer_mapping_map_length (R : access constant xcb_get_pointer_mapping_reply_t) return int -- /usr/include/xcb/xproto.h:12531 with Import => True, Convention => C, External_Name => "xcb_get_pointer_mapping_map_length"; function xcb_get_pointer_mapping_map_end (R : access constant xcb_get_pointer_mapping_reply_t) return xcb.xcb_generic_iterator_t -- /usr/include/xcb/xproto.h:12534 with Import => True, Convention => C, External_Name => "xcb_get_pointer_mapping_map_end"; --* -- * Return the reply -- * @param c The connection -- * @param cookie The cookie -- * @param e The xcb_generic_error_t supplied -- * -- * Returns the reply of the request asked by -- * -- * The parameter @p e supplied to this function must be NULL if -- * xcb_get_pointer_mapping_unchecked(). is used. -- * Otherwise, it stores the error if any. -- * -- * The returned value must be freed by the caller using free(). -- function xcb_get_pointer_mapping_reply (c : access xcb.xcb_connection_t; cookie : xcb_get_pointer_mapping_cookie_t; e : System.Address) return access xcb_get_pointer_mapping_reply_t -- /usr/include/xcb/xproto.h:12551 with Import => True, Convention => C, External_Name => "xcb_get_pointer_mapping_reply"; --*< function xcb_set_modifier_mapping_sizeof (u_buffer : System.Address) return int -- /usr/include/xcb/xproto.h:12556 with Import => True, Convention => C, External_Name => "xcb_set_modifier_mapping_sizeof"; --* -- * -- * @param c The connection -- * @return A cookie -- * -- * Delivers a request to the X server. -- * -- function xcb_set_modifier_mapping (c : access xcb.xcb_connection_t; keycodes_per_modifier : bits_stdint_uintn_h.uint8_t; keycodes : access xcb_keycode_t) return xcb_set_modifier_mapping_cookie_t -- /usr/include/xcb/xproto.h:12567 with Import => True, Convention => C, External_Name => "xcb_set_modifier_mapping"; --* -- * -- * @param c The connection -- * @return A cookie -- * -- * Delivers a request to the X server. -- * -- * This form can be used only if the request will cause -- * a reply to be generated. Any returned error will be -- * placed in the event queue. -- function xcb_set_modifier_mapping_unchecked (c : access xcb.xcb_connection_t; keycodes_per_modifier : bits_stdint_uintn_h.uint8_t; keycodes : access xcb_keycode_t) return xcb_set_modifier_mapping_cookie_t -- /usr/include/xcb/xproto.h:12583 with Import => True, Convention => C, External_Name => "xcb_set_modifier_mapping_unchecked"; --* -- * Return the reply -- * @param c The connection -- * @param cookie The cookie -- * @param e The xcb_generic_error_t supplied -- * -- * Returns the reply of the request asked by -- * -- * The parameter @p e supplied to this function must be NULL if -- * xcb_set_modifier_mapping_unchecked(). is used. -- * Otherwise, it stores the error if any. -- * -- * The returned value must be freed by the caller using free(). -- function xcb_set_modifier_mapping_reply (c : access xcb.xcb_connection_t; cookie : xcb_set_modifier_mapping_cookie_t; e : System.Address) return access xcb_set_modifier_mapping_reply_t -- /usr/include/xcb/xproto.h:12602 with Import => True, Convention => C, External_Name => "xcb_set_modifier_mapping_reply"; --*< function xcb_get_modifier_mapping_sizeof (u_buffer : System.Address) return int -- /usr/include/xcb/xproto.h:12607 with Import => True, Convention => C, External_Name => "xcb_get_modifier_mapping_sizeof"; --* -- * -- * @param c The connection -- * @return A cookie -- * -- * Delivers a request to the X server. -- * -- function xcb_get_modifier_mapping (c : access xcb.xcb_connection_t) return xcb_get_modifier_mapping_cookie_t -- /usr/include/xcb/xproto.h:12618 with Import => True, Convention => C, External_Name => "xcb_get_modifier_mapping"; --* -- * -- * @param c The connection -- * @return A cookie -- * -- * Delivers a request to the X server. -- * -- * This form can be used only if the request will cause -- * a reply to be generated. Any returned error will be -- * placed in the event queue. -- function xcb_get_modifier_mapping_unchecked (c : access xcb.xcb_connection_t) return xcb_get_modifier_mapping_cookie_t -- /usr/include/xcb/xproto.h:12632 with Import => True, Convention => C, External_Name => "xcb_get_modifier_mapping_unchecked"; function xcb_get_modifier_mapping_keycodes (R : access constant xcb_get_modifier_mapping_reply_t) return access xcb_keycode_t -- /usr/include/xcb/xproto.h:12635 with Import => True, Convention => C, External_Name => "xcb_get_modifier_mapping_keycodes"; function xcb_get_modifier_mapping_keycodes_length (R : access constant xcb_get_modifier_mapping_reply_t) return int -- /usr/include/xcb/xproto.h:12638 with Import => True, Convention => C, External_Name => "xcb_get_modifier_mapping_keycodes_length"; function xcb_get_modifier_mapping_keycodes_end (R : access constant xcb_get_modifier_mapping_reply_t) return xcb.xcb_generic_iterator_t -- /usr/include/xcb/xproto.h:12641 with Import => True, Convention => C, External_Name => "xcb_get_modifier_mapping_keycodes_end"; --* -- * Return the reply -- * @param c The connection -- * @param cookie The cookie -- * @param e The xcb_generic_error_t supplied -- * -- * Returns the reply of the request asked by -- * -- * The parameter @p e supplied to this function must be NULL if -- * xcb_get_modifier_mapping_unchecked(). is used. -- * Otherwise, it stores the error if any. -- * -- * The returned value must be freed by the caller using free(). -- function xcb_get_modifier_mapping_reply (c : access xcb.xcb_connection_t; cookie : xcb_get_modifier_mapping_cookie_t; e : System.Address) return access xcb_get_modifier_mapping_reply_t -- /usr/include/xcb/xproto.h:12658 with Import => True, Convention => C, External_Name => "xcb_get_modifier_mapping_reply"; --*< --* -- * -- * @param c The connection -- * @return A cookie -- * -- * Delivers a request to the X server. -- * -- * This form can be used only if the request will not cause -- * a reply to be generated. Any returned error will be -- * saved for handling by xcb_request_check(). -- function xcb_no_operation_checked (c : access xcb.xcb_connection_t) return xcb.xcb_void_cookie_t -- /usr/include/xcb/xproto.h:12674 with Import => True, Convention => C, External_Name => "xcb_no_operation_checked"; --* -- * -- * @param c The connection -- * @return A cookie -- * -- * Delivers a request to the X server. -- * -- function xcb_no_operation (c : access xcb.xcb_connection_t) return xcb.xcb_void_cookie_t -- /usr/include/xcb/xproto.h:12685 with Import => True, Convention => C, External_Name => "xcb_no_operation"; --* -- * @} -- end xproto;
AdaCore/gpr
Ada
98
adb
with K; with Foo; function Main return Integer is begin K; Foo.Bar; return 0; end Main;
hergin/ada2fuml
Ada
291
ads
package PrimitivePropertyTypes is type SomeClass is record someInteger : Integer := 1; someNatural : Natural := 2; someBoolean : Boolean := False; someString : String(1 .. 5) := "hello"; someFloat : Float := 1.1; end record; end PrimitivePropertyTypes;
peterfrankjohnson/kernel
Ada
481
ads
with System; use System; package Process is type ProcessLevel is (User, Supervisor); subtype ProcessName is String (1 .. 10); type ProcessState is (Run, Wait); type Process; type Process_Ptr is access Process; type Process is record ID : Integer; Level : ProcessLevel; State : ProcessState; Name : ProcessName; PC : System.Address; end record; end Process;
reznikmm/matreshka
Ada
13,686
adb
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- Localization, Internationalization, Globalization for Ada -- -- -- -- Runtime Library Component -- -- -- ------------------------------------------------------------------------------ -- -- -- Copyright © 2013-2014, Vadim Godunko <[email protected]> -- -- 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 League.JSON.Arrays.Internals; with League.JSON.Objects.Internals; with League.Stream_Element_Vectors.Internals; with League.Strings.Internals; with Matreshka.Internals.Stream_Element_Vectors; with Matreshka.Internals.Strings; with Matreshka.Internals.Text_Codecs.UTF16; with Matreshka.Internals.Text_Codecs.UTF8; with Matreshka.JSON_Generator; with Matreshka.JSON_Parser; with Matreshka.JSON_Types; package body League.JSON.Documents is use type Matreshka.JSON_Types.Shared_JSON_Array_Access; use type Matreshka.JSON_Types.Shared_JSON_Object_Access; ------------ -- Adjust -- ------------ overriding procedure Adjust (Self : in out JSON_Document) is begin Matreshka.JSON_Documents.Reference (Self.Data); end Adjust; -------------- -- Finalize -- -------------- overriding procedure Finalize (Self : in out JSON_Document) is use type Matreshka.JSON_Documents.Shared_JSON_Document_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 Matreshka.JSON_Documents.Dereference (Self.Data); end if; end Finalize; --------------- -- From_JSON -- --------------- function From_JSON (Data : Ada.Streams.Stream_Element_Array) return JSON_Document is begin return From_JSON (League.Stream_Element_Vectors.To_Stream_Element_Vector (Data)); end From_JSON; --------------- -- From_JSON -- --------------- function From_JSON (Data : League.Stream_Element_Vectors.Stream_Element_Vector) return JSON_Document is use type Ada.Streams.Stream_Element; use type Ada.Streams.Stream_Element_Offset; C1 : Ada.Streams.Stream_Element; C2 : Ada.Streams.Stream_Element; C3 : Ada.Streams.Stream_Element; C4 : Ada.Streams.Stream_Element; Encoding : JSON_Encoding := UTF8; Decoded : Matreshka.Internals.Strings.Shared_String_Access; begin if Data.Length >= 4 then -- Automatic detection of encoding form according to RFC-4627: -- -- "Since the first two characters of a JSON text will always be -- ASCII characters [RFC0020], it is possible to determine whether an -- octet stream is UTF-8, UTF-16 (BE or LE), or UTF-32 (BE or LE) by -- looking at the pattern of nulls in the first four octets. -- -- 00 00 00 xx UTF-32BE -- 00 xx 00 xx UTF-16BE -- xx 00 00 00 UTF-32LE -- xx 00 xx 00 UTF-16LE -- xx xx xx xx UTF-8" -- -- UTF-8 is checked first because it is most widely used encoding. C1 := Data.Element (1); C2 := Data.Element (2); C3 := Data.Element (3); C4 := Data.Element (4); if C1 /= 0 and C2 /= 0 and C3 /= 0 and C4 /= 0 then -- xx xx xx xx UTF-8 Encoding := UTF8; elsif C1 = 0 and C2 /= 0 and C3 = 0 and C4 /= 0 then -- 00 xx 00 xx UTF-16BE Encoding := UTF16BE; elsif C1 /= 0 and C2 = 0 and C3 /= 0 and C4 = 0 then -- xx 00 xx 00 UTF-16LE Encoding := UTF16LE; elsif C1 = 0 and C2 = 0 and C3 = 0 and C4 /= 0 then -- 00 00 00 xx UTF-32BE Encoding := UTF32BE; elsif C1 /= 0 and C2 = 0 and C3 = 0 and C4 = 0 then -- xx 00 00 00 UTF-32LE Encoding := UTF32LE; else -- Encoding is not detected. raise Program_Error; end if; end if; case Encoding is when UTF8 => declare Decoder : Matreshka.Internals.Text_Codecs.Abstract_Decoder'Class := Matreshka.Internals.Text_Codecs.UTF8.Decoder (Matreshka.Internals.Text_Codecs.Raw); begin Decoder.Decode (Data.To_Stream_Element_Array, Decoded); if Decoder.Is_Mailformed then Matreshka.Internals.Strings.Dereference (Decoded); return League.JSON.Documents.Empty_JSON_Document; end if; end; when UTF16 => -- Must never be happen. raise Program_Error; when UTF16BE => declare Decoder : Matreshka.Internals.Text_Codecs.Abstract_Decoder'Class := Matreshka.Internals.Text_Codecs.UTF16.BE_Decoder (Matreshka.Internals.Text_Codecs.Raw); begin Decoder.Decode (Data.To_Stream_Element_Array, Decoded); if Decoder.Is_Mailformed then Matreshka.Internals.Strings.Dereference (Decoded); return League.JSON.Documents.Empty_JSON_Document; end if; end; when UTF16LE => declare Decoder : Matreshka.Internals.Text_Codecs.Abstract_Decoder'Class := Matreshka.Internals.Text_Codecs.UTF16.LE_Decoder (Matreshka.Internals.Text_Codecs.Raw); begin Decoder.Decode (Data.To_Stream_Element_Array, Decoded); if Decoder.Is_Mailformed then Matreshka.Internals.Strings.Dereference (Decoded); return League.JSON.Documents.Empty_JSON_Document; end if; end; when UTF32 => -- Must never be happen. raise Program_Error; when UTF32BE => -- XX Decoder is not implemented. raise Program_Error; when UTF32LE => -- XX Decoder is not implemented. raise Program_Error; end case; return From_JSON (League.Strings.Internals.Wrap (Decoded)); end From_JSON; --------------- -- From_JSON -- --------------- function From_JSON (Data : League.Strings.Universal_String) return JSON_Document is Result : League.JSON.Documents.JSON_Document; Success : Boolean; begin Matreshka.JSON_Parser.Parse (Data, Result, Success); if Success then return Result; else return Empty_JSON_Document; end if; end From_JSON; -------------- -- Is_Array -- -------------- function Is_Array (Self : JSON_Document'Class) return Boolean is begin return Self.Data.Array_Value /= null; end Is_Array; -------------- -- Is_Empty -- -------------- function Is_Empty (Self : JSON_Document'Class) return Boolean is begin return Self.Data.Array_Value = null and Self.Data.Object_Value = null; end Is_Empty; --------------- -- Is_Object -- --------------- function Is_Object (Self : JSON_Document'Class) return Boolean is begin return Self.Data.Object_Value /= null; end Is_Object; --------------- -- Set_Array -- --------------- procedure Set_Array (Self : in out JSON_Document'Class; Value : League.JSON.Arrays.JSON_Array) is begin Matreshka.JSON_Documents.Mutate (Self.Data); -- Cleanup. if Self.Data.Array_Value /= null then Matreshka.JSON_Types.Dereference (Self.Data.Array_Value); end if; if Self.Data.Object_Value /= null then Matreshka.JSON_Types.Dereference (Self.Data.Object_Value); end if; -- Set new value. Self.Data.Array_Value := League.JSON.Arrays.Internals.Internal (Value); Matreshka.JSON_Types.Reference (Self.Data.Array_Value); end Set_Array; ---------------- -- Set_Object -- ---------------- procedure Set_Object (Self : in out JSON_Document'Class; Value : League.JSON.Objects.JSON_Object) is begin Matreshka.JSON_Documents.Mutate (Self.Data); -- Cleanup. if Self.Data.Array_Value /= null then Matreshka.JSON_Types.Dereference (Self.Data.Array_Value); end if; if Self.Data.Object_Value /= null then Matreshka.JSON_Types.Dereference (Self.Data.Object_Value); end if; -- Set new value. Self.Data.Object_Value := League.JSON.Objects.Internals.Internal (Value); Matreshka.JSON_Types.Reference (Self.Data.Object_Value); end Set_Object; ------------- -- To_JSON -- ------------- function To_JSON (Self : JSON_Document'Class; Encoding : JSON_Encoding := UTF8) return League.Stream_Element_Vectors.Stream_Element_Vector is Aux : constant League.Strings.Universal_String := To_JSON (Self); Result : Matreshka.Internals.Stream_Element_Vectors .Shared_Stream_Element_Vector_Access; begin if Encoding /= UTF8 then -- XXX Not implemented yet. raise Program_Error; end if; declare Encoder : Matreshka.Internals.Text_Codecs.Abstract_Encoder'Class := Matreshka.Internals.Text_Codecs.UTF8.Encoder; begin Encoder.Encode (League.Strings.Internals.Internal (Aux), Result); return League.Stream_Element_Vectors.Internals.Wrap (Result); end; end To_JSON; ------------- -- To_JSON -- ------------- function To_JSON (Self : JSON_Document'Class) return League.Strings.Universal_String is begin return Matreshka.JSON_Generator.Generate (Self); end To_JSON; ------------------- -- To_JSON_Array -- ------------------- function To_JSON_Array (Self : JSON_Document'Class) return League.JSON.Arrays.JSON_Array is begin if Self.Data.Array_Value /= null then return League.JSON.Arrays.Internals.Create (Self.Data.Array_Value); else return League.JSON.Arrays.Empty_JSON_Array; end if; end To_JSON_Array; -------------------- -- To_JSON_Object -- -------------------- function To_JSON_Object (Self : JSON_Document'Class) return League.JSON.Objects.JSON_Object is begin if Self.Data.Object_Value /= null then return League.JSON.Objects.Internals.Create (Self.Data.Object_Value); else return League.JSON.Objects.Empty_JSON_Object; end if; end To_JSON_Object; end League.JSON.Documents;
AdaCore/libadalang
Ada
41
ads
with G; package G_I is new G (Integer);
sungyeon/drake
Ada
727
ads
pragma License (Unrestricted); -- implementation unit required by compiler package System.Wid_Enum is pragma Pure; -- required for Enum'Width by compiler (s-widenu.ads) function Width_Enumeration_8 ( Names : String; Indexes : Address; Lo, Hi : Natural) return Natural; function Width_Enumeration_16 ( Names : String; Indexes : Address; Lo, Hi : Natural) return Natural; function Width_Enumeration_32 ( Names : String; Indexes : Address; Lo, Hi : Natural) return Natural; pragma Pure_Function (Width_Enumeration_8); pragma Pure_Function (Width_Enumeration_16); pragma Pure_Function (Width_Enumeration_32); end System.Wid_Enum;
ptrebuc/ewok-kernel
Ada
1,938
ads
-- -- Copyright 2018 The wookey project team <[email protected]> -- - Ryad Benadjila -- - Arnauld Michelizza -- - Mathieu Renard -- - Philippe Thierry -- - Philippe Trebuchet -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance with the License. -- You may obtain a copy of the License at -- -- http://www.apache.org/licenses/LICENSE-2.0 -- -- Unless required by applicable law or agreed to in writing, software -- distributed under the License is distributed on an "AS IS" BASIS, -- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -- See the License for the specific language governing permissions and -- limitations under the License. -- -- with soc.exti; with ewok.exported.gpios; package ewok.exti with spark_mode => off is exti_line_registered : array (soc.exti.t_exti_line_index) of boolean := (others => false); --------------- -- Functions -- --------------- -- \brief initialize the EXTI module procedure init; -- \brief Disable a given line -- \returns 0 of EXTI line has been properly disabled, or non-null value procedure disable (ref : in ewok.exported.gpios.t_gpio_ref); -- Enable (i.e. activate at EXTI and NVIC level) the EXTI line. -- This is done by calling soc_exti_enable() only. No generic call here. procedure enable (ref : in ewok.exported.gpios.t_gpio_ref); -- Return true if EXTI line is already registered. function is_used (ref : ewok.exported.gpios.t_gpio_ref) return boolean; -- \brief Register a new EXTI line. -- Check that the EXTI line is not already registered. procedure register (conf : in ewok.exported.gpios.t_gpio_config_access; success : out boolean); procedure release (conf : in ewok.exported.gpios.t_gpio_config_access); end ewok.exti;
reznikmm/matreshka
Ada
4,057
ads
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- Open Document Toolkit -- -- -- -- Runtime Library Component -- -- -- ------------------------------------------------------------------------------ -- -- -- Copyright © 2014, Vadim Godunko <[email protected]> -- -- 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 ODF.DOM.Presentation_Endless_Attributes; package Matreshka.ODF_Presentation.Endless_Attributes is type Presentation_Endless_Attribute_Node is new Matreshka.ODF_Presentation.Abstract_Presentation_Attribute_Node and ODF.DOM.Presentation_Endless_Attributes.ODF_Presentation_Endless_Attribute with null record; overriding function Create (Parameters : not null access Matreshka.DOM_Attributes.Attribute_L2_Parameters) return Presentation_Endless_Attribute_Node; overriding function Get_Local_Name (Self : not null access constant Presentation_Endless_Attribute_Node) return League.Strings.Universal_String; end Matreshka.ODF_Presentation.Endless_Attributes;
MinimSecure/unum-sdk
Ada
882
adb
-- Copyright 2007-2016 Free Software Foundation, Inc. -- -- This program is free software; you can redistribute it and/or modify -- it under the terms of the GNU General Public License as published by -- the Free Software Foundation; either version 3 of the License, or -- (at your option) any later version. -- -- This program is distributed in the hope that it will be useful, -- but WITHOUT ANY WARRANTY; without even the implied warranty of -- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -- GNU General Public License for more details. -- -- You should have received a copy of the GNU General Public License -- along with this program. If not, see <http://www.gnu.org/licenses/>. package body Defs is function F1 (S : Struct1) return Integer is begin return s.x; -- Set breakpoint marker here. end F1; end Defs;
jrcarter/Lined
Ada
2,819
adb
with Ada.Strings.Unbounded; with Lined.Buffer; package body Lined.Searching is use Ada.Strings.Unbounded; Cur_Pat : Unbounded_String := Null_Unbounded_String; Processed : PragmARC.Matching.Character_Regular_Expression.Processed_Pattern; function Terminator (Pattern : String; Delimiter : Character; Classes : Boolean := True) return Positive is In_Class : Boolean := False; use PragmARC.Matching.Character_Regular_Expression; begin -- Terminator Scan : for I in Pattern'Range loop if Pattern (I) = Delimiter and not In_Class and (I = Pattern'First or else Pattern (I - 1) /= Escape_Item) then return I; end if; case Pattern (I) is when Start_Class_Item => if Classes and not In_Class then In_Class := True; end if; when Stop_Class_Item => if Classes and In_Class then In_Class := False; end if; when others => null; end case; end loop Scan; raise Invalid_Input; -- Delimiter not found end Terminator; procedure Process (Pattern : in String) is -- Empty begin -- Process Cur_Pat := To_Unbounded_String (Pattern); Handle_Invalid : declare -- Empty begin -- Handle_Invalid PragmARC.Matching.Character_Regular_Expression.Process (Pattern => Pattern, Processed => Processed); exception -- Handle_Invalid when others => Cur_Pat := Null_Unbounded_String; raise Invalid_Input; end Handle_Invalid; end Process; function Current return String is (To_String (Cur_Pat) ); function Search (Current : Natural; Forward : Boolean) return Positive is Line : Natural := Current; Count : Natural := 0; begin -- Search if Buffer.Last = 0 or Cur_Pat = Null_Unbounded_String then raise Invalid_Input; end if; Match : loop if Forward then Line := Buffer.Next (Line); else Line := Buffer.Prev (Line); end if; if PragmARC.Matching.Character_Regular_Expression.Location (Processed, Buffer.Line (Line) ).Found then return Line; end if; Count := Count + 1; exit Match when Line = Current or (Current = 0 and Count > 1 and Line = (if Forward then 1 else Buffer.Last) ); end loop Match; raise Invalid_Input; end Search; function Search (Line : String) return PragmARC.Matching.Character_Regular_Expression.Result is -- Empty begin -- Search if Cur_Pat = Null_Unbounded_String then raise Invalid_Input; end if; return PragmARC.Matching.Character_Regular_Expression.Location (Processed, Line); end Search; end Lined.Searching;
reznikmm/matreshka
Ada
4,189
ads
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- Localization, Internationalization, Globalization for Ada -- -- -- -- Tools Component -- -- -- ------------------------------------------------------------------------------ -- -- -- Copyright © 2011, Vadim Godunko <[email protected]> -- -- All rights reserved. -- -- -- -- Redistribution and use in source and binary forms, with or without -- -- modification, are permitted provided that the following conditions -- -- are met: -- -- -- -- * Redistributions of source code must retain the above copyright -- -- notice, this list of conditions and the following disclaimer. -- -- -- -- * Redistributions in binary form must reproduce the above copyright -- -- notice, this list of conditions and the following disclaimer in the -- -- documentation and/or other materials provided with the distribution. -- -- -- -- * Neither the name of the Vadim Godunko, IE nor the names of its -- -- contributors may be used to endorse or promote products derived from -- -- this software without specific prior written permission. -- -- -- -- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -- -- "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -- -- LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -- -- A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -- -- HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -- -- SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED -- -- TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -- -- PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -- -- LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -- -- NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -- -- SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -- -- -- ------------------------------------------------------------------------------ -- $Revision$ $Date$ ------------------------------------------------------------------------------ package Configure.Pkg_Config is function Has_Pkg_Config return Boolean; -- Returns True when pkg-config is found. function Has_Package (Package_Name : String) return Boolean; -- Returns True when specified package is installed. function Package_Version (Package_Name : String) return String; -- Returns version of the specified package. Returns empty string on error. function Package_Version_At_Least (Package_Name : String; Expected : String; Actual : access Unbounded_String) return Boolean; -- Returns True when actual version of the specified package at least equal -- to expected. Returns actual version of the package also. function Package_Libs (Package_Name : String) return String_Vectors.Vector; -- Returns command line switches for linker. end Configure.Pkg_Config;
reznikmm/matreshka
Ada
4,767
ads
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- Ada Modeling Framework -- -- -- -- Runtime Library Component -- -- -- ------------------------------------------------------------------------------ -- -- -- Copyright © 2012, Vadim Godunko <[email protected]> -- -- 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.Generic_Collections; package AMF.DI.Styles.Collections is pragma Preelaborate; package DI_Style_Collections is new AMF.Generic_Collections (DI_Style, DI_Style_Access); type Set_Of_DI_Style is new DI_Style_Collections.Set with null record; Empty_Set_Of_DI_Style : constant Set_Of_DI_Style; type Ordered_Set_Of_DI_Style is new DI_Style_Collections.Ordered_Set with null record; Empty_Ordered_Set_Of_DI_Style : constant Ordered_Set_Of_DI_Style; type Bag_Of_DI_Style is new DI_Style_Collections.Bag with null record; Empty_Bag_Of_DI_Style : constant Bag_Of_DI_Style; type Sequence_Of_DI_Style is new DI_Style_Collections.Sequence with null record; Empty_Sequence_Of_DI_Style : constant Sequence_Of_DI_Style; private Empty_Set_Of_DI_Style : constant Set_Of_DI_Style := (DI_Style_Collections.Set with null record); Empty_Ordered_Set_Of_DI_Style : constant Ordered_Set_Of_DI_Style := (DI_Style_Collections.Ordered_Set with null record); Empty_Bag_Of_DI_Style : constant Bag_Of_DI_Style := (DI_Style_Collections.Bag with null record); Empty_Sequence_Of_DI_Style : constant Sequence_Of_DI_Style := (DI_Style_Collections.Sequence with null record); end AMF.DI.Styles.Collections;
zhmu/ananas
Ada
7,126
adb
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- A D A . W I D E _ T E X T _ I O . F L O A T _ I O -- -- -- -- B o d y -- -- -- -- Copyright (C) 1992-2022, Free Software Foundation, Inc. -- -- -- -- GNAT is free software; you can redistribute it and/or modify it under -- -- terms of the GNU General Public License as published by the Free Soft- -- -- ware Foundation; either version 3, or (at your option) any later ver- -- -- sion. GNAT is distributed in the hope that it will be useful, but WITH- -- -- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY -- -- or FITNESS FOR A PARTICULAR PURPOSE. -- -- -- -- As a special exception under Section 7 of GPL version 3, you are granted -- -- additional permissions described in the GCC Runtime Library Exception, -- -- version 3.1, as published by the Free Software Foundation. -- -- -- -- You should have received a copy of the GNU General Public License and -- -- a copy of the GCC Runtime Library Exception along with this program; -- -- see the files COPYING3 and COPYING.RUNTIME respectively. If not, see -- -- <http://www.gnu.org/licenses/>. -- -- -- -- GNAT was originally developed by the GNAT team at New York University. -- -- Extensive contributions were provided by Ada Core Technologies Inc. -- -- -- ------------------------------------------------------------------------------ with Ada.Wide_Text_IO.Float_Aux; with System.Img_Flt; use System.Img_Flt; with System.Img_LFlt; use System.Img_LFlt; with System.Img_LLF; use System.Img_LLF; with System.Val_Flt; use System.Val_Flt; with System.Val_LFlt; use System.Val_LFlt; with System.Val_LLF; use System.Val_LLF; with System.WCh_Con; use System.WCh_Con; with System.WCh_WtS; use System.WCh_WtS; package body Ada.Wide_Text_IO.Float_IO is package Aux_Float is new Ada.Wide_Text_IO.Float_Aux (Float, Scan_Float, Set_Image_Float); package Aux_Long_Float is new Ada.Wide_Text_IO.Float_Aux (Long_Float, Scan_Long_Float, Set_Image_Long_Float); package Aux_Long_Long_Float is new Ada.Wide_Text_IO.Float_Aux (Long_Long_Float, Scan_Long_Long_Float, Set_Image_Long_Long_Float); -- Throughout this generic body, we distinguish between the case where type -- Float is OK, where type Long_Float is OK and where type Long_Long_Float -- is needed. These boolean constants are used to test for this, such that -- only code for the relevant case is included in the instance. OK_Float : constant Boolean := Num'Base'Digits <= Float'Digits; OK_Long_Float : constant Boolean := Num'Base'Digits <= Long_Float'Digits; --------- -- Get -- --------- procedure Get (File : File_Type; Item : out Num; Width : Field := 0) is pragma Unsuppress (Range_Check); begin if OK_Float then Aux_Float.Get (File, Float (Item), Width); elsif OK_Long_Float then Aux_Long_Float.Get (File, Long_Float (Item), Width); else Aux_Long_Long_Float.Get (File, Long_Long_Float (Item), Width); end if; -- In the case where the type is unconstrained (e.g. Standard'Float), -- the above conversion may result in an infinite value, which is -- normally fine for a conversion, but in this case, we want to treat -- that as a data error. if not Item'Valid then raise Data_Error; end if; exception when Constraint_Error => raise Data_Error; end Get; procedure Get (Item : out Num; Width : Field := 0) is begin Get (Current_In, Item, Width); end Get; procedure Get (From : Wide_String; Item : out Num; Last : out Positive) is pragma Unsuppress (Range_Check); S : constant String := Wide_String_To_String (From, WCEM_Upper); -- String on which we do the actual conversion. Note that the method -- used for wide character encoding is irrelevant, since if there is -- a character outside the Standard.Character range then the call to -- Aux.Gets will raise Data_Error in any case. begin if OK_Float then Aux_Float.Gets (S, Float (Item), Last); elsif OK_Long_Float then Aux_Long_Float.Gets (S, Long_Float (Item), Last); else Aux_Long_Long_Float.Gets (S, Long_Long_Float (Item), Last); end if; -- In the case where the type is unconstrained (e.g. Standard'Float), -- the above conversion may result in an infinite value, which is -- normally fine for a conversion, but in this case, we want to treat -- that as a data error. if not Item'Valid then raise Data_Error; end if; exception when Constraint_Error => raise Data_Error; end Get; --------- -- Put -- --------- procedure Put (File : File_Type; Item : Num; Fore : Field := Default_Fore; Aft : Field := Default_Aft; Exp : Field := Default_Exp) is begin if OK_Float then Aux_Float.Put (File, Float (Item), Fore, Aft, Exp); elsif OK_Long_Float then Aux_Long_Float.Put (File, Long_Float (Item), Fore, Aft, Exp); else Aux_Long_Long_Float.Put (File, Long_Long_Float (Item), Fore, Aft, Exp); end if; end Put; procedure Put (Item : Num; Fore : Field := Default_Fore; Aft : Field := Default_Aft; Exp : Field := Default_Exp) is begin Put (Current_Out, Item, Fore, Aft, Exp); end Put; procedure Put (To : out Wide_String; Item : Num; Aft : Field := Default_Aft; Exp : Field := Default_Exp) is S : String (To'First .. To'Last); begin if OK_Float then Aux_Float.Puts (S, Float (Item), Aft, Exp); elsif OK_Long_Float then Aux_Long_Float.Puts (S, Long_Float (Item), Aft, Exp); else Aux_Long_Long_Float.Puts (S, Long_Long_Float (Item), Aft, Exp); end if; for J in S'Range loop To (J) := Wide_Character'Val (Character'Pos (S (J))); end loop; end Put; end Ada.Wide_Text_IO.Float_IO;
reznikmm/matreshka
Ada
4,727
ads
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- Ada Modeling Framework -- -- -- -- Runtime Library Component -- -- -- ------------------------------------------------------------------------------ -- -- -- Copyright © 2011-2012, Vadim Godunko <[email protected]> -- -- 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. ------------------------------------------------------------------------------ -- A profile defines limited extensions to a reference metamodel with the -- purpose of adapting the metamodel to a specific platform or domain. ------------------------------------------------------------------------------ limited with AMF.UML.Element_Imports.Collections; limited with AMF.UML.Package_Imports.Collections; with AMF.UML.Packages; package AMF.UML.Profiles is pragma Preelaborate; type UML_Profile is limited interface and AMF.UML.Packages.UML_Package; type UML_Profile_Access is access all UML_Profile'Class; for UML_Profile_Access'Storage_Size use 0; not overriding function Get_Metaclass_Reference (Self : not null access constant UML_Profile) return AMF.UML.Element_Imports.Collections.Set_Of_UML_Element_Import is abstract; -- Getter of Profile::metaclassReference. -- -- References a metaclass that may be extended. not overriding function Get_Metamodel_Reference (Self : not null access constant UML_Profile) return AMF.UML.Package_Imports.Collections.Set_Of_UML_Package_Import is abstract; -- Getter of Profile::metamodelReference. -- -- References a package containing (directly or indirectly) metaclasses -- that may be extended. end AMF.UML.Profiles;
ekoeppen/STM32_Generic_Ada_Drivers
Ada
311
ads
with STM32_SVD; use STM32_SVD; package STM32GD.SPI is pragma Preelaborate; SPI_1 : Natural := 1; type SPI_Data_Size is (Data_Size_8b, Data_Size_16b); type SPI_Data_8b is array (Natural range <>) of Byte; type SPI_Data_16b is array (Natural range <>) of UInt16; end STM32GD.SPI;
stcarrez/ada-util
Ada
16,015
adb
----------------------------------------------------------------------- -- util-texts-transforms -- Various Text Transformation Utilities -- Copyright (C) 2001, 2002, 2003, 2009, 2010, 2011, 2012, 2015, 2018, 2022 Stephane Carrez -- Written by Stephane Carrez ([email protected]) -- -- 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; package body Util.Texts.Transforms is type Code is mod 2**32; Conversion : constant String (1 .. 16) := "0123456789ABCDEF"; procedure Put_Dec (Into : in out Stream; Value : in Code); procedure To_Hex (Into : in out Stream; Value : in Code); procedure Put (Into : in out Stream; Value : in String) is begin for I in Value'Range loop Put (Into, Value (I)); end loop; end Put; -- ------------------------------ -- Write in the output stream the value as a \uNNNN encoding form. -- ------------------------------ procedure To_Hex (Into : in out Stream; Value : in Char) is begin To_Hex (Into, Code (Char'Pos (Value))); end To_Hex; -- ------------------------------ -- Write in the output stream the value as a \uNNNN encoding form. -- ------------------------------ procedure To_Hex (Into : in out Stream; Value : in Code) is S : String (1 .. 6) := (1 => '\', 2 => 'u', others => '0'); P : Code := Value; N : Code; I : Positive := S'Last; begin while P /= 0 loop N := P mod 16; P := P / 16; S (I) := Conversion (Positive'Val (N + 1)); exit when I = 1; I := I - 1; end loop; Put (Into, S); end To_Hex; procedure Put_Dec (Into : in out Stream; Value : in Code) is S : String (1 .. 9) := (others => '0'); P : Code := Value; N : Code; I : Positive := S'Last; begin while P /= 0 loop N := P mod 10; P := P / 10; S (I) := Conversion (Positive'Val (N + 1)); exit when P = 0; I := I - 1; end loop; Put (Into, S (I .. S'Last)); end Put_Dec; -- ------------------------------ -- Capitalize the string into the result stream. -- ------------------------------ procedure Capitalize (Content : in Input; Into : in out Stream) is Upper : Boolean := True; C : Code; begin for I in Content'Range loop if Upper then C := Char'Pos (To_Upper (Content (I))); Upper := False; else C := Char'Pos (To_Lower (Content (I))); if C = Character'Pos ('_') or else C = Character'Pos ('.') or else C = Character'Pos (':') or else C = Character'Pos (';') or else C = Character'Pos (',') or else C = Character'Pos (' ') then Upper := True; end if; end if; Put (Into, Character'Val (C)); end loop; end Capitalize; -- ------------------------------ -- Capitalize the string -- ------------------------------ function Capitalize (Content : Input) return Input is Upper : Boolean := True; C : Code; Result : Input (Content'Range); begin for I in Content'Range loop if Upper then C := Char'Pos (To_Upper (Content (I))); Upper := False; else C := Char'Pos (To_Lower (Content (I))); if C = Character'Pos ('_') or else C = Character'Pos ('.') or else C = Character'Pos (':') or else C = Character'Pos (';') or else C = Character'Pos (',') or else C = Character'Pos (' ') then Upper := True; end if; end if; Result (I) := Char'Val (C); end loop; return Result; end Capitalize; -- ------------------------------ -- Translate the input string into an upper case string in the result stream. -- ------------------------------ procedure To_Upper_Case (Content : in Input; Into : in out Stream) is C : Code; begin for I in Content'Range loop C := Char'Pos (To_Upper (Content (I))); Put (Into, Character'Val (C)); end loop; end To_Upper_Case; -- ------------------------------ -- Translate the input string into an upper case string. -- ------------------------------ function To_Upper_Case (Content : Input) return Input is Result : Input (Content'Range); begin for I in Content'Range loop Result (I) := To_Upper (Content (I)); end loop; return Result; end To_Upper_Case; -- ------------------------------ -- Translate the input string into a lower case string in the result stream. -- ------------------------------ procedure To_Lower_Case (Content : in Input; Into : in out Stream) is C : Code; begin for I in Content'Range loop C := Char'Pos (To_Lower (Content (I))); Put (Into, Character'Val (C)); end loop; end To_Lower_Case; -- ------------------------------ -- Translate the input string into a lower case string in the result stream. -- ------------------------------ function To_Lower_Case (Content : Input) return Input is Result : Input (Content'Range); begin for I in Content'Range loop Result (I) := To_Lower (Content (I)); end loop; return Result; end To_Lower_Case; procedure Escape_Java_Script (Content : in Input; Into : in out Stream) is begin Escape_Java (Content => Content, Into => Into, Escape_Single_Quote => True); end Escape_Java_Script; procedure Escape_Java (Content : in Input; Into : in out Stream) is begin Escape_Java (Content => Content, Into => Into, Escape_Single_Quote => False); end Escape_Java; procedure Escape_Java (Content : in Input; Escape_Single_Quote : in Boolean; Into : in out Stream) is C : Code; begin for I in Content'Range loop C := Char'Pos (Content (I)); if C < 16#20# then if C = 16#0A# then Put (Into, '\'); Put (Into, 'n'); elsif C = 16#0D# then Put (Into, '\'); Put (Into, 'r'); elsif C = 16#08# then Put (Into, '\'); Put (Into, 'b'); elsif C = 16#09# then Put (Into, '\'); Put (Into, 't'); elsif C = 16#0C# then Put (Into, '\'); Put (Into, 'f'); else To_Hex (Into, C); end if; elsif C = 16#27# then if Escape_Single_Quote then Put (Into, '\'); end if; Put (Into, Character'Val (C)); elsif C = 16#22# then Put (Into, '\'); Put (Into, Character'Val (C)); elsif C = 16#5C# then Put (Into, '\'); Put (Into, Character'Val (C)); elsif C >= 16#100# then To_Hex (Into, C); else Put (Into, Character'Val (C)); end if; end loop; end Escape_Java; -- ------------------------------ -- Escape the content into the result stream using the XML -- escape rules: -- '<' -> '&lt;' -- '>' -> '&gt;' -- ''' -> '&apos;' -- '&' -> '&amp;' -- -> '&#nnn;' if Character'Pos >= 128 -- ------------------------------ procedure Escape_Xml (Content : in Input; Into : in out Stream) is C : Code; begin for I in Content'Range loop C := Char'Pos (Content (I)); if C = Character'Pos ('<') then Put (Into, "&lt;"); elsif C = Character'Pos ('>') then Put (Into, "&gt;"); elsif C = Character'Pos ('&') then Put (Into, "&amp;"); elsif C = Character'Pos (''') then Put (Into, "&apos;"); elsif C > 16#7F# then Put (Into, '&'); Put (Into, '#'); Put_Dec (Into, C); Put (Into, ';'); else Put (Into, Character'Val (C)); end if; end loop; end Escape_Xml; -- ------------------------------ -- Translate the XML entity represented by <tt>Entity</tt> into an UTF-8 sequence -- in the output stream. -- ------------------------------ procedure Translate_Xml_Entity (Entity : in Input; Into : in out Stream) is begin if Entity (Entity'First) = Char'Val (Character'Pos ('&')) and then Entity (Entity'Last) = Char'Val (Character'Pos (';')) then case Char'Pos (Entity (Entity'First + 1)) is when Character'Pos ('l') => if Entity'Length = 4 and then Entity (Entity'First + 2) = Char'Val (Character'Pos ('t')) then Put (Into, '<'); return; end if; when Character'Pos ('g') => if Entity'Length = 4 and then Entity (Entity'First + 2) = Char'Val (Character'Pos ('t')) then Put (Into, '>'); return; end if; when Character'Pos ('a') => if Entity'Length = 5 and then Entity (Entity'First + 2) = Char'Val (Character'Pos ('m')) and then Entity (Entity'First + 3) = Char'Val (Character'Pos ('p')) then Put (Into, '&'); return; end if; if Entity'Length = 6 and then Entity (Entity'First + 2) = Char'Val (Character'Pos ('p')) and then Entity (Entity'First + 3) = Char'Val (Character'Pos ('o')) and then Entity (Entity'First + 4) = Char'Val (Character'Pos ('s')) then Put (Into, '''); return; end if; when Character'Pos ('q') => if Entity'Length = 6 and then Entity (Entity'First + 2) = Char'Val (Character'Pos ('u')) and then Entity (Entity'First + 3) = Char'Val (Character'Pos ('o')) and then Entity (Entity'First + 4) = Char'Val (Character'Pos ('t')) then Put (Into, '"'); return; end if; when Character'Pos ('#') => declare use Interfaces; V : Unsigned_32 := 0; C : Code; begin if Entity (Entity'First + 2) = Char'Val (Character'Pos ('x')) then for I in Entity'First + 3 .. Entity'Last - 1 loop C := Char'Pos (Entity (I)); if C >= Character'Pos ('0') and then C <= Character'Pos ('9') then V := (V * 16) + Unsigned_32 (C - Character'Pos ('0')); elsif C >= Character'Pos ('a') and then C <= Character'Pos ('z') then V := (V * 16) + 10 + Unsigned_32 (C - Character'Pos ('a')); elsif C >= Character'Pos ('A') and then C <= Character'Pos ('Z') then V := (V * 16) + 10 + Unsigned_32 (C - Character'Pos ('A')); end if; end loop; else for I in Entity'First + 2 .. Entity'Last - 1 loop C := Char'Pos (Entity (I)); if C >= Character'Pos ('0') and then C <= Character'Pos ('9') then V := (V * 10) + Unsigned_32 (C - Character'Pos ('0')); end if; end loop; end if; if V <= 16#007F# then Put (Into, Character'Val (V)); return; elsif V <= 16#07FF# then Put (Into, Character'Val (16#C0# or Interfaces.Shift_Right (V, 6))); Put (Into, Character'Val (16#80# or (V and 16#03F#))); return; elsif V <= 16#0FFFF# then Put (Into, Character'Val (16#D0# or Shift_Right (V, 12))); Put (Into, Character'Val (16#80# or (Shift_Right (V, 6) and 16#03F#))); Put (Into, Character'Val (16#80# or (V and 16#03F#))); return; elsif V <= 16#10FFFF# then Put (Into, Character'Val (16#E0# or Shift_Right (V, 18))); Put (Into, Character'Val (16#80# or (Shift_Right (V, 12) and 16#03F#))); Put (Into, Character'Val (16#80# or (Shift_Right (V, 6) and 16#03F#))); Put (Into, Character'Val (16#80# or (V and 16#03F#))); return; end if; end; when others => null; end case; end if; -- Invalid entity. end Translate_Xml_Entity; -- ------------------------------ -- Unescape the XML entities from the content into the result stream. -- For each XML entity found, call the <tt>Translator</tt> procedure who is responsible -- for writing the result in the stream. The XML entity starts with '&' and ends with ';'. -- The '&' and ';' are part of the entity when given to the translator. If the trailing -- ';' is not part of the entity, it means the entity was truncated or the end of input -- stream is reached. -- ------------------------------ procedure Unescape_Xml (Content : in Input; Translator : not null access procedure (Entity : in Input; Into : in out Stream) := Translate_Xml_Entity'Access; Into : in out Stream) is MAX_ENTITY_LENGTH : constant Positive := 30; Entity : Input (1 .. MAX_ENTITY_LENGTH); C : Code; Pos : Natural := Content'First; Last : Natural; begin while Pos <= Content'Last loop C := Char'Pos (Content (Pos)); Pos := Pos + 1; if C = Character'Pos ('&') then Entity (Entity'First) := Char'Val (C); Last := Entity'First; while Pos <= Content'Last loop C := Char'Pos (Content (Pos)); Pos := Pos + 1; if Last < Entity'Last then Last := Last + 1; Entity (Last) := Char'Val (C); end if; exit when C = Character'Pos (';'); end loop; Translator (Entity (Entity'First .. Last), Into); else Put (Into, Character'Val (C)); end if; end loop; end Unescape_Xml; end Util.Texts.Transforms;
micahwelf/FLTK-Ada
Ada
3,832
adb
with Interfaces.C.Strings, System; use type Interfaces.C.int, System.Address; package body FLTK.Widgets.Valuators.Adjusters is procedure adjuster_set_draw_hook (W, D : in System.Address); pragma Import (C, adjuster_set_draw_hook, "adjuster_set_draw_hook"); pragma Inline (adjuster_set_draw_hook); procedure adjuster_set_handle_hook (W, H : in System.Address); pragma Import (C, adjuster_set_handle_hook, "adjuster_set_handle_hook"); pragma Inline (adjuster_set_handle_hook); function new_fl_adjuster (X, Y, W, H : in Interfaces.C.int; Text : in Interfaces.C.char_array) return System.Address; pragma Import (C, new_fl_adjuster, "new_fl_adjuster"); pragma Inline (new_fl_adjuster); procedure free_fl_adjuster (A : in System.Address); pragma Import (C, free_fl_adjuster, "free_fl_adjuster"); pragma Inline (free_fl_adjuster); function fl_adjuster_is_soft (A : in System.Address) return Interfaces.C.int; pragma Import (C, fl_adjuster_is_soft, "fl_adjuster_is_soft"); pragma Inline (fl_adjuster_is_soft); procedure fl_adjuster_set_soft (A : in System.Address; T : in Interfaces.C.int); pragma Import (C, fl_adjuster_set_soft, "fl_adjuster_set_soft"); pragma Inline (fl_adjuster_set_soft); procedure fl_adjuster_draw (W : in System.Address); pragma Import (C, fl_adjuster_draw, "fl_adjuster_draw"); pragma Inline (fl_adjuster_draw); function fl_adjuster_handle (W : in System.Address; E : in Interfaces.C.int) return Interfaces.C.int; pragma Import (C, fl_adjuster_handle, "fl_adjuster_handle"); pragma Inline (fl_adjuster_handle); procedure Finalize (This : in out Adjuster) is begin if This.Void_Ptr /= System.Null_Address and then This in Adjuster'Class then free_fl_adjuster (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 Adjuster is begin return This : Adjuster do This.Void_Ptr := new_fl_adjuster (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)); adjuster_set_draw_hook (This.Void_Ptr, Draw_Hook'Address); adjuster_set_handle_hook (This.Void_Ptr, Handle_Hook'Address); end return; end Create; end Forge; function Is_Soft (This : in Adjuster) return Boolean is begin return fl_adjuster_is_soft (This.Void_Ptr) /= 0; end Is_Soft; procedure Set_Soft (This : in out Adjuster; To : in Boolean) is begin fl_adjuster_set_soft (This.Void_Ptr, Boolean'Pos (To)); end Set_Soft; procedure Draw (This : in out Adjuster) is begin fl_adjuster_draw (This.Void_Ptr); end Draw; function Handle (This : in out Adjuster; Event : in Event_Kind) return Event_Outcome is begin return Event_Outcome'Val (fl_adjuster_handle (This.Void_Ptr, Event_Kind'Pos (Event))); end Handle; end FLTK.Widgets.Valuators.Adjusters;
reznikmm/matreshka
Ada
4,761
ads
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- Open Document Toolkit -- -- -- -- Runtime Library Component -- -- -- ------------------------------------------------------------------------------ -- -- -- Copyright © 2014, Vadim Godunko <[email protected]> -- -- 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 XML.DOM.Visitors; with ODF.DOM.Text_Editing_Cycles_Elements; package Matreshka.ODF_Text.Editing_Cycles_Elements is type Text_Editing_Cycles_Element_Node is new Matreshka.ODF_Text.Abstract_Text_Element_Node and ODF.DOM.Text_Editing_Cycles_Elements.ODF_Text_Editing_Cycles with null record; overriding function Create (Parameters : not null access Matreshka.DOM_Elements.Element_L2_Parameters) return Text_Editing_Cycles_Element_Node; overriding function Get_Local_Name (Self : not null access constant Text_Editing_Cycles_Element_Node) return League.Strings.Universal_String; overriding procedure Enter_Node (Self : not null access Text_Editing_Cycles_Element_Node; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Leave_Node (Self : not null access Text_Editing_Cycles_Element_Node; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Node (Self : not null access Text_Editing_Cycles_Element_Node; Iterator : in out XML.DOM.Visitors.Abstract_Iterator'Class; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Control : in out XML.DOM.Visitors.Traverse_Control); end Matreshka.ODF_Text.Editing_Cycles_Elements;
reznikmm/matreshka
Ada
3,709
ads
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- Open Document Toolkit -- -- -- -- Runtime Library Component -- -- -- ------------------------------------------------------------------------------ -- -- -- Copyright © 2014, Vadim Godunko <[email protected]> -- -- 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 XML.DOM.Attributes; package ODF.DOM.Xhtml_Property_Attributes is pragma Preelaborate; type ODF_Xhtml_Property_Attribute is limited interface and XML.DOM.Attributes.DOM_Attribute; type ODF_Xhtml_Property_Attribute_Access is access all ODF_Xhtml_Property_Attribute'Class with Storage_Size => 0; end ODF.DOM.Xhtml_Property_Attributes;
zhmu/ananas
Ada
321,216
ads
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- E I N F O -- -- -- -- S p e c -- -- -- -- Copyright (C) 1992-2022, 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 Warnings (Off); -- with/use clauses for children with Namet; use Namet; with Snames; use Snames; with Stand; use Stand; with Types; use Types; with Uintp; use Uintp; with Urealp; use Urealp; pragma Warnings (On); package Einfo is -- This package documents the annotations to the abstract syntax tree that are -- needed to support semantic processing of an Ada compilation. -- See the spec of Gen_IL.Gen for instructions on making changes to this file. -- Note that the official definition of what entities have what fields is in -- Gen_IL.Gen.Gen_Entities; if there is a discrepancy between that and the -- comments here, Gen_IL.Gen.Gen_Entities wins. -- These annotations are for the most part attributes of declared entities, -- and they correspond to conventional symbol table information. Other -- attributes include sets of meanings for overloaded names, possible -- types for overloaded expressions, flags to indicate deferred constants, -- incomplete types, etc. These attributes are stored in fields in -- tree nodes. -- There are two kinds of semantic information -- First, the tree nodes with the following Nkind values: -- N_Defining_Identifier -- N_Defining_Character_Literal -- N_Defining_Operator_Symbol -- are called Entities, and constitute the information that would often -- be stored separately in a symbol table. These nodes are all extended -- to provide extra space, and contain fields which depend on the entity -- kind, as defined by the contents of the Ekind field. The use of the -- Ekind field, and the associated fields in the entity, are defined -- in this package, as are the access functions to these fields. -- Second, in some cases semantic information is stored directly in other -- kinds of nodes, e.g. the Etype field, used to indicate the type of an -- expression. These fields are defined in the Sinfo package, but their -- full documentation is in the Einfo package specification. -- Declaration processing places information in the nodes of their defining -- identifiers. Name resolution places in all other occurrences of an -- identifier a pointer to the corresponding defining occurrence. ---------------------------------- -- Handling of Type'Size Values -- ---------------------------------- -- The Ada 95 RM contains some rather peculiar (to us) rules on the value -- of type'Size (see RM 13.3(55)). We have found that attempting to use -- these RM Size values generally, and in particular for determining the -- default size of objects, creates chaos, and major incompatibilities in -- existing code. -- The Ada 2022 RM acknowledges it and adopts GNAT's Object_Size attribute -- for determining the default size of objects, but stops short of applying -- it universally like GNAT. Indeed the notable exceptions are nonaliased -- stand-alone objects, which are not covered by Object_Size in Ada 2022. -- We proceed as follows, for discrete and fixed-point subtypes, we have -- two separate sizes for each subtype: -- The Object_Size, which is used for determining the default size of -- objects and components. This size value can be referred to using the -- Object_Size attribute. The phrase "is used" here means that it is -- the basis of the determination of the size. The back end is free to -- pad this up if necessary for efficiency, e.g. an 8-bit stand-alone -- character might be stored in 32 bits on a machine with no efficient -- byte access instructions such as the Alpha. -- The default rules for the value of Object_Size are as follows: -- The Object_Size for base subtypes reflect the natural hardware -- size in bits (see Ttypes and Cstand for integer types). For -- enumeration and fixed-point base subtypes have 8, 16, 32, or 64 -- bits for this size, depending on the range of values to be stored. -- The Object_Size of a subtype is the same as the Object_Size of -- the subtype from which it is obtained. -- The Object_Size of a derived base type is copied from the parent -- base type, and the Object_Size of a derived first subtype is copied -- from the parent first subtype. -- The Ada 2022 RM defined attribute Object_Size uses this implementation. -- The Value_Size, which is the number of bits required to store a value -- of the type. This size can be referred to using the Value_Size -- attribute. This value is used for determining how tightly to pack -- records or arrays with components of this type, and also affects -- the semantics of unchecked conversion (unchecked conversions where -- the Value_Size values differ generate a warning, and are potentially -- target dependent). -- The default rules for the value of Value_Size are as follows: -- The Value_Size for a base subtype is the minimum number of bits -- required to store all values of the type (including the sign bit -- only if negative values are possible). -- If a subtype statically matches the first subtype, then it has -- by default the same Value_Size as the first subtype. This is a -- consequence of RM 13.1(14) ("if two subtypes statically match, -- then their subtype-specific aspects are the same".) -- All other subtypes have a Value_Size corresponding to the minimum -- number of bits required to store all values of the subtype. For -- dynamic bounds, it is assumed that the value can range down or up -- to the corresponding bound of the ancestor. -- The Ada 95 RM defined attribute Size is identified with Value_Size. -- The Size attribute may be defined for a first-named subtype. This sets -- the Value_Size of the first-named subtype to the given value, and the -- Object_Size of this first-named subtype to the given value padded up -- to an appropriate boundary. It is a consequence of the default rules -- above that this Object_Size will apply to all further subtypes. On the -- other hand, Value_Size is affected only for the first subtype, any -- dynamic subtypes obtained from it directly, and any statically matching -- subtypes. The Value_Size of any other static subtypes is not affected. -- Value_Size and Object_Size may be explicitly set for any subtype using -- an attribute definition clause. Note that the use of such a clause can -- cause the RM 13.1(14) rule to be violated, in Ada 95 and 2022 for the -- Value_Size attribute, but only in Ada 95 for the Object_Size attribute. -- If access types reference aliased objects whose subtypes have differing -- Object_Size values as a result of explicit attribute definition clauses, -- then it is erroneous to convert from one access subtype to the other. -- At the implementation level, the Esize field stores the Object_Size -- and the RM_Size field stores the Value_Size (hence the value of the -- Size attribute, which, as noted above, is equivalent to Value_Size). -- To get a feel for the difference, consider the following examples (note -- that in each case the base is short_short_integer with a size of 8): -- Object_Size Value_Size -- type x1 is range 0..5; 8 3 -- type x2 is range 0..5; -- for x2'size use 12; 16 12 -- subtype x3 is x2 range 0 .. 3; 16 2 -- subtype x4 is x2'base range 0 .. 10; 8 4 -- dynamic : x2'Base range -64 .. +63; -- subtype x5 is x2 range 0 .. dynamic; 16 3* -- subtype x6 is x2'base range 0 .. dynamic; 8 7* -- Note: the entries marked * are not actually specified by the Ada 95 RM, -- but it seems in the spirit of the RM rules to allocate the minimum number -- of bits known to be large enough to hold the given range of values. -- So far, so good, but GNAT has to obey the RM rules, so the question is -- under what conditions must the RM Size be used. The following is a list -- of the occasions on which the RM Size must be used: -- Component size for packed arrays or records -- Value of the attribute Size for a type -- Warning about sizes not matching for unchecked conversion -- The RM_Size field keeps track of the RM Size as needed in these -- three situations. -- For elementary types other than discrete and fixed-point types, the -- Object_Size and Value_Size are the same (and equivalent to the RM -- attribute Size). Only Size may be specified for such types. -- For composite types, Object_Size and Value_Size are computed from their -- respective value for the type of each element as well as the layout. -- All size attributes are stored as Uint values. Negative values are used to -- reference GCC expressions for the case of non-static sizes, as explained -- in Repinfo. -------------------------------------- -- Delayed Freezing and Elaboration -- -------------------------------------- -- The flag Has_Delayed_Freeze indicates that an entity carries an explicit -- freeze node, which appears later in the expanded tree. -- a) The flag is used by the front end to trigger expansion activities which -- include the generation of that freeze node. Typically this happens at the -- end of the current compilation unit, or before the first subprogram body is -- encountered in the current unit. See units Freeze and Exp_Ch13 for details -- on the actions triggered by a freeze node, which include the construction -- of initialization procedures and dispatch tables. -- b) The presence of a freeze node on an entity is used by the back end to -- defer elaboration of the entity until its freeze node is seen. In the -- absence of an explicit freeze node, an entity is frozen (and elaborated) -- at the point of declaration. -- For object declarations, the flag is set when an address clause for the -- object is encountered. Legality checks on the address expression only take -- place at the freeze point of the object. In Ada 2012, the flag is also set -- when an address aspect for the object is encountered. -- Most types have an explicit freeze node, because they cannot be elaborated -- until all representation and operational items that apply to them have been -- analyzed. Private types and incomplete types have the flag set as well, as -- do task and protected types. -- Implicit base types created for type derivations, as well as class-wide -- types created for all tagged types, have the flag set. -- If a subprogram has an access parameter whose designated type is incomplete -- the subprogram has the flag set. ----------------------- -- Entity Attributes -- ----------------------- -- This section contains a complete list of the attributes that are defined -- on entities. Some attributes apply to all entities, others only to certain -- kinds of entities. In the latter case the attribute should only be set or -- accessed if the Ekind field indicates an appropriate entity. -- There are two kinds of attributes that apply to entities, stored and -- synthesized. Stored attributes correspond to a field or flag in the entity -- itself. Such attributes are identified in the table below by giving the -- field or flag in the attribute that is used to hold the attribute value. -- Synthesized attributes are not stored directly, but are rather computed as -- needed from other attributes, or from information in the tree. These are -- marked "synthesized" in the table below. The stored attributes have both -- access functions and set procedures to set the corresponding values, while -- synthesized attributes have only access functions. -- Note: in the case of Node, Uint, or Elist fields, there are cases where the -- same physical field is used for different purposes in different entities, -- so these access functions should only be referenced for the class of -- entities in which they are defined as being present. Flags are not -- overlapped in this way, but nevertheless as a matter of style and -- abstraction (which may or may not be checked by assertions in the -- body), this restriction should be observed for flag fields as well. -- Note: certain of the attributes on types apply only to base types, and -- are so noted by the notation [base type only]. These are cases where the -- attribute of any subtype is the same as the attribute of the base type. -- The attribute can be referenced on a subtype (and automatically retrieves -- the value from the base type). However, it is an error to try to set the -- attribute on other than the base type, and if assertions are enabled, -- an attempt to set the attribute on a subtype will raise an assert error. -- Other attributes are noted as applying to the [implementation base type -- only]. These are representation attributes which must always apply to a -- full non-private type, and where the attributes are always on the full -- type. The attribute can be referenced on a subtype (and automatically -- retrieves the value from the implementation base type). However, it is an -- error to try to set the attribute on other than the implementation base -- type. -- Other attributes are noted as applying to the [root type only]. The -- attribute can be referenced on a subtype (and automatically retrieves the -- value from the root type). However, it is an error to try to set the -- attribute on other than the root type. -- The definitive definition of what is [... type only] is in Gen_Entities. -- See calls to Sm passing Base_Type_Only, Impl_Base_Type_Only, or -- Root_Type_Only. -- Abstract_States -- Defined for E_Package entities. Contains a list of all the abstract -- states declared by the related package. -- Accept_Address -- Defined in entries. If an accept has a statement sequence, then an -- address variable is created, which is used to hold the address of the -- parameters, as passed by the runtime. Accept_Address holds an element -- list which represents a stack of entities for these address variables. -- The current entry is the top of the stack, which is the last element -- on the list. A stack is required to handle the case of nested select -- statements referencing the same entry. -- Access_Disp_Table [implementation base type only] -- Defined in E_Record_Type and E_Record_Subtype entities. Set in tagged -- types to point to their dispatch tables. The first two entities are -- associated with the primary dispatch table: 1) primary dispatch table -- with user-defined primitives 2) primary dispatch table with predefined -- primitives. For each interface type covered by the tagged type we also -- have: 3) secondary dispatch table with thunks of primitives covering -- user-defined interface primitives, 4) secondary dispatch table with -- thunks of predefined primitives, 5) secondary dispatch table with user -- defined primitives, and 6) secondary dispatch table with predefined -- primitives. The last entity of this list is an access type declaration -- used to expand dispatching calls through the primary dispatch table. -- For an untagged record, contains No_Elist. -- Access_Disp_Table_Elab_Flag [implementation base type only] -- Defined in E_Record_Type and E_Record_Subtype entities. Set in tagged -- types whose dispatch table elaboration must be completed at run time -- by the IP routine to point to its pending elaboration flag entity. -- This flag is needed when the elaboration of the dispatch table relies -- on attribute 'Position applied to an object of the type; it is used by -- the IP routine to avoid performing this elaboration twice. -- Access_Subprogram_Wrapper -- Entity created for access_to_subprogram types that have pre/post -- conditions. Wrapper subprogram is created when analyzing corresponding -- aspect, and inherits said aspects. Body of subprogram includes code -- to check contracts, and a direct call to the designated subprogram. -- The body is part of the freeze actions for the type. -- The Subprogram_Type created for the Access_To_Subprogram carries the -- Access_Subprogram_Wrapper for use in the expansion of indirect calls. -- Activation_Record_Component -- Defined for E_Variable, E_Constant, E_Loop_Parameter, and formal -- parameter entities. Used in Opt.Unnest_Subprogram_Mode, in which case -- a reference to an uplevel entity produces a corresponding component -- in the generated ARECnT activation record (Exp_Unst for details). -- Actual_Subtype -- Defined in variables, constants, and formal parameters. This is the -- subtype imposed by the value of the object, as opposed to its nominal -- subtype, which is imposed by the declaration. The actual subtype -- differs from the nominal one when the latter is indefinite (as in the -- case of an unconstrained formal parameter, or a variable declared -- with an unconstrained type and an initial value). The nominal subtype -- is the Etype entry for the entity. The Actual_Subtype field is set -- only if the actual subtype differs from the nominal subtype. If the -- actual and nominal subtypes are the same, then the Actual_Subtype -- field is Empty, and Etype indicates both types. -- -- For objects, the Actual_Subtype is set only if this is a discriminated -- type. For arrays, the bounds of the expression are obtained and the -- Etype of the object is directly the constrained subtype. This is -- rather irregular, and the semantic checks that depend on the nominal -- subtype being unconstrained use flag Is_Constr_Subt_For_U_Nominal(qv). -- Address_Clause (synthesized) -- Applies to entries, objects and subprograms. Set if an address clause -- is present which references the object or subprogram and points to -- the N_Attribute_Definition_Clause node. Empty if no Address clause. -- The expression in the address clause is always a constant that is -- defined before the entity to which the address clause applies. -- Note: The backend references this field in E_Task_Type entities??? -- Address_Taken -- Defined in all entities. Set if the Address or Unrestricted_Access -- attribute is applied directly to the entity, i.e. the entity is the -- entity of the prefix of the attribute reference. Also set if the -- entity is the second argument of an Asm_Input or Asm_Output attribute, -- as the construct may entail taking its address. And also set if the -- entity is a subprogram and the Access or Unchecked_Access attribute is -- applied. Used by the backend to make sure that the address can be -- meaningfully taken, and also in the case of subprograms to control -- output of certain warnings. -- Aft_Value (synthesized) -- Applies to fixed-point types and subtypes. This yields the value of -- the Aft attribute for the type, i.e. the number of decimal digits -- needed after the decimal point to accommodate the delta of the type, -- unless the delta is greater than 0.1, in which case it is 1. -- Alias -- Defined in overloadable entities (literals, subprograms, entries) and -- subprograms that cover a primitive operation of an abstract interface -- (that is, subprograms with the Interface_Alias attribute). In case of -- overloaded entities it points to the parent subprogram of a derived -- subprogram. In case of abstract interface subprograms it points to the -- subprogram that covers the abstract interface primitive. Also used for -- a subprogram renaming, where it points to the renamed subprogram. For -- an inherited operation (of a type extension) that is overridden in a -- private part, the Alias is the overriding operation. In this fashion a -- call from outside the package ends up executing the new body even if -- non-dispatching, and a call from inside calls the overriding operation -- because it hides the implicit one. Alias is always empty for entries. -- Alignment -- Defined in entities for types and also in constants, variables -- (including exceptions where it refers to the static data allocated for -- an exception), loop parameters, and formal parameters. This indicates -- the desired alignment for a type, or the actual alignment for an -- object. A value of zero (Uint_0) indicates that the alignment has not -- been set yet. The alignment can be set by an explicit alignment -- clause, or set by the front-end in package Layout, or set by the -- back-end as part of the back-end back-annotation process. The -- alignment field is also defined in E_Exception entities, but there it -- is used only by the back-end for back annotation. -- Alignment_Clause (synthesized) -- Applies to all entities for types and objects. If an alignment -- attribute definition clause is present for the entity, then this -- function returns the N_Attribute_Definition clause that specifies the -- alignment. If no alignment clause applies to the type, then the call -- to this function returns Empty. Note that the call can return a -- non-Empty value even if Has_Alignment_Clause is not set (happens with -- subtype and derived type declarations). Note also that a record -- definition clause with an (obsolescent) mod clause is converted -- into an attribute definition clause for this purpose. -- Anonymous_Designated_Type -- Defined in variables which represent anonymous finalization masters. -- Contains the designated type which is being serviced by the master. -- Anonymous_Masters -- Defined in packages, subprograms, and subprogram bodies. Contains a -- list of anonymous finalization masters declared within the related -- unit. The list acts as a mapping between a master and a designated -- type. -- Anonymous_Object -- Present in protected and task type entities. Contains the entity of -- the anonymous object created for a single protected or task type. -- Associated_Entity -- Defined in all entities. This field is similar to Associated_Node, but -- applied to entities. The attribute links an entity from the generic -- template with its corresponding entity in the analyzed generic copy. -- The global references mechanism relies on the Associated_Entity to -- infer the context. -- Associated_Formal_Package -- Defined in packages that are the actuals of formal_packages. Points -- to the entity in the declaration for the formal package. -- Associated_Node_For_Itype -- Defined in all type and subtype entities. Set non-Empty only for -- Itypes. Set to point to the associated node for the Itype, i.e. -- the node whose elaboration generated the Itype. This is used for -- copying trees, to determine whether or not to copy an Itype, and -- also for accessibility checks on anonymous access types. This -- node is typically an object declaration, component declaration, -- type or subtype declaration. -- For an access discriminant in a type declaration, the associated_ -- node_for_itype is the corresponding discriminant specification. -- For an access parameter it is the enclosing subprogram declaration. -- For an access_to_protected_subprogram parameter it is the declaration -- of the corresponding formal parameter. -- -- Itypes have no explicit declaration, and therefore are not attached to -- the tree: their Parent field is always empty. The Associated_Node_For_ -- Itype is the only way to determine the construct that leads to the -- creation of a given itype entity. -- Associated_Storage_Pool [root type only] -- Defined in simple and general access type entities. References the -- storage pool to be used for the corresponding collection. A value of -- Empty means that the default pool is to be used. This is defined -- only in the root type, since derived types must have the same pool -- as the parent type. -- Barrier_Function -- Defined in protected entries and entry families. This is the -- subprogram declaration for the body of the function that returns -- the value of the entry barrier. -- Base_Type (synthesized) -- Applies to all type and subtype entities. Returns the base type of a -- type or subtype. The base type of a type is the type itself. The base -- type of a subtype is the type that it constrains (which is always -- a type entity, not some other subtype). Note that in the case of a -- subtype of a private type, it is possible for the base type attribute -- to return a private type, even if the subtype to which it applies is -- non-private. See also Implementation_Base_Type. Note: it is allowed to -- apply Base_Type to other than a type, in which case it simply returns -- the entity unchanged. -- Block_Node -- Defined in block entities. Points to the identifier in the -- Block_Statement itself. Used when retrieving the block construct -- for finalization purposes, the block entity has an implicit label -- declaration in the enclosing declarative part, and has otherwise -- no direct connection in the tree with the block statement. The -- link is to the identifier (which is an occurrence of the entity) -- and not to the block_statement itself, because the statement may -- be rewritten, e.g. in the process of removing dead code. -- Body_Entity -- Defined in package and generic package entities, points to the -- corresponding package body entity if one is present. -- Body_Needed_For_SAL -- Defined in package and subprogram entities that are compilation -- units. Indicates that the source for the body must be included -- when the unit is part of a standalone library. -- Body_Needed_For_Inlining -- Defined in package entities that are compilation units. Used to -- determine whether the body unit needs to be compiled when the -- package declaration appears in the list of units to inline. A body -- is needed for inline processing if the unit declaration contains -- functions that carry pragma Inline or Inline_Always, or if it -- contains a generic unit that requires a body. -- -- Body_References -- Defined in abstract state entities. Contains an element list of -- references (identifiers) that appear in a package body whose spec -- defines the related state. If the body refines the said state, all -- references on this list are illegal due to the visible refinement. -- BIP_Initialization_Call -- Defined in constants and variables whose corresponding declaration -- is wrapped in a transient block and the inital value is provided by -- a build-in-place function call. Contains the relocated build-in-place -- call after the expansion has decoupled the call from the object. This -- attribute is used by the finalization machinery to insert cleanup code -- for all additional transient objects found in the transient block. -- C_Pass_By_Copy [implementation base type only] -- Defined in record types. Set if a pragma Convention for the record -- type specifies convention C_Pass_By_Copy. This convention name is -- treated as identical in all respects to convention C, except that -- if it is specified for a record type, then the C_Pass_By_Copy flag -- is set, and if a foreign convention subprogram has a formal of the -- corresponding type, then the parameter passing mechanism will be -- set to By_Copy (unless specifically overridden by an Import or -- Export pragma). -- Can_Never_Be_Null -- This flag is defined in all entities. It is set in an object which can -- never have a null value. Set for constant access values initialized to -- a non-null value. This is also set for all access parameters in Ada 83 -- and Ada 95 modes, and for access parameters that explicitly exclude -- null in Ada 2005 mode. -- -- This is used to avoid unnecessary resetting of the Is_Known_Non_Null -- flag for such entities. In Ada 2005 mode, this is also used when -- determining subtype conformance of subprogram profiles to ensure -- that two formals have the same null-exclusion status. -- -- This is also set on some access types, e.g. the Etype of the anonymous -- access type of a controlling formal. -- Can_Use_Internal_Rep [base type only] -- Defined in Access_Subprogram_Kind nodes. This flag is set by the -- front end and used by the backend. False means that the backend -- must represent the type in the same way as Convention-C types (and -- other foreign-convention types). On many targets, this means that -- the backend will use dynamically generated trampolines for nested -- subprograms. True means that the backend can represent the type in -- some internal way. On the aforementioned targets, this means that the -- backend will not use dynamically generated trampolines. This flag -- must be False if Has_Foreign_Convention is True; otherwise, the front -- end is free to set the policy. -- -- Setting this False in all cases corresponds to the traditional back -- end strategy, where all access-to-subprogram types are represented the -- same way, independent of the Convention. For further details, see also -- Always_Compatible_Rep in Targparm. -- -- Efficiency note: On targets that use dynamically generated -- trampolines, False generally favors efficiency of top-level -- subprograms, whereas True generally favors efficiency of nested -- ones. On other targets, this flag has little or no effect on -- efficiency. The front end should take this into account. In -- particular, pragma Favor_Top_Level gives a hint that the flag -- should be False. -- -- Note: We considered using Convention-C for this purpose, but we need -- this separate flag, because Convention-C implies that in the case of -- P'[Unrestricted_]Access, P also have convention C. Sometimes we want -- to have Can_Use_Internal_Rep False for an access type, but allow P to -- have convention Ada. -- Chars -- Defined in all entities. This field contains an entry into the names -- table that has the character string of the identifier, character -- literal or operator symbol. See Namet for further details. Note that -- throughout the processing of the front end, this name is the simple -- unqualified name. However, just before the backend is called, a call -- is made to Qualify_All_Entity_Names. This causes entity names to be -- qualified using the encoding described in exp_dbug.ads, and from that -- point (including post backend steps, e.g. cross-reference generation), -- the entities will contain the encoded qualified names. -- Checks_May_Be_Suppressed -- Defined in all entities. Set if a pragma Suppress or Unsuppress -- mentions the entity specifically in the second argument. If this -- flag is set the Global_Entity_Suppress and Local_Entity_Suppress -- tables must be consulted to determine if there actually is an active -- Suppress or Unsuppress pragma that applies to the entity. -- Class_Postconditions -- Defined on subprogram entities. Set if the subprogram has class-wide -- postconditions. Denotes the (and-then) expression built by merging -- inherited class-wide postconditions with its own class-wide -- postconditions. -- Class_Preconditions -- Defined on subprogram entities. Set if the subprogram has class-wide -- preconditions. Denotes the (or-else) expression built by merging -- inherited class-wide preconditions with its own class-wide -- preconditions. -- Class_Preconditions_Subprogram -- Defined on subprogram entities. Set on subprogram helpers and also on -- the indirect-call wrapper internally built for subprograms that have -- class-wide preconditions. References the subprogram that has the -- class-wide preconditions. -- Class_Wide_Type -- Defined in all type entities. For a tagged type or subtype, returns -- the corresponding implicitly declared class-wide type. For a -- class-wide type, returns itself. Set to Empty for untagged types. -- Cloned_Subtype -- Defined in E_Record_Subtype and E_Class_Wide_Subtype entities. -- Each such entity can either have a Discriminant_Constraint, in -- which case it represents a distinct type from the base type (and -- will have a list of components and discriminants in the list headed by -- First_Entity) or else no such constraint, in which case it will be a -- copy of the base type. -- -- o Each element of the list in First_Entity is copied from the base -- type; in that case, this field is Empty. -- -- o The list in First_Entity is shared with the base type; in that -- case, this field points to that entity. -- -- A record or classwide subtype may also be a copy of some other -- subtype and share the entities in the First_Entity with that subtype. -- In that case, this field points to that subtype. -- -- For E_Class_Wide_Subtype, the presence of Equivalent_Type overrides -- this field. Note that this field ONLY appears in subtype entities, not -- in type entities, it is not defined, and it is an error to reference -- Cloned_Subtype in an E_Record_Type or E_Class_Wide_Type entity. -- Comes_From_Source -- This flag appears on all nodes, including entities, and indicates -- that the node was created by the scanner or parser from the original -- source. Thus for entities, it indicates that the entity is defined -- in the original source program. -- Component_Alignment (special field) [base type only] -- Defined in array and record entities. Contains a value of type -- Component_Alignment_Kind indicating the alignment of components. -- Set to Calign_Default normally, but can be overridden by use of -- the Component_Alignment pragma. Note: this field is currently -- stored in a non-standard way, see body for details. -- Component_Bit_Offset -- Defined in record components (E_Component, E_Discriminant). First -- bit position of given component, computed from the first bit and -- position values given in the component clause. A value of No_Uint -- means that the value is not yet known. The value can be set by the -- appearance of an explicit component clause in a record representation -- clause, or it can be set by the front-end in package Layout, or it can -- be set by the backend. By the time backend processing is completed, -- this field is always set. A negative value is used to represent -- a value which is not known at compile time, and must be computed -- at run-time (this happens if fields of a record have variable -- lengths). See package Repinfo for details of these values. -- -- Note: Component_Bit_Offset is redundant with respect to the fields -- Normalized_First_Bit and Normalized_Position, and could in principle -- be eliminated, but it is convenient in several situations, including -- use in the backend, to have this redundant field. -- Component_Clause -- Defined in record components and discriminants. If a record -- representation clause is present for the corresponding record type a -- that specifies a position for the component, then the Component_Clause -- field of the E_Component entity points to the N_Component_Clause node. -- Set to Empty if no record representation clause was present, or if -- there was no specification for this component. -- Component_Size [implementation base type only] -- Defined in array types. It contains the component size value for -- the array. A value of No_Uint means that the value is not yet set. -- The value can be set by the use of a component size clause, or -- by the front end in package Layout, or by the backend. A negative -- value is used to represent a value which is not known at compile -- time, and must be computed at run-time (this happens if the type -- of the component has a variable length size). See package Repinfo -- for details of these values. Component_Size can also be negative in -- an illegal program that says e.g. "for T'Component_Size use -8;". -- Component_Type [implementation base type only] -- Defined in array types and string types. References component type. -- Contains_Ignored_Ghost_Code -- Defined in blocks, packages and their bodies, subprograms and their -- bodies. Set if the entity contains any ignored Ghost code in the form -- of declaration, procedure call, assignment statement or pragma. -- Contract -- Defined in constant, entry, entry family, operator, [generic] package, -- package body, protected unit, [generic] subprogram, subprogram body, -- variable, task unit, and type entities. Points to the contract of the -- entity, holding various assertion items and data classifiers. -- Contract_Wrapper -- Defined in entry and entry family entities. Set only when the entry -- [family] has contract cases, preconditions, and/or postconditions. -- Contains the entity of a wrapper procedure which encapsulates the -- original entry and implements precondition/postcondition semantics. -- Corresponding_Concurrent_Type -- Defined in record types that are constructed by the expander to -- represent task and protected types (Is_Concurrent_Record_Type flag -- set). Points to the entity for the corresponding task type or the -- protected type. -- Corresponding_Discriminant -- Defined in discriminants of a derived type, when the discriminant is -- used to constrain a discriminant of the parent type. Points to the -- corresponding discriminant in the parent type. Otherwise it is Empty. -- Corresponding_Equality -- Defined in function entities for implicit inequality operators. -- Denotes the explicit or derived equality operation that creates -- the implicit inequality. Note that this field is not present in -- other function entities, only in implicit inequality routines, -- where Comes_From_Source is always False. -- Corresponding_Function -- Defined on procedures internally built with an extra out parameter -- to return a constrained array type, when Modify_Tree_For_C is set. -- Denotes the function that returns the constrained array type for -- which this procedure was built. -- Corresponding_Procedure -- Defined on functions that return a constrained array type, when -- Modify_Tree_For_C is set. Denotes the internally built procedure -- with an extra out parameter created for it. -- Corresponding_Record_Component -- Defined in components of a derived untagged record type, including -- discriminants. For a regular component or a stored discriminant, -- points to the corresponding component in the parent type. Set to -- Empty for a non-stored discriminant. It is used by the back end to -- ensure the layout of the derived type matches that of the parent -- type when there is no representation clause on the derived type. -- Corresponding_Record_Type -- Defined in protected and task types and subtypes. References the -- entity for the corresponding record type constructed by the expander -- (see Exp_Ch9). This type is used to represent values of the task type. -- Corresponding_Remote_Type -- Defined in record types that describe the fat pointer structure for -- Remote_Access_To_Subprogram types. References the original access -- to subprogram type. -- CR_Discriminant -- Defined in discriminants of concurrent types. Denotes the homologous -- discriminant of the corresponding record type. The CR_Discriminant is -- created at the same time as the discriminal, and used to replace -- occurrences of the discriminant within the type declaration. -- Current_Use_Clause -- Defined in packages and in types. For packages, denotes the use -- package clause currently in scope that makes the package use_visible. -- For types, it denotes the use_type clause that makes the operators of -- the type visible. Used for more precise warning messages on redundant -- use clauses. -- Current_Value -- Defined in all object entities. Set in E_Variable, E_Constant, formal -- parameters and E_Loop_Parameter entities if we have trackable current -- values. Set non-Empty if the (constant) current value of the variable -- is known. This value is valid only for references from the same -- sequential scope as the entity. The sequential scope of an entity -- includes the immediate scope and any contained scopes that are package -- specs, package bodies, blocks (at any nesting level) or statement -- sequences in IF or loop statements. -- -- Another related use of this field is to record information about the -- value obtained from an IF or WHILE statement condition. If the IF or -- ELSIF or WHILE condition has the form "NOT {,NOT] OBJ RELOP VAL ", -- or OBJ [AND [THEN]] expr, where OBJ refers to an entity with a -- Current_Value field, RELOP is one of the six relational operators, and -- VAL is a compile-time known value then the Current_Value field of OBJ -- points to the N_If_Statement, N_Elsif_Part, or N_Iteration_Scheme node -- of the relevant construct, and the Condition field of this can be -- consulted to give information about the value of OBJ. For more details -- on this usage, see the procedure Exp_Util.Get_Current_Value_Condition. -- Debug_Info_Off -- Defined in all entities. Set if a pragma Suppress_Debug_Info applies -- to the entity, or if internal processing in the compiler determines -- that suppression of debug information is desirable. Note that this -- flag is only for use by the front end as part of the processing for -- determining if Needs_Debug_Info should be set. The backend should -- always test Needs_Debug_Info, it should never test Debug_Info_Off. -- Debug_Renaming_Link -- Used to link the variable associated with a debug renaming declaration -- to the renamed entity. See Exp_Dbug.Debug_Renaming_Declaration for -- details of the use of this field. -- Declaration_Node (synthesized) -- Applies to all entities. Returns the tree node for the construct that -- declared the entity. Normally this is just the Parent of the entity. -- One exception arises with child units, where the parent of the entity -- is a selected component/defining program unit name. Another exception -- is that if the entity is an incomplete type that has been completed or -- a private type, then we obtain the declaration node denoted by the -- full type, i.e. the full type declaration node. Also note that for -- subprograms, this returns the {function,procedure}_specification, not -- the subprogram_declaration. If the parent of an Itype is a type or -- subtype declaration, we return the declaration node as for any other -- type. For other Itypes, we return Empty. -- Default_Aspect_Component_Value [base type only] -- Defined in array types. Holds the static value specified in a -- Default_Component_Value aspect specification for the array type, -- or inherited on derivation. -- Default_Aspect_Value [base type only] -- Defined in scalar types. Holds the static value specified in a -- Default_Value aspect specification for the type, or inherited -- on derivation. -- Default_Expr_Function -- Defined in parameters. It holds the entity of the parameterless -- function that is built to evaluate the default expression if it is -- more complex than a simple identifier or literal. For the latter -- simple cases or if there is no default value, this field is Empty. -- Default_Expressions_Processed -- A flag in subprograms (functions, operators, procedures) and in -- entries and entry families used to indicate that default expressions -- have been processed and to avoid multiple calls to process the -- default expressions (see Freeze.Process_Default_Expressions), which -- would not only waste time, but also generate false error messages. -- Default_Value -- Defined in formal parameters. Points to the node representing the -- expression for the default value for the parameter. Empty if the -- parameter has no default value (which is always the case for OUT -- and IN OUT parameters in the absence of errors). -- Delay_Cleanups -- Defined in entities that have finalization lists (subprograms -- blocks, and tasks). Set if there are pending generic body -- instantiations for the corresponding entity. If this flag is -- set, then generation of cleanup actions for the corresponding -- entity must be delayed, since the insertion of the generic body -- may affect cleanup generation (see Inline for further details). -- Delay_Subprogram_Descriptors -- Defined in entities for which exception subprogram descriptors -- are generated (subprograms, package declarations and package -- bodies). Defined if there are pending generic body instantiations -- for the corresponding entity. If this flag is set, then generation -- of the subprogram descriptor for the corresponding enities must -- be delayed, since the insertion of the generic body may add entries -- to the list of handlers. -- -- Note: for subprograms, Delay_Subprogram_Descriptors is set if and -- only if Delay_Cleanups is set. But Delay_Cleanups can be set for a -- a block (in which case Delay_Subprogram_Descriptors is set for the -- containing subprogram). In addition Delay_Subprogram_Descriptors is -- set for a library level package declaration or body which contains -- delayed instantiations (in this case the descriptor refers to the -- enclosing elaboration procedure). -- Delta_Value -- Defined in fixed and decimal types. Points to a universal real -- that holds value of delta for the type, as given in the declaration -- or as inherited by a subtype or derived type. -- Dependent_Instances -- Defined in packages that are instances. Holds list of instances -- of inner generics. Used to place freeze nodes for those instances -- after that of the current one, i.e. after the corresponding generic -- bodies. -- Depends_On_Private -- Defined in all type entities. Set if the type is private or if it -- depends on a private type. -- Derived_Type_Link -- Defined in all type and subtype entities. Set in a base type if -- a derived type declaration is encountered which derives from -- this base type or one of its subtypes, and there are already -- primitive operations declared. In this case, it references the -- entity for the type declared by the derived type declaration. -- For example: -- -- type R is ... -- subtype RS is R ... -- ... -- type G is new RS ... -- -- In this case, if primitive operations have been declared for R, at -- the point of declaration of G, then the Derived_Type_Link of R is set -- to point to the entity for G. This is used to generate warnings and -- errors for rep clauses that appear later on for R, which might result -- in an unexpected (or illegal) implicit conversion operation. -- -- Note: if there is more than one such derived type, the link will point -- to the last one. -- Designated_Type (synthesized) -- Applies to access types. Returns the designated type. Differs from -- Directly_Designated_Type in that if the access type refers to an -- incomplete type, and the full type is available, then this full type -- is returned instead of the incomplete type. -- DIC_Procedure (synthesized) -- Defined in all type entities. Set for a private type and its full view -- when the type is subject to pragma Default_Initial_Condition (DIC), or -- when the type inherits a DIC pragma from a parent type. Points to the -- entity of a procedure which takes a single argument of the given type -- and verifies the assertion expression of the DIC pragma at run time. -- Note: the reason this is marked as a synthesized attribute is that the -- way this is stored is as an element of the Subprograms_For_Type field. -- Digits_Value -- Defined in floating point types and subtypes and decimal types and -- subtypes. Contains the Digits value specified in the declaration. -- Direct_Primitive_Operations -- Defined in tagged types and subtypes (including synchronized types), -- in tagged private types, and in tagged incomplete types. Moreover, it -- is also defined for untagged types, both when Extensions_Allowed is -- True (-gnatX) to support the extension feature of prefixed calls for -- untagged types, and when Extensions_Allowed is False to get better -- error messages. This field is an element list of entities for -- primitive operations of the type. For incomplete types the list is -- always empty. In order to follow the C++ ABI, entities of primitives -- that come from source must be stored in this list in the order of -- their occurrence in the sources. When expansion is disabled, the -- corresponding record type of a synchronized type is not constructed. -- In that case, such types carry this attribute directly. -- Directly_Designated_Type -- Defined in access types. This field points to the type that is -- directly designated by the access type. In the case of an access -- type to an incomplete type, this field references the incomplete -- type. Directly_Designated_Type is typically used in implementing the -- static semantics of the language; in implementing dynamic semantics, -- we typically want the full view of the designated type. The function -- Designated_Type obtains this full type in the case of access to an -- incomplete type. -- Disable_Controlled [base type only] -- Present in all entities. Set for a controlled type subject to aspect -- Disable_Controlled which evaluates to True. This flag is taken into -- account in synthesized attribute Is_Controlled. -- Discard_Names -- Defined in types and exception entities. Set if pragma Discard_Names -- applies to the entity. It is also set for declarative regions and -- package specs for which a Discard_Names pragma with zero arguments -- has been encountered. The purpose of setting this flag is to be able -- to set the Discard_Names attribute on enumeration types declared -- after the pragma within the same declarative region. This flag is -- set to False if a Keep_Names pragma appears for an enumeration type. -- Discriminal -- Defined in discriminants (Discriminant formal: GNAT's first -- coinage). The entity used as a formal parameter that corresponds -- to a discriminant. See section "Handling of Discriminants" for -- full details of the use of discriminals. -- Discriminal_Link -- Defined in E_In_Parameter or E_Constant entities. For discriminals, -- points back to corresponding discriminant. For other entities, must -- remain Empty. -- Discriminant_Checking_Func -- Defined in components. Points to the defining identifier of the -- function built by the expander returns a Boolean indicating whether -- the given record component exists for the current discriminant -- values. -- Discriminant_Constraint -- Defined in entities whose Has_Discriminants flag is set (concurrent -- types, subtypes, record types and subtypes, private types and -- subtypes, limited private types and subtypes and incomplete types). -- It is an error to reference the Discriminant_Constraint field if -- Has_Discriminants is False. -- -- If the Is_Constrained flag is set, Discriminant_Constraint points -- to an element list containing the discriminant constraints in the -- same order in which the discriminants are declared. -- -- If the Is_Constrained flag is not set but the discriminants of the -- unconstrained type have default initial values then this field -- points to an element list giving these default initial values in -- the same order in which the discriminants are declared. Note that -- in this case the entity cannot be a tagged record type, because -- discriminants in this case cannot have defaults. -- -- If the entity is a tagged record implicit type, then this field is -- inherited from the first subtype (so that the itype is subtype -- conformant with its first subtype, which is needed when the first -- subtype overrides primitive operations inherited by the implicit -- base type). -- -- In all other cases Discriminant_Constraint contains the empty -- Elist (i.e. it is initialized with a call to New_Elmt_List). -- Discriminant_Default_Value -- Defined in discriminants. Points to the node representing the -- expression for the default value of the discriminant. Set to -- Empty if the discriminant has no default value. -- Discriminant_Number -- Defined in discriminants. Gives the ranking of a discriminant in -- the list of discriminants of the type, i.e. a sequential integer -- index starting at 1 and ranging up to number of discriminants. -- Dispatch_Table_Wrappers [implementation base type only] -- Defined in E_Record_Type and E_Record_Subtype entities. Set in library -- level tagged type entities if we are generating statically allocated -- dispatch tables. Points to the list of dispatch table wrappers -- associated with the tagged type. For an untagged record, contains -- No_Elist. -- Dynamic_Call_Helper -- Defined on subprogram entities. Set if the subprogram has class-wide -- preconditions. Denotes the helper that evaluates at run time the -- class-wide preconditions performing dispatching calls. -- DTC_Entity -- Defined in function and procedure entities. Set to Empty unless -- the subprogram is dispatching in which case it references the -- Dispatch Table pointer Component. For regular Ada tagged this, this -- is the _Tag component. For CPP_Class types and their descendants, -- this points to the component entity in the record that holds the -- Vtable pointer for the Vtable containing the entry referencing the -- subprogram. -- DT_Entry_Count -- Defined in E_Component entities. Only used for component marked -- Is_Tag. Store the number of entries in the Vtable (or Dispatch Table) -- DT_Offset_To_Top_Func -- Defined in E_Component entities. Only used for component marked -- Is_Tag. If present it stores the Offset_To_Top function used to -- provide this value in tagged types whose ancestor has discriminants. -- DT_Position -- Defined in function and procedure entities which are dispatching -- (should not be referenced without first checking that flag -- Is_Dispatching_Operation is True). Contains the offset into -- the Vtable for the entry that references the subprogram. -- Ekind (Ekind) -- Defined in all entities. Contains a value of the enumeration type -- Entity_Kind declared in a subsequent section in this spec. -- Elaborate_Body_Desirable -- Defined in package entities. Set if the elaboration circuitry detects -- a case where there is a package body that modifies one or more visible -- entities in the package spec and there is no explicit Elaborate_Body -- pragma for the package. This information is passed on to the binder, -- which attempts, but does not promise, to elaborate the body as close -- to the spec as possible. -- Elaboration_Entity -- Defined in entry, entry family, [generic] package, and subprogram -- entities. This is a counter associated with the unit that is initially -- set to zero, is incremented when an elaboration request for the unit -- is made, and is decremented when a finalization request for the unit -- is made. This is used for three purposes. First, it is used to -- implement access before elaboration checks (the counter must be -- non-zero to call a subprogram at elaboration time). Second, it is -- used to guard against repeated execution of the elaboration code. -- Third, it is used to ensure that the finalization code is executed -- only after all clients have requested it. -- -- Note that we always allocate this counter, and set this field, but -- we do not always actually use it. It is only used if it is needed -- for access before elaboration use (see Elaboration_Entity_Required -- flag) or if either the spec or the body has elaboration code. If -- neither of these two conditions holds, then the entity is still -- allocated (since we don't know early enough whether or not there -- is elaboration code), but is simply not used for any purpose. -- Elaboration_Entity_Required -- Defined in entry, entry family, [generic] package, and subprogram -- entities. Set only if Elaboration_Entity is non-Empty to indicate that -- the counter is required to be non-zero even if there is no other -- elaboration code. This occurs when the Elaboration_Entity counter -- is used for access before elaboration checks. If the counter is -- only used to prevent multiple execution of the elaboration code, -- then if there is no other elaboration code, obviously there is no -- need to set the flag. -- Encapsulating_State -- Defined in abstract state, constant and variable entities. Contains -- the entity of an ancestor state or a single concurrent type whose -- refinement utilizes this item as a constituent. -- Enclosing_Scope -- Defined in labels. Denotes the innermost enclosing construct that -- contains the label. Identical to the scope of the label, except for -- labels declared in the body of an accept statement, in which case the -- entry_name is the Enclosing_Scope. Used to validate goto's within -- accept statements. -- Entry_Accepted -- Defined in E_Entry and E_Entry_Family entities. Set if there is -- at least one accept for this entry in the task body. Used to -- generate warnings for missing accepts. -- Entry_Bodies_Array -- Defined in protected types for which Has_Entries is true. -- This is the defining identifier for the array of entry body -- action procedures and barrier functions used by the runtime to -- execute the user code associated with each entry. -- Entry_Cancel_Parameter -- Defined in blocks. This only applies to a block statement for -- which the Is_Asynchronous_Call_Block flag is set. It -- contains the defining identifier of an object that must be -- passed to the Cancel_Task_Entry_Call or Cancel_Protected_Entry_Call -- call in the cleanup handler added to the block by -- Exp_Ch7.Expand_Cleanup_Actions. This parameter is a Boolean -- object for task entry calls and a Communications_Block object -- in the case of protected entry calls. In both cases the objects -- are declared in outer scopes to this block. -- Entry_Component -- Defined in formal parameters (in, in out and out parameters). Used -- only for formals of entries. References the corresponding component -- of the entry parameter record for the entry. -- Entry_Formal -- Defined in components of the record built to correspond to entry -- parameters. This field points from the component to the formal. It -- is the back pointer corresponding to Entry_Component. -- Entry_Index_Constant -- Defined in an entry index parameter. This is an identifier that -- eventually becomes the name of a constant representing the index -- of the entry family member whose entry body is being executed. Used -- to expand references to the entry index specification identifier. -- Entry_Index_Type (synthesized) -- Applies to an entry family. Denotes Etype of the subtype indication -- in the entry declaration. Used to resolve the index expression in an -- accept statement for a member of the family, and in the prefix of -- 'COUNT when it applies to a family member. -- Entry_Max_Queue_Lengths_Array -- Defined in protected types for which Has_Entries is true. Contains the -- defining identifier for the array of naturals used by the runtime to -- limit the queue size of each entry individually. -- Entry_Parameters_Type -- Defined in entries. Points to the access-to-record type that is -- constructed by the expander to hold a reference to the parameter -- values. This reference is manipulated (as an address) by the -- tasking runtime. The designated record represents a packaging -- up of the entry parameters (see Exp_Ch9.Expand_N_Entry_Declaration -- for further details). Entry_Parameters_Type is Empty if the entry -- has no parameters. -- Enumeration_Pos -- Defined in enumeration literals. Contains the position number -- corresponding to the value of the enumeration literal. -- Enumeration_Rep -- Defined in enumeration literals. Contains the representation that -- corresponds to the value of the enumeration literal. Note that -- this is normally the same as Enumeration_Pos except in the presence -- of representation clauses, where Pos will still represent the -- position of the literal within the type and Rep will have be the -- value given in the representation clause. -- Enumeration_Rep_Expr -- Defined in enumeration literals. Points to the expression in an -- associated enumeration rep clause that provides the representation -- value for this literal. Empty if no enumeration rep clause for this -- literal (or if rep clause does not have an entry for this literal, -- an error situation). This is also used to catch duplicate entries -- for the same literal. -- Enum_Pos_To_Rep -- Defined in enumeration types, but not enumeration subtypes. Set to -- Empty unless the enumeration type has a non-standard representation, -- i.e. at least one literal has a representation value different from -- its position value. In this case, the alternative is the following: -- if the representation is not contiguous, then Enum_Pos_To_Rep is the -- entity for an array constant built when the type is frozen that maps -- Pos values to corresponding Rep values, whose index type is Natural -- and whose component type is the enumeration type itself; or else, if -- the representation is contiguous, then Enum_Pos_To_Rep is the entity -- of the index type defined above. -- Equivalent_Type -- Defined in class wide types and subtypes, access to protected -- subprogram types, and in exception types. For a classwide type, it -- is always Empty. For a class wide subtype, it points to an entity -- created by the expander which gives the backend an understandable -- equivalent of the class subtype with a known size (given by an -- initial value). See Exp_Util.Expand_Class_Wide_Subtype for further -- details. For E_Exception_Type, this points to the record containing -- the data necessary to represent exceptions (for further details, see -- System.Standard_Library). For access to protected subprograms, it -- denotes a record that holds pointers to the operation and to the -- protected object. For remote Access_To_Subprogram types, it denotes -- the record that is the fat pointer representation of an RAST. -- Esize -- Defined in all types and subtypes, and also for components, constants, -- and variables, including exceptions where it refers to the static data -- allocated for an exception. Contains the Object_Size of the type or of -- the object. A value of zero indicates that the value is not yet known. -- -- For the case of components where a component clause is present, the -- value is the value from the component clause, which must be non- -- negative (but may be zero, which is acceptable for the case of -- a type with only one possible value). It is also possible for Esize -- of a component to be set without a component clause defined, which -- means that the component size is specified, but not the position. -- See also RM_Size and the section on "Handling of Type'Size Values". -- During backend processing, the value is back annotated for all zero -- values, so that after the call to the backend, the value is set. -- Etype -- Defined in all entities. Represents the type of the entity, which -- is itself another entity. For a type entity, points to the parent -- type for a derived type, or if the type is not derived, points to -- itself. For a subtype entity, Etype points to the base type. For -- a class wide type, points to the corresponding specific type. For a -- subprogram or subprogram type, Etype has the return type of a function -- or is set to Standard_Void_Type to represent a procedure. The Etype -- field of a package is also set to Standard_Void_Type. -- -- Note one obscure case: for pragma Default_Storage_Pool (null), the -- Etype of the N_Null node is Empty. -- Extra_Accessibility -- Defined in formal parameters in the non-generic case. Normally Empty, -- but if expansion is active, and a parameter is one for which a -- dynamic accessibility check is required, then an extra formal of type -- Natural is created (see description of field Extra_Formal), and the -- Extra_Accessibility field of the formal parameter points to the entity -- for this extra formal. Also defined in variables when compiling -- receiving stubs. In this case, a non Empty value means that this -- variable's accessibility depth has been transmitted by the caller and -- must be retrieved through the entity designed by this field instead of -- being computed. -- Extra_Accessibility_Of_Result -- Defined in (non-generic) Function, Operator, and Subprogram_Type -- entities. Normally Empty, but if expansion is active, and a function -- is one for which "the accessibility level of the result ... determined -- by the point of call" (AI05-0234) is needed, then an extra formal of -- subtype Natural is created (see description of field Extra_Formal), -- and the Extra_Accessibility_Of_Result field of the function points to -- the entity for this extra formal. -- Extra_Constrained -- Defined in formal parameters in the non-generic case. Normally Empty, -- but if expansion is active and a parameter is one for which a dynamic -- indication of its constrained status is required, then an extra formal -- of type Boolean is created (see description of field Extra_Formal), -- and the Extra_Constrained field of the formal parameter points to the -- entity for this extra formal. Also defined in variables when compiling -- receiving stubs. In this case, a non empty value means that this -- variable's constrained status has been transmitted by the caller and -- must be retrieved through the entity designed by this field instead of -- being computed. -- Extra_Formal -- Defined in formal parameters in the non-generic case. Certain -- parameters require extra implicit information to be passed (e.g. the -- flag indicating if an unconstrained variant record argument is -- constrained, and the accessibility level for access parameters). See -- description of Extra_Constrained, Extra_Accessibility fields for -- further details. Extra formal parameters are constructed to represent -- these values, and chained to the end of the list of formals using the -- Extra_Formal field (i.e. the Extra_Formal field of the last "real" -- formal points to the first extra formal, and the Extra_Formal field of -- each extra formal points to the next one, with Empty indicating the -- end of the list of extra formals). Another case of Extra_Formal arises -- in connection with unnesting of subprograms, where the ARECnF formal -- that represents an activation record pointer is an extra formal. -- Extra_Formals -- Applies to subprograms, subprogram types, entries, and entry -- families. Returns first extra formal of the subprogram or entry. -- Returns Empty if there are no extra formals. -- Finalization_Master [root type only] -- Defined in access-to-controlled or access-to-class-wide types. The -- field contains the entity of the finalization master which handles -- dynamically allocated controlled objects referenced by the access -- type. Empty for access-to-subprogram types. Empty for access types -- whose designated type does not need finalization actions. -- Finalize_Storage_Only [base type only] -- Defined in all types. Set on direct controlled types to which a -- valid Finalize_Storage_Only pragma applies. This flag is also set on -- composite types when they have at least one controlled component and -- all their controlled components are Finalize_Storage_Only. It is also -- inherited by type derivation except for direct controlled types where -- the Finalize_Storage_Only pragma is required at each level of -- derivation. -- Finalizer -- Applies to package declarations and bodies. Contains the entity of the -- library-level program which finalizes all package-level controlled -- objects. -- First_Component (synthesized) -- Applies to incomplete, private, protected, record and task types. -- Returns the first component by following the chain of declared -- entities for the type a component is found (one with an Ekind of -- E_Component). The discriminants are skipped. If the record is null, -- then Empty is returned. -- First_Component_Or_Discriminant (synthesized) -- Similar to First_Component, but discriminants are not skipped, so will -- find the first discriminant if discriminants are present. -- First_Entity -- Defined in all entities which act as scopes to which a list of -- associated entities is attached (blocks, class subtypes and types, -- entries, functions, loops, packages, procedures, protected objects, -- record types and subtypes, private types, task types and subtypes). -- Points to a list of associated entities using the Next_Entity field -- as a chain pointer with Empty marking the end of the list. -- First_Exit_Statement -- Defined in E_Loop entity. The exit statements for a loop are chained -- (in reverse order of appearance) using this field to point to the -- first entry in the chain (last exit statement in the loop). The -- entries are chained through the Next_Exit_Statement field of the -- N_Exit_Statement node with Empty marking the end of the list. -- First_Formal (synthesized) -- Applies to subprograms and subprogram types, and also to entries -- and entry families. Returns first formal of the subprogram or entry. -- The formals are the first entities declared in a subprogram or in -- a subprogram type (the designated type of an Access_To_Subprogram -- definition) or in an entry. -- First_Formal_With_Extras (synthesized) -- Applies to subprograms and subprogram types, and also in entries -- and entry families. Returns first formal of the subprogram or entry. -- Returns Empty if there are no formals. The list returned includes -- all the extra formals (see description of Extra_Formals field). -- First_Index -- Defined in array types and subtypes. By introducing implicit subtypes -- for the index constraints, we have the same structure for constrained -- and unconstrained arrays, subtype marks and discrete ranges are -- both represented by a subtype. This function returns the tree node -- corresponding to an occurrence of the first index (NOT the entity for -- the type). Subsequent indices are obtained using Next_Index. Note that -- this field is defined for the case of string literal subtypes, but is -- always Empty. -- First_Literal -- Defined in all enumeration types, including character and boolean -- types. This field points to the first enumeration literal entity -- for the type (i.e. it is set to First (Literals (N)) where N is -- the enumeration type definition node. A special case occurs with -- standard character and wide character types, where this field is -- Empty, since there are no enumeration literal lists in these cases. -- Note that this field is set in enumeration subtypes, but it still -- points to the first literal of the base type in this case. -- First_Private_Entity -- Defined in all entities containing private parts (packages, protected -- types and subtypes, task types and subtypes). The entities on the -- entity chain are in order of declaration, so the entries for private -- entities are at the end of the chain. This field points to the first -- entity for the private part. It is Empty if there are no entities -- declared in the private part or if there is no private part. -- First_Rep_Item -- Defined in all entities. If non-empty, points to a linked list of -- representation pragmas nodes and representation clause nodes that -- apply to the entity, linked using Next_Rep_Item, with Empty marking -- the end of the list. In the case of derived types and subtypes, the -- new entity inherits the chain at the point of declaration. This means -- that it is possible to have multiple instances of the same kind of rep -- item on the chain, in which case it is the first one that applies to -- the entity. -- -- Note: pragmas that can apply to more than one overloadable entity, -- (Convention, Interface, Inline, Inline_Always, Import, Export, -- External) are never present on this chain when they apply to -- overloadable entities, since it is impossible for a given pragma -- to be on more than one chain at a time. -- -- For most representation items, the representation information is -- reflected in other fields and flags in the entity. For example if a -- record representation clause is present, the component entities -- reflect the specified information. However, there are some items that -- are only reflected in the chain. These include: -- -- Machine_Attribute pragma -- Link_Alias pragma -- Linker_Constructor pragma -- Linker_Destructor pragma -- Weak_External pragma -- Thread_Local_Storage pragma -- -- If any of these items are present, then the flag Has_Gigi_Rep_Item is -- set, indicating that the backend should search the chain. -- -- Other representation items are included in the chain so that error -- messages can easily locate the relevant nodes for posting errors. -- Note in particular that size clauses are defined only for this -- purpose, and should only be accessed if Has_Size_Clause is set. -- Float_Rep [base type only] -- Defined in floating-point entities. Contains a value of type -- Float_Rep_Kind. Together with the Digits_Value uniquely defines -- the floating-point representation to be used. -- Freeze_Node -- Defined in all entities. If there is an associated freeze node for the -- entity, this field references this freeze node. If no freeze node is -- associated with the entity, then this field is Empty. See package -- Freeze for further details. -- From_Limited_With -- Defined in abtract states, package and type entities. Set to True when -- the related entity is generated by the expansion of a limited with -- clause. Such an entity is said to be a "shadow" - it acts as the -- abstract view of a state or variable or as the incomplete view of a -- type by inheriting relevant attributes from the said entity. -- Full_View -- Defined in all type and subtype entities and in deferred constants. -- References the entity for the corresponding full type or constant -- declaration. For all types other than private and incomplete types, -- this field always contains Empty. If an incomplete type E1 is -- completed by a private type E2 whose full type declaration entity is -- E3 then the full view of E1 is E2, and the full view of E2 is E3. See -- also Underlying_Type. -- Generic_Homonym -- Defined in generic packages. The generic homonym is the entity of -- a renaming declaration inserted in every generic unit. It is used -- to resolve the name of a local entity that is given by a qualified -- name, when the generic entity itself is hidden by a local name. -- Generic_Renamings -- Defined in package and subprogram instances. Holds mapping that -- associates generic parameters with the corresponding instances, in -- those cases where the instance is an entity. -- Handler_Records -- Defined in subprogram and package entities. Points to a list of -- identifiers referencing the handler record entities for the -- corresponding unit. -- Has_Aliased_Components [implementation base type only] -- Defined in array type entities. Indicates that the component type -- of the array is aliased. Should this also be set for records to -- indicate that at least one component is aliased (see processing in -- Sem_Prag.Process_Atomic_Independent_Shared_Volatile???) -- Has_Alignment_Clause -- Defined in all type entities and objects. Indicates if an alignment -- clause has been given for the entity. If set, then Alignment_Clause -- returns the N_Attribute_Definition node for the alignment attribute -- definition clause. Note that it is possible for this flag to be False -- even when Alignment_Clause returns non_Empty (this happens in the case -- of derived type declarations). -- Has_All_Calls_Remote -- Defined in all library unit entities. Set if the library unit has an -- All_Calls_Remote pragma. Note that such entities must also be RCI -- entities, so the flag Is_Remote_Call_Interface will always be set if -- this flag is set. -- Has_Atomic_Components [implementation base type only] -- Defined in all types and objects. Set only for an array type or -- an array object if a valid pragma Atomic_Components applies to the -- type or object. Note that in the case of an object, this flag is -- only set on the object if there was an explicit pragma for the -- object. In other words, the proper test for whether an object has -- atomic components is to see if either the object or its base type -- has this flag set. Note that in the case of a type, the pragma will -- be chained to the rep item chain of the first subtype in the usual -- manner. -- Has_Attach_Handler (synthesized) -- Applies to record types that are constructed by the expander to -- represent protected types. Returns True if there is at least one -- Attach_Handler pragma in the corresponding specification. -- Has_Biased_Representation -- Defined in discrete types (where it applies to the type'size value), -- and to objects (both stand-alone and components), where it applies to -- the size of the object from a size or record component clause. In -- all cases it indicates that the size in question is smaller than -- would normally be required, but that the size requirement can be -- satisfied by using a biased representation, in which stored values -- have the low bound (Expr_Value (Type_Low_Bound (T)) subtracted to -- reduce the required size. For example, a type with a range of 1..2 -- takes one bit, using 0 to represent 1 and 1 to represent 2. -- -- Note that in the object and component cases, the flag is only set if -- the type is unbiased, but the object specifies a smaller size than the -- size of the type, forcing biased representation for the object, but -- the subtype is still an unbiased type. -- Has_Completion -- Defined in all entities that require a completion (functions, -- procedures, private types, limited private types, incomplete types, -- constants and packages that require a body). The flag is set if the -- completion has been encountered and analyzed. -- Has_Completion_In_Body -- Defined in all entities for types and subtypes. Set only in "Taft -- amendment types" (incomplete types whose full declaration appears in -- the package body). -- Has_Complex_Representation [implementation base type only] -- Defined in record types. Set only for a base type to which a valid -- pragma Complex_Representation applies. -- Has_Component_Size_Clause [implementation base type only] -- Defined in all type entities. Set if a component size clause is -- Defined for the given type. Note that this flag can be False even -- if Component_Size is non-zero (happens in the case of derived types). -- Has_Constrained_Partial_View [base type only] -- Defined in private type and their completions, when the private -- type has no discriminants and the full view has discriminants with -- defaults. In Ada 2005 heap-allocated objects of such types are not -- constrained, and can change their discriminants with full assignment. -- -- Ada 2012 has an additional rule (3.3. (23/10.3)) concerning objects -- declared in a generic package body. Objects whose type is an untagged -- generic formal private type are considered to have a constrained -- partial view. The predicate Object_Type_Has_Constrained_Partial_View -- in sem_aux is used to test for this case. -- Has_Contiguous_Rep -- Defined in enumeration types. Set if the type has a representation -- clause whose entries are successive integers. -- Has_Controlled_Component [base type only] -- Defined in all type and subtype entities. Set only for composite type -- entities which contain a component that either is a controlled type, -- or itself contains controlled component (i.e. either Is_Controlled or -- Has_Controlled_Component is set for at least one component). -- Has_Controlling_Result -- Defined in E_Function entities. Set if the function is a primitive -- function of a tagged type which can dispatch on result. -- Has_Convention_Pragma -- Defined in all entities. Set for an entity for which a valid pragma -- Convention, Import, or Export has been given. Used to prevent more -- than one such pragma appearing for a given entity (RM B.1(45)). -- Has_Default_Aspect [base type only] -- Defined in entities for types and subtypes, set for scalar types with -- a Default_Value aspect and array types with a Default_Component_Value -- aspect. If this flag is set, then a corresponding aspect specification -- node will be present on the rep item chain for the entity. For a -- derived type that inherits a default from its ancestor, the default -- value is set, but it may be overridden by an aspect declaration on -- type derivation. -- Has_Delayed_Aspects -- Defined in all entities. Set if the Rep_Item chain for the entity has -- one or more N_Aspect_Definition nodes chained which are not to be -- evaluated till the freeze point. The aspect definition expression -- clause has been preanalyzed to get visibility at the point of use, -- but no other action has been taken. -- Has_Delayed_Freeze -- Defined in all entities. Set to indicate that an explicit freeze -- node must be generated for the entity at its freezing point. See -- separate section ("Delayed Freezing and Elaboration") for details. -- Has_Delayed_Rep_Aspects -- Defined in all types and subtypes. This flag is set if there is at -- least one aspect for a representation characteristic that has to be -- delayed and is one of the characteristics that may be inherited by -- types derived from this type if not overridden. If this flag is set, -- then types derived from this type have May_Inherit_Delayed_Rep_Aspects -- set, signalling that Freeze.Inherit_Delayed_Rep_Aspects must be called -- at the freeze point of the derived type. -- Has_DIC (synthesized) -- Defined in all type entities. Set for a private type and its full view -- when the type is subject to pragma Default_Initial_Condition (DIC), or -- when the type inherits a DIC pragma from a parent type. -- Has_Discriminants -- Defined in all types and subtypes. For types that are allowed to have -- discriminants (record types and subtypes, task types and subtypes, -- protected types and subtypes, private types, limited private types, -- and incomplete types), indicates if the corresponding type or subtype -- has a known discriminant part. Always false for all other types. -- Has_Dispatch_Table -- Defined in E_Record_Types that are tagged. Set to indicate that the -- corresponding dispatch table is already built. This flag is used to -- avoid duplicate construction of library level dispatch tables (because -- the declaration of library level objects cause premature construction -- of the table); otherwise the code that builds the table is added at -- the end of the list of declarations of the package. -- Has_Dynamic_Predicate_Aspect -- Defined in all types and subtypes. Set if a Dynamic_Predicate aspect -- was explicitly applied to the type. Generally we treat predicates as -- static if possible, regardless of whether they are specified using -- Predicate, Static_Predicate, or Dynamic_Predicate. And if a predicate -- can be treated as static (i.e. its expression is predicate-static), -- then the flag Has_Static_Predicate will be set True. But there are -- cases where legality is affected by the presence of an explicit -- Dynamic_Predicate aspect. For example, even if a predicate looks -- static, you can't use it in a case statement if there is an explicit -- Dynamic_Predicate aspect specified. So test Has_Static_Predicate if -- you just want to know if the predicate can be evaluated statically, -- but test Has_Dynamic_Predicate_Aspect to enforce legality rules about -- the use of dynamic predicates. -- Has_Entries (synthesized) -- Applies to concurrent types. True if any entries are declared -- within the task or protected definition for the type. -- Has_Enumeration_Rep_Clause -- Defined in enumeration types. Set if an enumeration representation -- clause has been given for this enumeration type. Used to prevent more -- than one enumeration representation clause for a given type. Note -- that this does not imply a representation with holes, since the rep -- clause may merely confirm the default 0..N representation. -- Has_Exit -- Defined in loop entities. Set if the loop contains an exit statement. -- Has_Expanded_Contract -- Defined in functions, procedures, entries, and entry families. Set -- when a subprogram has a N_Contract node that has been expanded. The -- flag prevents double expansion of a contract when a construct is -- rewritten into something else and subsequently reanalyzed/expanded. -- Has_Foreign_Convention (synthesized) -- Applies to all entities. Determines if the Convention for the entity -- is a foreign convention, i.e. non-native: other than Convention_Ada, -- Convention_Intrinsic, Convention_Entry, Convention_Protected, -- Convention_Stubbed and Convention_Ada_Pass_By_(Copy,Reference). -- Has_Forward_Instantiation -- Defined in package entities. Set for packages that instantiate local -- generic entities before the corresponding generic body has been seen. -- If a package has a forward instantiation, we cannot inline subprograms -- appearing in the same package because the placement requirements of -- the instance will conflict with the linear elaboration of front-end -- inlining. -- Has_Fully_Qualified_Name -- Defined in all entities. Set if the name in the Chars field has been -- replaced by the fully qualified name, as used for debug output. See -- Exp_Dbug for a full description of the use of this flag and also the -- related flag Has_Qualified_Name. -- Has_Gigi_Rep_Item -- Defined in all entities. Set if the rep item chain (referenced by -- First_Rep_Item and linked through the Next_Rep_Item chain) contains a -- representation item that needs to be specially processed by the back -- end, i.e. one of the following items: -- -- Machine_Attribute pragma -- Linker_Alias pragma -- Linker_Constructor pragma -- Linker_Destructor pragma -- Weak_External pragma -- Thread_Local_Storage pragma -- -- If this flag is set, then the backend should scan the rep item chain -- to process any of these items that appear. At least one such item will -- be present. -- -- Has_Homonym -- Defined in all entities. Set if an entity has a homonym in the same -- scope. Used by the backend to generate unique names for all entities. -- Has_Implicit_Dereference -- Defined in types and discriminants. Set if the type has an aspect -- Implicit_Dereference. Set also on the discriminant named in the aspect -- clause, to simplify type resolution. -- Has_Independent_Components [implementation base type only] -- Defined in all types and objects. Set only for a record type or an -- array type or array object if a valid pragma Independent_Components -- applies to the type or object. Note that in the case of an object, -- this flag is only set on the object if there was an explicit pragma -- for the object. In other words, the proper test for whether an object -- has independent components is to see if either the object or its base -- type has this flag set. Note that in the case of a type, the pragma -- will be chained to the rep item chain of the first subtype in the -- usual manner. Also set if a pragma Has_Atomic_Components or pragma -- Has_Aliased_Components applies to the type or object. -- Has_Inheritable_Invariants [base type only] -- Defined in all type entities. Set on private types and interface types -- which define at least one class-wide invariant. Such invariants must -- be inherited by derived types. The flag is also set on the full view -- of a private type for completeness. -- Has_Inherited_DIC [base type only] -- Defined in all type entities. Set for a derived type which inherits -- pragma Default_Initial_Condition from a parent type. -- Has_Inherited_Invariants [base type only] -- Defined in all type entities. Set on private extensions and derived -- types which inherit at least one class-wide invariant from a parent or -- an interface type. The flag is also set on the full view of a private -- extension for completeness. -- Has_Initial_Value -- Defined in entities for variables and out parameters. Set if there -- is an explicit initial value expression in the declaration of the -- variable. Note that this is set only if this initial value is -- explicit, it is not set for the case of implicit initialization -- of access types or controlled types. Always set to False for out -- parameters. Also defined in entities for in and in-out parameters, -- but always false in these cases. -- Has_Interrupt_Handler (synthesized) -- Applies to all protected type entities. Set if the protected type -- definition contains at least one procedure to which a pragma -- Interrupt_Handler applies. -- Has_Invariants (synthesized) -- Defined in all type entities. True if the type defines at least one -- invariant of its own or inherits at least one class-wide invariant -- from a parent type or an interface. -- Has_Limited_View (synth) -- Defined in all entities. True for non-generic package entities that -- are non-instances and their Limited_View attribute is present. -- Has_Loop_Entry_Attributes -- Defined in E_Loop entities. Set when the loop is subject to at least -- one attribute 'Loop_Entry. The flag also implies that the loop has -- already been transformed. See Expand_Loop_Entry_Attribute for details. -- Has_Machine_Radix_Clause -- Defined in decimal types and subtypes, set if a Machine_Radix -- representation clause is present. This flag is used to detect -- the error of multiple machine radix clauses for a single type. -- Has_Master_Entity -- Defined in entities that can appear in the scope stack (see spec -- of Sem). It is set if a task master entity (_master) has been -- declared and initialized in the corresponding scope. -- Has_Missing_Return -- Defined in functions and generic functions. Set if there is one or -- more missing return statements in the function. This is used to -- control wrapping of the body in Exp_Ch6 to ensure that the program -- error exception is correctly raised in this case at run time. -- Has_Nested_Block_With_Handler -- Defined in scope entities. Set if there is a nested block within the -- scope that has an exception handler and the two scopes are in the -- same procedure. This is used by the backend for controlling certain -- optimizations to ensure that they are consistent with exceptions. -- See documentation in backend for further details. -- Has_Nested_Subprogram -- Defined in subprogram entities. Set for a subprogram which contains at -- least one nested subprogram. -- Has_Non_Limited_View (synth) -- Defined in E_Incomplete_Type, E_Incomplete_Subtype, E_Class_Wide_Type, -- E_Abstract_State entities. True if their Non_Limited_View attribute -- is present. -- Has_Non_Null_Abstract_State (synth) -- Defined in package entities. True if the package is subject to a non- -- null Abstract_State aspect/pragma. -- Has_Non_Null_Visible_Refinement (synth) -- Defined in E_Abstract_State entities. True if the state has a visible -- refinement of at least one variable or state constituent as expressed -- in aspect/pragma Refined_State. -- Has_Non_Standard_Rep [implementation base type only] -- Defined in all type entities. Set when some representation clause -- or pragma causes the representation of the item to be significantly -- modified. In this category are changes of small or radix for a -- fixed-point type, change of component size for an array, and record -- or enumeration representation clauses, as well as packed pragmas. -- All other representation clauses (e.g. Size and Alignment clauses) -- are not considered to be significant since they do not affect -- stored bit patterns. -- Has_Null_Abstract_State (synth) -- Defined in package entities. True if the package is subject to a null -- Abstract_State aspect/pragma. -- Has_Null_Visible_Refinement (synth) -- Defined in E_Abstract_State entities. True if the state has a visible -- null refinement as expressed in aspect/pragma Refined_State. -- Has_Object_Size_Clause -- Defined in entities for types and subtypes. Set if an Object_Size -- clause has been processed for the type. Used to prevent multiple -- Object_Size clauses for a given entity. -- Has_Out_Or_In_Out_Parameter -- Present in subprograms, generic subprograms, entries, and entry -- families. Set if they have at least one OUT or IN OUT parameter -- (allowed for functions only in Ada 2012). -- Has_Own_DIC [base type only] -- Defined in all type entities. Set for a private type and its full view -- (and its underlying full view, if the full view is itself private) -- when the type is subject to pragma Default_Initial_Condition. -- Has_Own_Invariants [base type only] -- Defined in all type entities. Set on any type that defines at least -- one invariant of its own. -- Note: this flag is set on both partial and full view of types to which -- an Invariant pragma or aspect applies, and on the underlying full view -- if the full view is private. -- Has_Partial_Visible_Refinement -- Defined in E_Abstract_State entities. Set when a state has at least -- one refinement constituent subject to indicator Part_Of, and analysis -- is in the region between the declaration of the first constituent for -- this abstract state (in the private part of the package) and the end -- of the package spec or body with visibility over this private part -- (which includes the package itself and its child packages). -- Has_Per_Object_Constraint -- Defined in E_Component entities. Set if the subtype of the component -- has a per object constraint. Per object constraints result from the -- following situations : -- -- 1. N_Attribute_Reference - when the prefix is the enclosing type and -- the attribute is Access. -- 2. N_Discriminant_Association - when the expression uses the -- discriminant of the enclosing type. -- 3. N_Index_Or_Discriminant_Constraint - when at least one of the -- individual constraints is a per object constraint. -- 4. N_Range - when the lower or upper bound uses the discriminant of -- the enclosing type. -- 5. N_Range_Constraint - when the range expression uses the -- discriminant of the enclosing type. -- Has_Pragma_Controlled [implementation base type only] -- Defined in access type entities. It is set if a pragma Controlled -- applies to the access type. -- Has_Pragma_Elaborate_Body -- Defined in all entities. Set in compilation unit entities if a -- pragma Elaborate_Body applies to the compilation unit. -- Has_Pragma_Inline -- Defined in all entities. Set for functions and procedures for which a -- pragma Inline or Inline_Always applies to the subprogram. Note that -- this flag can be set even if Is_Inlined is not set. This happens for -- pragma Inline (if Inline_Active is False). In other words, the flag -- Has_Pragma_Inline represents the formal semantic status, and is used -- for checking semantic correctness. The flag Is_Inlined indicates -- whether inlining is actually active for the entity. -- Has_Pragma_Inline_Always -- Defined in all entities. Set for functions and procedures for which a -- pragma Inline_Always applies. Note that if this flag is set, the flag -- Has_Pragma_Inline is also set. -- Has_Pragma_No_Inline -- Defined in all entities. Set for functions and procedures for which a -- pragma No_Inline applies. Note that if this flag is set, the flag -- Has_Pragma_Inline_Always cannot be set. -- Has_Pragma_Ordered [implementation base type only] -- Defined in entities for enumeration types. If set indicates that a -- valid pragma Ordered was given for the type. This flag is inherited -- by derived enumeration types. We don't need to distinguish the derived -- case since we allow multiple occurrences of this pragma anyway. -- Has_Pragma_Pack [implementation base type only] -- Defined in array and record type entities. If set, indicates that a -- valid pragma Pack was given for the type. Note that this flag is not -- inherited by derived type. See also the Is_Packed flag. -- Has_Pragma_Preelab_Init -- Defined in type and subtype entities. If set indicates that a valid -- pragma Preelaborable_Initialization applies to the type. -- Has_Pragma_Pure -- Defined in all entities. If set, indicates that a valid pragma Pure -- was given for the entity. In some cases, we need to test whether -- Is_Pure was explicitly set using this pragma. -- Has_Pragma_Pure_Function -- Defined in all entities. If set, indicates that a valid pragma -- Pure_Function was given for the entity. In some cases, we need to test -- whether Is_Pure was explicitly set using this pragma. We also set -- this flag for some internal entities that we know should be treated -- as pure for optimization purposes. -- Has_Pragma_Thread_Local_Storage -- Defined in all entities. If set, indicates that a valid pragma -- Thread_Local_Storage was given for the entity. -- Has_Pragma_Unmodified -- Defined in all entities. Can only be set for variables (E_Variable, -- E_Out_Parameter, E_In_Out_Parameter). Set if a valid pragma Unmodified -- applies to the variable, indicating that no warning should be given -- if the entity is never modified. Note that clients should generally -- not test this flag directly, but instead use function Has_Unmodified. -- Has_Pragma_Unreferenced -- Defined in all entities. Set if a valid pragma Unreferenced applies -- to the entity, indicating that no warning should be given if the -- entity has no references, but a warning should be given if it is -- in fact referenced. For private types, this flag is set in both the -- private entity and full entity if the pragma applies to either. Note -- that clients should generally not test this flag directly, but instead -- use function Has_Unreferenced. -- Has_Pragma_Unreferenced_Objects -- Defined in all entities. Set if a valid pragma Unused applies to an -- entity, indicating that warnings should be given if the entity is -- modified or referenced. This pragma is equivalent to a pair of -- Unmodified and Unreferenced pragmas. -- Has_Pragma_Unused -- Defined in all entities. Set if a valid pragma Unused applies to a -- variable or entity, indicating that warnings should not be given if -- it is never modified or referenced. Note: This pragma is exactly -- equivalent Unmodified and Unreference combined. -- Has_Predicates -- Defined in type and subtype entities. Set if a pragma Predicate or -- Predicate aspect applies to the type or subtype, or if it inherits a -- Predicate aspect from its parent or progenitor types. -- -- Note: this flag is set on both partial and full view of types to which -- a Predicate pragma or aspect applies, and on the underlying full view -- if the full view is private. -- Has_Primitive_Operations [base type only] -- Defined in all type entities. Set if at least one primitive operation -- is defined for the type. -- Has_Private_Ancestor -- Applies to type extensions. True if some ancestor is derived from a -- private type, making some components invisible and aggregates illegal. -- This flag is set at the point of derivation. The legality of the -- aggregate must be rechecked because it also depends on the visibility -- at the point the aggregate is resolved. See sem_aggr.adb. This is part -- of AI05-0115. -- Has_Private_Declaration -- Defined in all entities. Set if it is the defining entity of a private -- type declaration or its corresponding full declaration. This flag is -- thus preserved when the full and the partial views are exchanged, to -- indicate if a full type declaration is a completion. Used for semantic -- checks in E.4(18) and elsewhere. -- Has_Private_Extension -- Defined in tagged types. Set to indicate that the tagged type has some -- private extension. Used to report a warning on public primitives added -- after defining its private extensions. -- Has_Protected [base type only] -- Defined in all type entities. Set on protected types themselves, and -- also (recursively) on any composite type which has a component for -- which Has_Protected is set, unless the protected type is declared in -- the private part of an internal unit. The meaning is that restrictions -- for protected types apply to this type. Note: the flag is not set on -- access types, even if they designate an object that Has_Protected. -- Has_Qualified_Name -- Defined in all entities. Set if the name in the Chars field has -- been replaced by its qualified name, as used for debug output. See -- Exp_Dbug for a full description of qualification requirements. For -- some entities, the name is the fully qualified name, but there are -- exceptions. In particular, for local variables in procedures, we -- do not include the procedure itself or higher scopes. See also the -- flag Has_Fully_Qualified_Name, which is set if the name does indeed -- include the fully qualified name. -- Has_RACW -- Defined in package spec entities. Set if the spec contains the -- declaration of a remote access-to-classwide type. -- Has_Record_Rep_Clause [implementation base type only] -- Defined in record types. Set if a record representation clause has -- been given for this record type. Used to prevent more than one such -- clause for a given record type. Note that this is initially cleared -- for a derived type, even though the representation is inherited. See -- also the flag Has_Specified_Layout. -- Has_Recursive_Call -- Defined in procedures. Set if a direct parameterless recursive call -- is detected while analyzing the body. Used to activate some error -- checks for infinite recursion. -- Has_Shift_Operator [base type only] -- Defined in integer types. Set in the base type of an integer type for -- which at least one of the shift operators is defined. -- Has_Size_Clause -- Defined in entities for types and objects. Set if a size or value size -- clause is defined for the entity. Used to prevent multiple clauses -- for a given entity. Note that it is always initially cleared for a -- derived type, even though the Size or Value_Size clause for such a -- type might be inherited from an ancestor type. -- Has_Small_Clause -- Defined in ordinary fixed point types (but not subtypes). Indicates -- that a small clause has been given for the entity. Used to prevent -- multiple Small clauses for a given entity. Note that it is always -- initially cleared for a derived type, even though the Small for such -- a type is inherited from a Small clause given for the parent type. -- Has_Specified_Layout [implementation base type only] -- Defined in all type entities. Set for a record type or subtype if -- the record layout has been specified by a record representation -- clause. Note that this differs from the flag Has_Record_Rep_Clause -- in that it is inherited by a derived type. Has_Record_Rep_Clause is -- used to indicate that the type is mentioned explicitly in a record -- representation clause, and thus is not inherited by a derived type. -- This flag is always False for non-record types. -- Has_Specified_Stream_Input -- Has_Specified_Stream_Output -- Has_Specified_Stream_Read -- Has_Specified_Stream_Write -- Defined in all type and subtype entities. Set for a given view if the -- corresponding stream-oriented attribute has been defined by an -- attribute definition clause. When such a clause occurs, a TSS is set -- on the underlying full view; the flags are used to track visibility of -- the attribute definition clause for partial or incomplete views. -- Has_Static_Discriminants -- Defined in record subtypes constrained by discriminant values. Set if -- all the discriminant values have static values, meaning that in the -- case of a variant record, the component list can be trimmed down to -- include only the components corresponding to these discriminants. -- Has_Static_Predicate -- Defined in all types and subtypes. Set if the type (which must be a -- scalar type) has a predicate whose expression is predicate-static. -- This can result from the use of any Predicate, Static_Predicate, or -- Dynamic_Predicate aspect. We can distinguish these cases by testing -- Has_Static_Predicate_Aspect and Has_Dynamic_Predicate_Aspect. See -- description of the latter flag for further information on dynamic -- predicates which are also static. -- Has_Static_Predicate_Aspect -- Defined in all types and subtypes. Set if a Static_Predicate aspect -- applies to the type. Note that we can tell if a static predicate is -- present by looking at Has_Static_Predicate, but this could have come -- from a Predicate aspect or pragma or even from a Dynamic_Predicate -- aspect. When we need to know the difference (e.g. to know what set of -- check policies apply, use this flag and Has_Dynamic_Predicate_Aspect -- to determine which case we have). -- Has_Storage_Size_Clause [implementation base type only] -- Defined in task types and access types. It is set if a Storage_Size -- clause is present for the type. Used to prevent multiple clauses for -- one type. Note that this flag is initially cleared for a derived type -- even though the Storage_Size for such a type is inherited from a -- Storage_Size clause given for the parent type. Note that in the case -- of access types, this flag is defined only in the root type, since a -- storage size clause cannot be given to a derived type. -- Has_Stream_Size_Clause -- Defined in all entities. It is set for types which have a Stream_Size -- clause attribute. Used to prevent multiple Stream_Size clauses for a -- given entity, and also whether it is necessary to check for a stream -- size clause. -- Has_Task [base type only] -- Defined in all type entities. Set on task types themselves, and also -- (recursively) on any composite type which has a component for which -- Has_Task is set. The meaning is that an allocator or declaration of -- such an object must create the required tasks. Note: the flag is not -- set on access types, even if they designate an object that Has_Task. -- Has_Timing_Event [base type only] -- Defined in all type entities. Set on language defined type -- Ada.Real_Time.Timing_Events.Timing_Event, and also (recursively) on -- any composite type which has a component for which Has_Timing_Event -- is set. Used for the No_Local_Timing_Event restriction. -- Has_Thunks -- Applies to E_Constant entities marked Is_Tag. True for secondary tag -- referencing a dispatch table whose contents are pointers to thunks. -- Has_Unchecked_Union [base type only] -- Defined in all type entities. Set on unchecked unions themselves -- and (recursively) on any composite type which has a component for -- which Has_Unchecked_Union is set. The meaning is that a comparison -- operation or 'Valid_Scalars reference for the type is not permitted. -- Note that the flag is not set on access types, even if they designate -- an object that has the flag Has_Unchecked_Union set. -- Has_Unknown_Discriminants -- Defined in all entities. Set for types with unknown discriminants. -- Types can have unknown discriminants either from their declaration or -- through type derivation. The use of this flag exactly meets the spec -- in RM 3.7(26). Note that all class-wide types are considered to have -- unknown discriminants. Note that both flags Has_Discriminants and -- Has_Unknown_Discriminants may be true for a type. Class-wide types and -- their subtypes have unknown discriminants and can have declared ones -- as well. Private types declared with unknown discriminants may have a -- full view that has explicit discriminants, and both flag will be set -- on the partial view, to ensure that discriminants are properly -- inherited in certain contexts. -- Has_Visible_Refinement -- Defined in E_Abstract_State entities. Set when a state has at least -- one refinement constituent and analysis is in the region between -- pragma Refined_State and the end of the package body declarations. -- Has_Volatile_Components [implementation base type only] -- Defined in all types and objects. Set only for an array type or array -- object if a valid pragma Volatile_Components or a valid pragma -- Atomic_Components applies to the type or object. Note that in the case -- of an object, this flag is only set on the object if there was an -- explicit pragma for the object. In other words, the proper test for -- whether an object has volatile components is to see if either the -- object or its base type has this flag set. Note that in the case of a -- type the pragma will be chained to the rep item chain of the first -- subtype in the usual manner. -- Has_Xref_Entry -- Defined in all entities. Set if an entity has an entry in the Xref -- information generated in ali files. This is true for all source -- entities in the extended main source file. It is also true of entities -- in other packages that are referenced directly or indirectly from the -- main source file (indirect reference occurs when the main source file -- references an entity with a type reference. See package Lib.Xref for -- further details). -- Has_Yield_Aspect -- Defined in subprograms, generic subprograms, entries, entry families. -- Set if the entity has aspect Yield. -- Hiding_Loop_Variable -- Defined in variables. Set only if a variable of a discrete type is -- hidden by a loop variable in the same local scope, in which case -- the Hiding_Loop_Variable field of the hidden variable points to -- the E_Loop_Parameter entity doing the hiding. Used in processing -- warning messages if the hidden variable turns out to be unused -- or is referenced without being set. -- Hidden_In_Formal_Instance -- Defined on actuals for formal packages. Entities on the list are -- formals that are hidden outside of the formal package when this -- package is not declared with a box, or the formal itself is not -- defaulted (see RM 12.7 (10)). Their visibility is restored on exit -- from the current generic, because the actual for the formal package -- may be used subsequently in the current unit. -- Homonym -- Defined in all entities. Link for list of entities that have the -- same source name and that are declared in the same or enclosing -- scopes. Homonyms in the same scope are overloaded. Used for name -- resolution and for the generation of debugging information. -- Ignore_SPARK_Mode_Pragmas -- Present in concurrent type, entry, operator, [generic] package, -- package body, [generic] subprogram, and subprogram body entities. -- Set when the entity appears in an instance subject to SPARK_Mode -- "off" and indicates that all SPARK_Mode pragmas found within must -- be ignored. -- Ignored_Class_Postconditions -- Defined on subprogram entities. Set if the subprogram has class-wide -- postconditions. Denotes the (and-then) expression built by merging -- inherited ignored class-wide postconditions with its own ignored -- class-wide postconditions. -- Ignored_Class_Preconditions -- Defined on subprogram entities. Set if the subprogram has class-wide -- preconditions. Denotes the (or-else) expression built by merging -- inherited ignored class-wide preconditions with its own ignored -- class-wide preconditions. -- Implementation_Base_Type (synthesized) -- Applies to all entities. For types, similar to Base_Type, but never -- returns a private type when applied to a non-private type. Instead in -- this case, it always returns the Underlying_Type of the base type, so -- that we still have a concrete type. For entities other than types, -- returns the entity unchanged. -- Import_Pragma -- Defined in subprogram entities. Set if a valid pragma Import or pragma -- Import_Function or pragma Import_Procedure applies to the subprogram, -- in which case this field points to the pragma (we can't use the normal -- Rep_Item chain mechanism, because a single pragma Import can apply -- to multiple subprogram entities). -- In_Package_Body -- Defined in package entities. Set on the entity that denotes the -- package (the defining occurrence of the package declaration) while -- analyzing and expanding the package body. Reset on completion of -- analysis/expansion. -- In_Private_Part -- Defined in all entities. Can be set only in package entities and -- objects. For package entities, this flag is set to indicate that the -- private part of the package is being analyzed. The flag is reset at -- the end of the package declaration. For objects it indicates that the -- declaration of the object occurs in the private part of a package. -- Incomplete_Actuals -- Defined on package entities that are instances. Indicates the actuals -- types in the instantiation that are limited views. If this list is -- not empty, the instantiation, which appears in a package declaration, -- is relocated to the corresponding package body, which must have a -- corresponding nonlimited with_clause. -- Indirect_Call_Wrapper -- Defined on subprogram entities. Set if the subprogram has class-wide -- preconditions. Denotes the internal wrapper that checks preconditions -- and invokes the subprogram body. Subp'Access points to the indirect -- call wrapper if available. -- Initialization_Statements -- Defined in constants and variables. For a composite object initialized -- with an aggregate that has been converted to a sequence of -- assignments, points to a compound statement containing the -- assignments. -- Inner_Instances -- Defined in generic units. Contains element list of units that are -- instantiated within the given generic. Used to diagnose circular -- instantiations. -- Interface_Alias -- Defined in subprograms that cover a primitive operation of an abstract -- interface type. Can be set only if the Is_Hidden flag is also set, -- since such entities are always hidden. Points to its associated -- interface subprogram. It is used to register the subprogram in -- secondary dispatch table of the interface (Ada 2005: AI-251). -- Interface_Name -- Defined in constants, variables, exceptions, functions, procedures, -- and packages. Set to Empty unless an export, import, or interface name -- pragma has explicitly specified an external name, in which case it -- references an N_String_Literal node for the specified external name. -- Note that if this field is Empty, and Is_Imported or Is_Exported is -- set, then the default interface name is the name of the entity, cased -- in a manner that is appropriate to the system in use. Note that -- Interface_Name is ignored if an address clause is present (since it -- is meaningless in this case). -- Interfaces -- Defined in record types and subtypes. List of abstract interfaces -- implemented by a tagged type that are not already implemented by the -- ancestors (Ada 2005: AI-251). -- Invariant_Procedure (synthesized) -- Defined in types and subtypes. Set for private types and their full -- views if one or more [class-wide] invariants apply to the type, or -- when the type inherits class-wide invariants from a parent type or -- an interface, or when the type is an array and its component type is -- subject to an invariant, or when the type is record and contains a -- component subject to an invariant (property is recursive). Points to -- to the entity for a procedure which checks all these invariants. The -- invariant procedure takes a single argument of the given type, and -- returns if the invariant holds, or raises exception Assertion_Error -- with an appropriate message if it does not hold. This attribute is -- defined but always Empty for private subtypes. -- Note: the reason this is marked as a synthesized attribute is that the -- way this is stored is as an element of the Subprograms_For_Type field. -- In_Use -- Defined in packages and types. Set when analyzing a use clause for -- the corresponding entity. Reset at end of corresponding declarative -- part. The flag on a type is also used to determine the visibility of -- the primitive operators of the type. -- Is_Abstract_Subprogram -- Defined in all subprograms and entries. Set for abstract subprograms. -- Always False for enumeration literals and entries. See also -- Requires_Overriding. -- Is_Abstract_Type -- Defined in all types. Set for abstract types. -- Is_Access_Constant -- Defined in access types and subtypes. Indicates that the keyword -- constant was present in the access type definition. -- Is_Access_Protected_Subprogram_Type (synthesized) -- Applies to all types, true for named and anonymous access to -- protected subprograms. -- Is_Access_Type (synthesized) -- Applies to all entities, true for access types and subtypes -- Is_Access_Object_Type (synthesized) -- Applies to all entities, true for access-to-object types and subtypes -- Is_Activation_Record -- Applies to E_In_Parameters generated in Exp_Unst for nested -- subprograms, to mark the added formal that carries the activation -- record created in the enclosing subprogram. -- Is_Actual_Subtype -- Defined on all types, true for the generated constrained subtypes -- that are built for unconstrained composite actuals. -- Is_Ada_2005_Only -- Defined in all entities, true if a valid pragma Ada_05 or Ada_2005 -- applies to the entity which specifically names the entity, indicating -- that the entity is Ada 2005 only. Note that this flag is not set if -- the entity is part of a unit compiled with the normal no-argument form -- of pragma Ada_05 or Ada_2005. -- Is_Ada_2012_Only -- Defined in all entities, true if a valid pragma Ada_12 or Ada_2012 -- applies to the entity which specifically names the entity, indicating -- that the entity is Ada 2012 only. Note that this flag is not set if -- the entity is part of a unit compiled with the normal no-argument form -- of pragma Ada_12 or Ada_2012. -- Is_Ada_2022_Only -- Defined in all entities, true if a valid pragma Ada_2022 applies to -- the entity which specifically names the entity, indicating that the -- entity is Ada 2022 only. Note that this flag is not set if the entity -- is part of a unit compiled with the normal no-argument form of pragma -- Ada_2022. -- Is_Aliased -- Defined in all entities. Set for objects and types whose declarations -- carry the keyword aliased, and on record components that have the -- keyword. For Ada 2012, also applies to formal parameters. -- Is_Array_Type (synthesized) -- Applies to all entities, true for array types and subtypes -- Is_Asynchronous -- Defined in all type entities and in procedure entities. Set -- if a pragma Asynchronous applies to the entity. -- Is_Atomic -- Defined in all type entities, and also in constants, components, and -- variables. Set if a pragma Atomic or Shared applies to the entity. -- In the case of private and incomplete types, this flag is set in -- both the partial view and the full view. -- Is_Full_Access (synth) -- Defined in all type entities, and also in constants, components and -- variables. Set if an aspect/pragma Atomic/Shared, or an aspect/pragma -- Volatile_Full_Access or an Ada 2022 aspect Full_Access_Only applies -- to the entity. In the case of private and incomplete types, the flag -- applies to both the partial view and the full view. -- Is_Base_Type (synthesized) -- Applies to type and subtype entities. True if entity is a base type. -- Is_Bit_Packed_Array [implementation base type only] -- Defined in all entities. This flag is set for a packed array type that -- is bit-packed (i.e. the component size is known by the front end and -- is in the range 1-63 but not a multiple of 8). Is_Packed is always set -- if Is_Bit_Packed_Array is set, but it is possible for Is_Packed to be -- set without Is_Bit_Packed_Array if the component size is not known by -- the front-end or for the case of an array having one or more index -- types that are enumeration types with non-standard representation. -- Is_Boolean_Type (synthesized) -- Applies to all entities, true for boolean types and subtypes, -- i.e. Standard.Boolean and all types ultimately derived from it. -- Is_Called -- Defined in subprograms and packages. Set if a subprogram is called -- from the unit being compiled or a unit in the closure. Also set for -- a package that contains called subprograms. Used only for inlining. -- Is_Character_Type -- Defined in all entities. Set for character types and subtypes, -- i.e. enumeration types that have at least one character literal. -- Is_Checked_Ghost_Entity -- Applies to all entities. Set for abstract states, [generic] packages, -- [generic] subprograms, components, discriminants, formal parameters, -- objects, package bodies, subprogram bodies, and [sub]types subject to -- pragma Ghost or inherit "ghostness" from an enclosing construct, and -- subject to Assertion_Policy Ghost => Check. -- Is_Child_Unit -- Defined in all entities. Set only for defining entities of program -- units that are child units (but False for subunits). -- Is_Class_Wide_Equivalent_Type -- Defined in record types and subtypes. Set to True, if the type acts -- as a class-wide equivalent type, i.e. the Equivalent_Type field of -- some class-wide subtype entity references this record type. -- Is_Class_Wide_Type (synthesized) -- Applies to all entities, true for class wide types and subtypes -- Is_Class_Wide_Wrapper -- Defined in subprogram entities. Indicates that it has been created as -- a wrapper in a generic/instance scenario involving a formal type and -- a generic primitive operation when the actual is a class-wide type. -- Is_Compilation_Unit -- Defined in all entities. Set if the entity is a package or subprogram -- entity for a compilation unit other than a subunit (since we treat -- subunits as part of the same compilation operation as the ultimate -- parent, we do not consider them to be separate units for this flag). -- Is_Completely_Hidden -- Defined on discriminants. Only set on stored discriminants of -- untagged types. When set, the entity is a stored discriminant of a -- derived untagged type which is not directly visible in the derived -- type because the derived type or one of its ancestors have renamed the -- discriminants in the root type. Note: there are stored discriminants -- which are not Completely_Hidden (e.g. discriminants of a root type). -- Is_Composite_Type (synthesized) -- Applies to all entities, true for all composite types and subtypes. -- Either Is_Composite_Type or Is_Elementary_Type (but not both) is true -- of any type. -- Is_Concurrent_Record_Type -- Defined in record types and subtypes. Set if the type was created -- by the expander to represent a task or protected type. For every -- concurrent type, such as record type is constructed, and task and -- protected objects are instances of this record type at run time -- (The backend will replace declarations of the concurrent type using -- the declarations of the corresponding record type). See Exp_Ch9 for -- further details. -- Is_Concurrent_Type (synthesized) -- Applies to all entities, true for task types and subtypes and for -- protected types and subtypes. -- Is_Constant_Object (synthesized) -- Applies to all entities, true for E_Constant, E_Loop_Parameter, and -- E_In_Parameter entities. -- Is_Constrained -- Defined in types or subtypes which may have index, discriminant -- or range constraint (i.e. array types and subtypes, record types -- and subtypes, string types and subtypes, and all numeric types). -- Set if the type or subtype is constrained. -- Is_Constr_Subt_For_U_Nominal -- Defined in all types and subtypes. Set only for the constructed -- subtype of an object whose nominal subtype is unconstrained. Note -- that the constructed subtype itself will be constrained. -- Is_Constr_Subt_For_UN_Aliased -- Defined in all types and subtypes. This flag can be set only if -- Is_Constr_Subt_For_U_Nominal is also set. It indicates that in -- addition the object concerned is aliased. This flag is used by -- the backend to determine whether a template must be constructed. -- Is_Constructor -- Defined in function and procedure entities. Set if a pragma -- CPP_Constructor applies to the subprogram. -- Is_Controlled_Active [base type only] -- Defined in all type entities. Indicates that the type is controlled, -- i.e. is either a descendant of Ada.Finalization.Controlled or of -- Ada.Finalization.Limited_Controlled. -- Is_Controlled (synth) [base type only] -- Defined in all type entities. Set if Is_Controlled_Active is set for -- the type, and Disable_Controlled is not set. -- Is_Controlling_Formal -- Defined in all Formal_Kind entities. Marks the controlling parameters -- of dispatching operations. -- Is_CPP_Class -- Defined in all type entities, set only for tagged types to which a -- valid pragma Import (CPP, ...) or pragma CPP_Class has been applied. -- Is_CUDA_Kernel -- Defined in function and procedure entities. Set if the subprogram is a -- CUDA kernel. -- Is_Decimal_Fixed_Point_Type (synthesized) -- Applies to all type entities, true for decimal fixed point -- types and subtypes. -- Is_Descendant_Of_Address -- Defined in all entities. True if the entity is type System.Address, -- or (recursively) a subtype or derived type of System.Address. -- Is_DIC_Procedure -- Defined in functions and procedures. Set for a generated procedure -- which verifies the assumption of pragma Default_Initial_Condition at -- run time. -- Is_Discrete_Or_Fixed_Point_Type (synthesized) -- Applies to all entities, true for all discrete types and subtypes -- and all fixed-point types and subtypes. -- Is_Discrete_Type (synthesized) -- Applies to all entities, true for all discrete types and subtypes -- Is_Discrim_SO_Function -- Defined in all entities. Set only in E_Function entities that Layout -- creates to compute discriminant-dependent dynamic size/offset values. -- Is_Discriminant_Check_Function -- Defined in all entities. Set only in E_Function entities for functions -- created to do discriminant checks. -- Is_Discriminal (synthesized) -- Applies to all entities, true for renamings of discriminants. Such -- entities appear as constants or IN parameters. -- Is_Dispatch_Table_Entity -- Applies to all entities. Set to indicate to the backend that this -- entity is associated with a dispatch table. -- Is_Dispatch_Table_Wrapper -- Applies to all entities. Set on wrappers built when the subprogram has -- class-wide preconditions or class-wide postconditions affected by -- overriding (AI12-0195). -- Is_Dispatching_Operation -- Defined in all entities. Set for procedures, functions, generic -- procedures, and generic functions if the corresponding operation -- is dispatching. -- Is_Dynamic_Scope (synthesized) -- Applies to all Entities. Returns True if the entity is a dynamic -- scope (i.e. a block, subprogram, task_type, entry or extended return -- statement). -- Is_Elaboration_Checks_OK_Id -- Defined in elaboration targets (see terminology in Sem_Elab). Set when -- the target appears in a region which is subject to elabled elaboration -- checks. Such targets are allowed to generate run-time conditional ABE -- checks or guaranteed ABE failures. -- Is_Elaboration_Target (synthesized) -- Applies to all entities, True only for elaboration targets (see the -- terminology in Sem_Elab). -- Is_Elaboration_Warnings_OK_Id -- Defined in elaboration targets (see terminology in Sem_Elab). Set when -- the target appears in a region with elaboration warnings enabled. -- Is_Elementary_Type (synthesized) -- Applies to all entities, True for all elementary types and subtypes. -- Either Is_Composite_Type or Is_Elementary_Type (but not both) is true -- of any type. -- Is_Eliminated -- Defined in type entities, subprogram entities, and object entities. -- Indicates that the corresponding entity has been eliminated by use -- of pragma Eliminate. Also used to mark subprogram entities whose -- declaration and body are within unreachable code that is removed. -- Is_Entry (synthesized) -- Applies to all entities, True only for entry and entry family -- entities and False for all other entity kinds. -- Is_Entry_Formal -- Defined in all entities. Set only for entry formals (which can only -- be in, in-out or out parameters). This flag is used to speed up the -- test for the need to replace references in Exp_Ch2. -- Is_Entry_Wrapper -- Defined on wrappers created for entries that have precondition aspects -- Is_Enumeration_Type (synthesized) -- Defined in all entities, true for enumeration types and subtypes -- Is_Exception_Handler -- Defined in blocks. Set if the block serves only as a scope of an -- exception handler with a choice parameter. Such a block does not -- physically appear in the tree. -- Is_Exported -- Defined in all entities. Set if the entity is exported. For now we -- only allow the export of constants, exceptions, functions, procedures -- and variables, but that may well change later on. Exceptions can only -- be exported in the Java VM implementation of GNAT, which is retired. -- Is_External_State (synthesized) -- Applies to all entities, true for abstract states that are subject to -- option External or Synchronous. -- Is_Finalized_Transient -- Defined in constants, loop parameters of generalized iterators, and -- variables. Set when a transient object has been finalized by one of -- the transient finalization mechanisms. The flag prevents the double -- finalization of the object. -- Is_Finalizer (synthesized) -- Applies to all entities, true for procedures containing finalization -- code to process local or library level objects. -- Is_First_Subtype -- Defined in all entities. True for first subtypes (RM 3.2.1(6)), -- i.e. the entity in the type declaration that introduced the type. -- This may be the base type itself (e.g. for record declarations and -- enumeration type declarations), or it may be the first subtype of -- an anonymous base type (e.g. for integer type declarations or -- constrained array declarations). -- Is_Fixed_Lower_Bound_Array_Subtype -- Defined in type entities. True for unconstrained array types and -- subtypes where at least one index has a range specified with a fixed -- lower bound (range syntax is "<expression> .. <>"). -- Is_Fixed_Lower_Bound_Index_Subtype -- Defined in type entities. True for an index of an unconstrained array -- type or subtype whose range is specified with a fixed lower bound -- (range syntax is "<expression> .. <>"). -- Is_Fixed_Point_Type (synthesized) -- Applies to all entities, true for decimal and ordinary fixed -- point types and subtypes. -- Is_Floating_Point_Type (synthesized) -- Applies to all entities, true for float types and subtypes -- Is_Formal (synthesized) -- Applies to all entities, true for IN, IN OUT and OUT parameters -- Is_Formal_Object (synthesized) -- Applies to all entities, true for generic IN and IN OUT parameters -- Is_Formal_Subprogram -- Defined in all entities. Set for generic formal subprograms. -- Is_Frozen -- Defined in all type and subtype entities. Set if type or subtype has -- been frozen. -- Is_Generic_Actual_Subprogram -- Defined on functions and procedures. Set on the entity of the renaming -- declaration created within an instance for an actual subprogram. -- Used to generate constraint checks on calls to these subprograms, even -- within an instance of a predefined run-time unit, in which checks -- are otherwise suppressed. -- Is_Generic_Actual_Type -- Defined in all type and subtype entities. Set in the subtype -- declaration that renames the generic formal as a subtype of the -- actual. Guarantees that the subtype is not static within the instance. -- Also used during analysis of an instance, to simplify resolution of -- accidental overloading that occurs when different formal types get the -- same actual. -- Is_Generic_Instance -- Defined in all entities. Set to indicate that the entity is an -- instance of a generic unit, or a formal package (which is an instance -- of the template). -- Is_Generic_Subprogram (synthesized) -- Applies to all entities. Yields True for a generic subprogram -- (generic function, generic subprogram), False for all other entities. -- Is_Generic_Type -- Defined in all entities. Set for types which are generic formal types. -- Such types have an Ekind that corresponds to their classification, so -- the Ekind cannot be used to identify generic formal types. -- Is_Generic_Unit (synthesized) -- Applies to all entities. Yields True for a generic unit (generic -- package, generic function, generic procedure), and False for all -- other entities. -- Is_Ghost_Entity (synthesized) -- Applies to all entities. Yields True for abstract states, [generic] -- packages, [generic] subprograms, components, discriminants, formal -- parameters, objects, package bodies, subprogram bodies, and [sub]types -- subject to pragma Ghost or those that inherit the Ghost property from -- an enclosing construct. -- Is_Hidden -- Defined in all entities. Set for all entities declared in the -- private part or body of a package. Also marks generic formals of a -- formal package declared without a box. For library level entities, -- this flag is set if the entity is not publicly visible. This flag -- is reset when compiling the body of the package where the entity -- is declared, when compiling the private part or body of a public -- child unit, and when compiling a private child unit (see Install_ -- Private_Declaration in sem_ch7). -- Is_Hidden_Non_Overridden_Subpgm -- Defined in all entities. Set for implicitly declared subprograms -- that require overriding or are null procedures, and are hidden by -- a non-fully conformant homograph with the same characteristics -- (Ada RM 8.3 12.3/2). -- Is_Hidden_Open_Scope -- Defined in all entities. Set for a scope that contains the -- instantiation of a child unit, and whose entities are not visible -- during analysis of the instance. -- Is_Ignored_Ghost_Entity -- Applies to all entities. Set for abstract states, [generic] packages, -- [generic] subprograms, components, discriminants, formal parameters, -- objects, package bodies, subprogram bodies, and [sub]types subject to -- pragma Ghost or inherit "ghostness" from an enclosing construct, and -- subject to Assertion_Policy Ghost => Ignore. -- Is_Ignored_Transient -- Defined in constants, loop parameters of generalized iterators, and -- variables. Set when a transient object must be processed by one of -- the transient finalization mechanisms. Once marked, a transient is -- intentionally ignored by the general finalization mechanism because -- its clean up actions are context specific. -- Is_Immediately_Visible -- Defined in all entities. Set if entity is immediately visible, i.e. -- is defined in some currently open scope (RM 8.3(4)). -- Is_Implementation_Defined -- Defined in all entities. Set if a pragma Implementation_Defined is -- applied to the pragma. Used to mark all implementation defined -- identifiers in standard library packages, and to implement the -- restriction No_Implementation_Identifiers. -- Is_Imported -- Defined in all entities. Set if the entity is imported. For now we -- only allow the import of exceptions, functions, procedures, packages, -- constants, and variables. Exceptions, packages, and types can only be -- imported in the Java VM implementation, which is retired. -- Is_Incomplete_Or_Private_Type (synthesized) -- Applies to all entities, true for private and incomplete types -- Is_Incomplete_Type (synthesized) -- Applies to all entities, true for incomplete types and subtypes -- Is_Independent -- Defined in all types and objects. Set if a valid pragma or aspect -- Independent applies to the entity, or for a component if a valid -- pragma or aspect Independent_Components applies to the enclosing -- record type. Also set if a pragma Shared or pragma Atomic applies to -- the entity, or if the declaration of the entity carries the Aliased -- keyword. For Ada 2012, also applies to formal parameters. In the -- case of private and incomplete types, this flag is set in both the -- partial view and the full view. -- Is_Initial_Condition_Procedure -- Defined in functions and procedures. Set for a generated procedure -- which verifies the assumption of pragma Initial_Condition at run time. -- Is_Inlined -- Defined in all entities. Set for functions and procedures which are -- to be inlined. For subprograms created during expansion, this flag -- may be set directly by the expander to request inlining. Also set -- for packages that contain inlined subprograms, whose bodies must be -- be compiled. Is_Inlined is also set on generic subprograms and is -- inherited by their instances. It is also set on the body entities -- of inlined subprograms. See also Has_Pragma_Inline. -- Is_Inlined_Always -- Defined in subprograms. Set for functions and procedures which are -- always inlined in GNATprove mode. GNATprove uses this flag to know -- when a body does not need to be analyzed. The value of this flag is -- only meaningful if Body_To_Inline is not Empty for the subprogram. -- Is_Instantiated -- Defined in generic packages and generic subprograms. Set if the unit -- is instantiated from somewhere in the extended main source unit. This -- flag is used to control warnings about the unit being uninstantiated. -- Also set in a package that is used as an actual for a generic package -- formal in an instantiation. Also set on a parent instance, in the -- instantiation of a child, which is implicitly declared in the parent. -- Is_Integer_Type (synthesized) -- Applies to all entities, true for integer types and subtypes -- Is_Interface -- Defined in record types and subtypes. Set to indicate that the current -- entity corresponds to an abstract interface. Because abstract -- interfaces are conceptually a special kind of abstract tagged type -- we represent them by means of tagged record types and subtypes -- marked with this attribute. This allows us to reuse most of the -- compiler support for abstract tagged types to implement interfaces -- (Ada 2005: AI-251). -- Is_Internal -- Defined in all entities. Set to indicate an entity created during -- semantic processing (e.g. an implicit type, or a temporary). The -- current uses of this flag are: -- -- 1) Internal entities (such as temporaries generated for the result -- of an inlined function call or dummy variables generated for the -- debugger). Set to indicate that they need not be initialized, even -- when scalars are initialized or normalized. -- -- 2) Predefined primitives of tagged types. Set to mark that they -- have specific properties: first they are primitives even if they -- are not defined in the type scope (the freezing point is not -- necessarily in the same scope), and second the predefined equality -- can be overridden by a user-defined equality, no body will be -- generated in this case. -- -- 3) Object declarations generated by the expander that are implicitly -- imported or exported so that they can be marked in Sprint output. -- -- 4) Internal entities in the list of primitives of tagged types that -- are used to handle secondary dispatch tables. These entities have -- also the attribute Interface_Alias. -- Is_Interrupt_Handler -- Defined in procedures. Set if a pragma Interrupt_Handler applies -- to the procedure. The procedure must be a parameterless protected -- procedure. -- Is_Intrinsic_Subprogram -- Defined in functions and procedures. It is set if a valid pragma -- Interface or Import is present for this subprogram specifying -- convention Intrinsic. Valid means that the name and profile of the -- subprogram match the requirements of one of the recognized intrinsic -- subprograms (see package Sem_Intr for details). Note: the value of -- Convention for such an entity will be set to Convention_Intrinsic, -- but it is the setting of Is_Intrinsic_Subprogram, NOT simply having -- convention set to intrinsic, which causes intrinsic code to be -- generated. -- Is_Invariant_Procedure -- Defined in functions and procedures. Set for a generated invariant -- procedure which verifies the invariants of both the partial and full -- views of a private type or private extension as well as any inherited -- class-wide invariants from parent types or interfaces. -- Is_Itype -- Defined in all entities. Set to indicate that a type is an Itype, -- which means that the declaration for the type does not appear -- explicitly in the tree. Instead the backend will elaborate the type -- when it is first used. Has_Delayed_Freeze can be set for Itypes, and -- the meaning is that the first use (the one which causes the type to be -- defined) will be the freeze node. Note that an important restriction -- on Itypes is that the first use of such a type (the one that causes it -- to be defined) must be in the same scope as the type. -- Is_Known_Non_Null -- Defined in all entities. Relevant (and can be set) only for -- objects of an access type. It is set if the object is currently -- known to have a non-null value (meaning that no access checks -- are needed). The indication can for example come from assignment -- of an access parameter or an allocator whose value is known non-null. -- -- Note: this flag is set according to the sequential flow of the -- program, watching the current value of the variable. However, this -- processing can miss cases of changing the value of an aliased or -- constant object, so even if this flag is set, it should not be -- believed if the variable is aliased or volatile. It would be a -- little neater to avoid the flag being set in the first place in -- such cases, but that's trickier, and there is only one place that -- tests the value anyway. -- -- The flag is dynamically set and reset as semantic analysis and -- expansion proceeds. Its value is meaningless once the tree is -- fully constructed, since it simply indicates the last state. -- Thus this flag has no meaning to the backend. -- Is_Known_Null -- Defined in all entities. Relevant (and can be set ) only for -- objects of an access type. It is set if the object is currently known -- to have a null value (meaning that a dereference will surely raise -- constraint error exception). The indication can come from an -- assignment or object declaration. -- -- The comments above about sequential flow and aliased and volatile for -- the Is_Known_Non_Null flag apply equally to the Is_Known_Null flag. -- Is_Known_Valid -- Defined in all entities. Relevant for types (and subtype) and -- for objects (and enumeration literals) of a discrete type. -- -- The purpose of this flag is to implement the requirement stated -- in (RM 13.9.1(9-11)) which require that the use of possibly invalid -- values may not cause programs to become erroneous. See the function -- Checks.Expr_Known_Valid for further details. Note that the setting -- is conservative, in the sense that if the flag is set, it must be -- right. If the flag is not set, nothing is known about the validity. -- -- For enumeration literals, the flag is always set, since clearly -- an enumeration literal represents a valid value. Range checks -- where necessary will ensure that this valid value is appropriate. -- -- For objects, the flag indicates the state of knowledge about the -- current value of the object. This may be modified during expansion, -- and thus the final value is not relevant to the backend. -- -- For types and subtypes, the flag is set if all possible bit patterns -- of length Object_Size (i.e. Esize of the type) represent valid values -- of the type. In general for such types, all values are valid, the -- only exception being the case where an object of the type has an -- explicit size that is greater than Object_Size. -- -- For non-discrete objects, the setting of the Is_Known_Valid flag is -- not defined, and is not relevant, since the considerations of the -- requirement in (RM 13.9.1(9-11)) do not apply. -- -- The flag is dynamically set and reset as semantic analysis and -- expansion proceeds. Its value is meaningless once the tree is -- fully constructed, since it simply indicates the last state. -- Thus this flag has no meaning to the backend. -- Is_Limited_Composite -- Defined in all entities. Set for composite types that have a limited -- component. Used to enforce the rule that operations on the composite -- type that depend on the full view of the component do not become -- visible until the immediate scope of the composite type itself -- (RM 7.3.1 (5)). -- Is_Limited_Interface -- Defined in record types and subtypes. True for interface types, if -- interface is declared limited, task, protected, or synchronized, or -- is derived from a limited interface. -- Is_Limited_Record -- Defined in all entities. Set to true for record (sub)types if the -- record is declared to be limited. Note that this flag is not set -- simply because some components of the record are limited. -- Is_Local_Anonymous_Access -- Defined in access types. Set for an anonymous access type to indicate -- that the type is created for a record component with an access -- definition, an array component, or (pre-Ada 2012) a standalone object. -- Such anonymous types have an accessibility level equal to that of the -- declaration in which they appear, unlike the anonymous access types -- that are created for access parameters, access discriminants, and -- (as of Ada 2012) stand-alone objects. -- Is_Loop_Parameter -- Applies to all entities. Certain loops, in particular "for ... of" -- loops, get transformed so that the loop parameter is declared by a -- variable declaration, so the entity is an E_Variable. This is True for -- such E_Variables; False otherwise. -- Is_Machine_Code_Subprogram -- Defined in subprogram entities. Set to indicate that the subprogram -- is a machine code subprogram (i.e. its body includes at least one -- code statement). Also indicates that all necessary semantic checks -- as required by RM 13.8(3) have been performed. -- Is_Modular_Integer_Type (synthesized) -- Applies to all entities. True if entity is a modular integer type -- Is_Non_Static_Subtype -- Defined in all type and subtype entities. It is set in some (but not -- all) cases in which a subtype is known to be non-static. Before this -- flag was added, the computation of whether a subtype was static was -- entirely synthesized, by looking at the bounds, and the immediate -- subtype parent. However, this method does not work for some Itypes -- that have no parent set (and the only way to find the immediate -- subtype parent is to go through the tree). For now, this flag is set -- conservatively, i.e. if it is set then for sure the subtype is non- -- static, but if it is not set, then the type may or may not be static. -- Thus the test for a static subtype is that this flag is clear AND that -- the bounds are static AND that the parent subtype (if available to be -- tested) is static. Eventually we should make sure this flag is always -- set right, at which point, these comments can be removed, and the -- tests for static subtypes greatly simplified. -- Is_Null_Init_Proc -- Defined in procedure entities. Set for generated init proc procedures -- (used to initialize composite types), if the code for the procedure -- is null (i.e. is a return and nothing else). Such null initialization -- procedures are generated in case some client is compiled using the -- Initialize_Scalars pragma, generating a call to this null procedure, -- but there is no need to call such procedures within a compilation -- unit, and this flag is used to suppress such calls. -- Is_Null_State (synthesized) -- Applies to all entities, true for an abstract state declared with -- keyword null. -- Is_Numeric_Type (synthesized) -- Applies to all entities, true for all numeric types and subtypes -- (integer, fixed, float). -- Is_Object (synthesized) -- Applies to all entities, true for entities representing objects, -- including generic formal parameters. -- Is_Obsolescent -- Defined in all entities. Set for any entity to which a valid pragma -- or aspect Obsolescent applies. -- Is_Only_Out_Parameter -- Defined in formal parameter entities. Set if this parameter is the -- only OUT parameter for this formal part. If there is more than one -- out parameter, or if there is some other IN OUT parameter then this -- flag is not set in any of them. Used in generation of warnings. -- Is_Ordinary_Fixed_Point_Type (synthesized) -- Applies to all entities, true for ordinary fixed point types and -- subtypes. -- Is_Package_Body_Entity -- Defined in all entities. Set for entities defined at the top level -- of a package body. Used to control externally generated names. -- Is_Package_Or_Generic_Package (synthesized) -- Applies to all entities. True for packages and generic packages. -- False for all other entities. -- Is_Packed [implementation base type only] -- Defined in all type entities. This flag is set only for record and -- array types which have a packed representation. There are four cases -- which cause packing: -- -- 1. Explicit use of pragma Pack to pack a record. -- 2. Explicit use of pragma Pack to pack an array. -- 3. Setting Component_Size of an array to a packable value. -- 4. Indexing an array with a non-standard enumeration type. -- -- For records, Is_Packed is always set if Has_Pragma_Pack is set, and -- can also be set on its own in a derived type which inherited its -- packed status. -- -- For arrays, Is_Packed is set if either Has_Pragma_Pack is set and the -- component size is either not known at compile time or known but not -- 8/16/32/64 bits, or a Component_Size clause exists and the specified -- value is smaller than 64 bits but not 8/16/32, or if the array has one -- or more index types that are enumeration types with a non-standard -- representation (in GNAT, we store such arrays compactly, using the Pos -- of the enumeration type value). As for the case of records, Is_Packed -- can be set on its own for a derived type. -- Before an array type is frozen, Is_Packed will always be set if -- Has_Pragma_Pack is set. Before the freeze point, it is not possible -- to know the component size, since the component type is not frozen -- until the array type is frozen. Thus Is_Packed for an array type -- before it is frozen means that packed is required. Then if it turns -- out that the component size doesn't require packing, the Is_Packed -- flag gets turned off. -- In the bit-packed array case (i.e. the component size is known by the -- front end and is in the range 1-63 but not a multiple of 8), then the -- Is_Bit_Packed_Array flag will be set once the array type is frozen. -- -- Is_Packed_Array (synth) -- Applies to all entities, true if entity is for a packed array. -- Is_Packed_Array_Impl_Type -- Defined in all entities. This flag is set on the entity for the type -- used to implement a packed array (either a modular type or a subtype -- of Packed_Bytes{1,2,4} in the bit-packed array case, a regular array -- in the non-standard enumeration index case). It is set if and only -- if the type appears in the Packed_Array_Impl_Type field of some other -- entity. It is used by the back end to activate the special processing -- for such types (unchecked conversions that would not otherwise be -- allowed are allowed for such types). If Is_Packed_Array_Impl_Type is -- set in an entity, then the Original_Array_Type field of this entity -- points to the array type for which this is the Packed_Array_Impl_Type. -- Is_Param_Block_Component_Type [base type only] -- Defined in access types. Set to indicate that a type is the type of a -- component of the parameter block record type generated by the compiler -- for an entry or a select statement. Read by CodePeer. -- Is_Partial_Invariant_Procedure -- Defined in functions and procedures. Set for a generated invariant -- procedure which verifies the invariants of the partial view of a -- private type or private extension. -- Is_Potentially_Use_Visible -- Defined in all entities. Set if entity is potentially use visible, -- i.e. it is defined in a package that appears in a currently active -- use clause (RM 8.4(8)). Note that potentially use visible entities -- are not necessarily use visible (RM 8.4(9-11)). -- Is_Predicate_Function -- Present in functions and procedures. Set for generated predicate -- functions. -- Is_Predicate_Function_M -- Present in functions and procedures. Set for special version of -- predicate function generated for use in membership tests, where -- raise expressions are transformed to return False. -- Is_Preelaborated -- Defined in all entities, set in E_Package and E_Generic_Package -- entities to which a pragma Preelaborate is applied, and also in -- all entities within such packages. Note that the fact that this -- flag is set does not necesarily mean that no elaboration code is -- generated for the package. -- Is_Primitive -- Defined in overloadable entities and in generic subprograms. Set to -- indicate that this is a primitive operation of some type, which may -- be a tagged type or an untagged type. Used to verify overriding -- indicators in bodies. -- Is_Primitive_Wrapper -- Defined in functions and procedures created by the expander to serve -- as an indirection mechanism to overriding primitives of concurrent -- types, entries and protected procedures. -- Is_Prival (synthesized) -- Applies to all entities, true for renamings of private protected -- components. Such entities appear as constants or variables. -- Is_Private_Composite -- Defined in composite types that have a private component. Used to -- enforce the rule that operations on the composite type that depend -- on the full view of the component, do not become visible until the -- immediate scope of the composite type itself (7.3.1 (5)). Both this -- flag and Is_Limited_Composite are needed. -- Is_Private_Descendant -- Defined in entities that can represent library units (packages, -- functions, procedures). Set if the library unit is itself a private -- child unit, or if it is the descendant of a private child unit. -- Is_Private_Primitive -- Defined in subprograms. Set if the operation is a primitive of a -- tagged type (procedure or function dispatching on result) whose -- full view has not been seen. Used in particular for primitive -- subprograms of a synchronized type declared between the two views -- of the type, so that the wrapper built for such a subprogram can -- be given the proper signature. -- Is_Private_Type (synthesized) -- Applies to all entities, true for private types and subtypes, -- as well as for record with private types as subtypes. -- Is_Protected_Component (synthesized) -- Applicable to all entities, true if the entity denotes a private -- component of a protected type. -- Is_Protected_Interface (synthesized) -- Defined in types that are interfaces. True if interface is declared -- protected, or is derived from protected interfaces. -- Is_Protected_Record_Type (synthesized) -- Applies to all entities, true if Is_Concurrent_Record_Type is true and -- Corresponding_Concurrent_Type is a protected type. -- Is_Protected_Type (synthesized) -- Applies to all entities, true for protected types and subtypes -- Is_Public -- Defined in all entities. Set to indicate that an entity defined in -- one compilation unit can be referenced from other compilation units. -- If this reference causes a reference in the generated code, for -- example in the case of a variable name, then the backend will generate -- an appropriate external name for use by the linker. -- Is_Pure -- Defined in all entities. Set in all entities of a unit to which a -- pragma Pure is applied except for non-intrinsic imported subprograms, -- and also set for the entity of the unit itself. In addition, this -- flag may be set for any other functions or procedures that are known -- to be side effect free, so in the case of subprograms, the Is_Pure -- flag may be used by the optimizer to imply that it can assume freedom -- from side effects (other than those resulting from assignment to Out -- or In Out parameters, or to objects designated by access parameters). -- Is_Pure_Unit_Access_Type -- Defined in access type and subtype entities. Set if the type or -- subtype appears in a pure unit. Used to give an error message at -- freeze time if the access type has a storage pool. -- Is_RACW_Stub_Type -- Defined in all types, true for the stub types generated for remote -- access-to-class-wide types. -- Is_Raised -- Defined in exception entities. Set if the entity is referenced by a -- a raise statement. -- Is_Real_Type (synthesized) -- Applies to all entities, true for real types and subtypes -- Is_Record_Type (synthesized) -- Applies to all entities, true for record types and subtypes, -- includes class-wide types and subtypes (which are also records). -- Is_Relaxed_Initialization_State (synthesized) -- Applies to all entities, true for abstract states that are subject to -- option Relaxed_Initialization. -- Is_Remote_Call_Interface -- Defined in all entities. Set in E_Package and E_Generic_Package -- entities to which a pragma Remote_Call_Interface is applied, and -- also on entities declared in the visible part of such a package. -- Is_Remote_Types -- Defined in all entities. Set in E_Package and E_Generic_Package -- entities to which a pragma Remote_Types is applied, and also on -- entities declared in the visible part of the spec of such a package. -- Also set for types which are generic formal types to which the -- pragma Remote_Access_Type applies. -- Is_Renaming_Of_Object -- Defined in all entities, set only for a variable or constant for -- which the Renamed_Object field is non-empty and for which the -- renaming is handled by the front end, by macro substitution of -- a copy of the (evaluated) name tree whereever the variable is used. -- Is_Return_Object -- Defined in all object entities. True if the object is the return -- object of an extended_return_statement; False otherwise. -- Is_Safe_To_Reevaluate -- Defined in all entities. Set in variables that are initialized by -- means of an assignment statement. When initialized their contents -- never change and hence they can be seen by the backend as constants. -- See also Is_True_Constant. -- Is_Scalar_Type (synthesized) -- Applies to all entities, true for scalar types and subtypes -- Is_Shared_Passive -- Defined in all entities. Set in E_Package and E_Generic_Package -- entities to which a pragma Shared_Passive is applied, and also in -- all entities within such packages. -- Is_Standard_Character_Type (synthesized) -- Applies to all entities, true for types and subtypes whose root type -- is one of the standard character types (Character, Wide_Character, or -- Wide_Wide_Character). -- Is_Standard_String_Type (synthesized) -- Applies to all entities, true for types and subtypes whose root -- type is one of the standard string types (String, Wide_String, or -- Wide_Wide_String). -- Is_Static_Type -- Defined in entities. Only set for (sub)types. If set, indicates that -- the type is known to be a static type (defined as a discrete type with -- static bounds, a record all of whose component types are static types, -- or an array, all of whose bounds are of a static type, and also have -- a component type that is a static type). See Set_Uplevel_Type for more -- information on how this flag is used. -- Is_Statically_Allocated -- Defined in all entities. This can only be set for exception, -- variable, constant, and type/subtype entities. If the flag is set, -- then the variable or constant must be allocated statically rather -- than on the local stack frame. For exceptions, the meaning is that -- the exception data should be allocated statically (and indeed this -- flag is always set for exceptions, since exceptions do not have -- local scope). For a type, the meaning is that the type must be -- elaborated at the global level rather than locally. No type marked -- with this flag may depend on a local variable, or on any other type -- which does not also have this flag set to True. For a variable or -- or constant, if the flag is set, then the type of the object must -- either be declared at the library level, or it must also have the -- flag set (since to allocate the object statically, its type must -- also be elaborated globally). -- Is_String_Type (synthesized) -- Applies to all type entities. Determines if the given type is a -- string type, i.e. it is directly a string type or string subtype, -- or a string slice type, or an array type with one dimension and a -- component type that is a character type. -- Is_Subprogram (synthesized) -- Applies to all entities, true for function, procedure and operator -- entities. -- Is_Subprogram_Or_Generic_Subprogram -- Applies to all entities, true for function procedure and operator -- entities, and also for the corresponding generic entities. -- Is_Synchronized_Interface (synthesized) -- Defined in types that are interfaces. True if interface is declared -- synchronized, task, or protected, or is derived from a synchronized -- interface. -- Is_Synchronized_State (synthesized) -- Applies to all entities, true for abstract states that are subject to -- option Synchronous. -- Is_Tag -- Defined in E_Component and E_Constant entities. For regular tagged -- type this flag is set on the tag component (whose name is Name_uTag). -- For CPP_Class tagged types, this flag marks the pointer to the main -- vtable (i.e. the one to be extended by derivation). -- Is_Tagged_Type -- Defined in all entities, set for an entity that is a tagged type -- Is_Task_Interface (synthesized) -- Defined in types that are interfaces. True if interface is declared as -- a task interface, or if it is derived from task interfaces. -- Is_Task_Record_Type (synthesized) -- Applies to all entities, true if Is_Concurrent_Record_Type is true and -- Corresponding_Concurrent_Type is a task type. -- Is_Task_Type (synthesized) -- Applies to all entities. True for task types and subtypes -- Is_Thunk -- Defined in all entities. True for subprograms that are thunks: that is -- small subprograms built by the expander for tagged types that cover -- interface types. As part of the runtime call to an interface, thunks -- displace the pointer to the object (pointer named "this" in the C++ -- terminology) from a secondary dispatch table to the primary dispatch -- table associated with a given tagged type; if the thunk is a function -- that returns an object which covers an interface type then the thunk -- displaces the pointer to the object from the primary dispatch table to -- the secondary dispatch table associated with the interface type. Set -- by Expand_Interface_Thunk and used by Expand_Call to handle extra -- actuals associated with accessibility level. -- Is_Trivial_Subprogram -- Defined in all entities. Set in subprograms where either the body -- consists of a single null statement, or the first or only statement -- of the body raises an exception. This is used for suppressing certain -- warnings, see Sem_Ch6.Analyze_Subprogram_Body discussion for details. -- Is_True_Constant -- Defined in all entities for constants and variables. Set in constants -- and variables which have an initial value specified but which are -- never assigned, partially or in the whole. For variables, it means -- that the variable was initialized but never modified, and hence can be -- treated as a constant by the code generator. For a constant, it means -- that the constant was not modified by generated code (e.g. to set a -- discriminant in an init proc). Assignments by user or generated code -- will reset this flag. See also Is_Safe_To_Reevaluate. -- Is_Type (synthesized) -- Applies to all entities, true for a type entity -- Is_Unchecked_Union [implementation base type only] -- Defined in all entities. Set only in record types to which the -- pragma Unchecked_Union has been validly applied. -- Is_Underlying_Full_View -- Defined in all entities. Set for types which represent the true full -- view of a private type completed by another private type. For further -- details, see attribute Underlying_Full_View. -- Is_Underlying_Record_View [base type only] -- Defined in all entities. Set only in record types that represent the -- underlying record view. This view is built for derivations of types -- with unknown discriminants; it is a record with the same structure -- as its corresponding record type, but whose parent is the full view -- of the parent in the original type extension. -- Is_Unimplemented -- Defined in all entities. Set for any entity to which a valid pragma -- or aspect Unimplemented applies. -- Is_Unsigned_Type -- Defined in all types, but can be set only for discrete and fixed-point -- type and subtype entities. This flag is only valid if the entity is -- frozen. If set it indicates that the representation is known to be -- unsigned (i.e. that no negative values appear in the range). This is -- normally just a reflection of the lower bound of the subtype or base -- type, but there is one case in which the setting is not obvious, -- namely the case of an unsigned subtype of a signed type from which -- a further subtype is obtained using variable bounds. This further -- subtype is still unsigned, but this cannot be determined by looking -- at its bounds or the bounds of the corresponding base type. -- For a subtype indication whose range is statically a null range, -- the flag is set if the lower bound is non-negative, but the flag -- cannot be used to determine the comparison operator to emit in the -- generated code: use the base type. -- Is_Uplevel_Referenced_Entity -- Defined in all entities. Used when unnesting subprograms to indicate -- that an entity is locally defined within a subprogram P, and there is -- a reference to the entity within a subprogram nested within P (at any -- depth). Set for uplevel referenced objects (variables, constants, -- discriminants and loop parameters), and also for upreferenced dynamic -- types, including the cases where the reference is implicit (e.g. the -- type of an array used for computing the location of an element in an -- array. This is used internally in Exp_Unst, see this package for -- further details. -- Is_Valued_Procedure -- Defined in procedure entities. Set if an Import_Valued_Procedure -- or Export_Valued_Procedure pragma applies to the procedure entity. -- Is_Visible_Formal -- Defined in all entities. Set for instances of the formals of a -- formal package. Indicates that the entity must be made visible in the -- body of the instance, to reproduce the visibility of the generic. -- This simplifies visibility settings in instance bodies. -- Is_Visible_Lib_Unit -- Defined in all (root or child) library unit entities. Once compiled, -- library units remain chained to the entities in the parent scope, and -- a separate flag must be used to indicate whether the names are visible -- by selected notation, or not. -- Is_Volatile -- Defined in all type entities, and also in constants, components and -- variables. Set if a pragma Volatile applies to the entity. Also set -- if pragma Shared or pragma Atomic applies to entity. In the case of -- private or incomplete types, this flag is set in both the private -- and full view. The flag is not set reliably on private subtypes, -- and is always retrieved from the base type (but this is not a base- -- type-only attribute because it applies to other entities). Note that -- the backend should use Treat_As_Volatile, rather than Is_Volatile -- to indicate code generation requirements for volatile variables. -- Similarly, any front end test which is concerned with suppressing -- optimizations on volatile objects should test Treat_As_Volatile -- rather than testing this flag. -- This is a synthesized attribute in Einfo.Utils, based on -- Is_Volatile_Type and Is_Volatile_Object. The latter two should be -- used in preference to Is_Volatile when we know that we have a type -- or an object. -- Is_Volatile_Full_Access -- Defined in all type entities, and also in constants, components, and -- variables. Set if an aspect/pragma Volatile_Full_Access or an Ada 2022 -- aspect Full_Access_Only applies to the entity. In the case of private -- and incomplete types, this flag is set in both the partial view and -- the full view. -- Is_Wrapper_Package (synthesized) -- Defined in package entities. Indicates that the package has been -- created as a wrapper for a subprogram instantiation. -- Is_Wrapper -- Defined in subprogram entities. Indicates that it has been created as -- a wrapper to handle inherited class-wide pre/post conditions that call -- overridden primitives or as a wrapper of a controlling function. -- Itype_Printed -- Defined in all type and subtype entities. Set in Itypes if the Itype -- has been printed by Sprint. This is used to avoid printing an Itype -- more than once. -- Kill_Elaboration_Checks -- Defined in all entities. Set by the expander to kill elaboration -- checks which are known not to be needed. Equivalent in effect to -- the use of pragma Suppress (Elaboration_Checks) for that entity -- except that the effect is permanent and cannot be undone by a -- subsequent pragma Unsuppress. -- Kill_Range_Checks -- Defined in all entities. Equivalent in effect to the use of pragma -- Suppress (Range_Checks) for that entity except that the result is -- permanent and cannot be undone by a subsequent pragma Unsuppress. -- This is currently only used in one odd situation in Sem_Ch3 for -- record types, and it would be good to get rid of it??? -- Known_To_Have_Preelab_Init -- Defined in all type and subtype entities. If set, then the type is -- known to have preelaborable initialization. In the case of a partial -- view of a private type, it is only possible for this to be set if a -- pragma Preelaborable_Initialization is given for the type. For other -- types, it is never set if the type does not have preelaborable -- initialization, it may or may not be set if the type does have -- preelaborable initialization. -- Last_Aggregate_Assignment -- Applies to controlled constants and variables initialized by an -- aggregate. Points to the last statement associated with the expansion -- of the aggregate. The attribute is used by the finalization machinery -- when marking an object as successfully initialized. -- Last_Assignment -- Defined in entities for variables, and OUT or IN OUT formals. Set for -- a local variable or formal to point to the left side of an assignment -- statement assigning a value to the variable. Cleared if the value of -- the entity is referenced. Used to warn about dubious assignment -- statements whose value is not used. -- Last_Entity -- Defined in all entities which act as scopes to which a list of -- associated entities is attached (blocks, class subtypes and types, -- entries, functions, loops, packages, procedures, protected objects, -- record types and subtypes, private types, task types and subtypes). -- Points to the last entry in the list of associated entities chained -- through the Next_Entity field. Empty if no entities are chained. -- Last_Formal (synthesized) -- Applies to subprograms and subprogram types, and also in entries -- and entry families. Returns last formal of the subprogram or entry. -- The formals are the first entities declared in a subprogram or in -- a subprogram type (the designated type of an Access_To_Subprogram -- definition) or in an entry. -- Limited_View -- Defined in non-generic package entities that are not instances. Bona -- fide package with the limited-view list through the first_entity and -- first_private attributes. The elements of this list are the shadow -- entities created for the types and local packages that are declared -- in a package appearing in a limited_with clause (Ada 2005: AI-50217). -- Linker_Section_Pragma -- Present in constant, variable, type and subprogram entities. Points -- to a linker section pragma that applies to the entity, or is Empty if -- no such pragma applies. Note that for constants and variables, this -- field may be set as a result of a linker section pragma applied to the -- type of the object. -- Lit_Hash -- Defined in enumeration types and subtypes. Non-empty only for the -- case of an enumeration root type, where it contains the entity for -- the generated hash function. See unit Exp_Imgv for full details of -- the nature and use of this entity for implementing the Value -- attribute for the enumeration type in question. -- Lit_Indexes -- Defined in enumeration types and subtypes. Non-empty only for the -- case of an enumeration root type, where it contains the entity for -- the generated indexes entity. See unit Exp_Imgv for full details of -- the nature and use of this entity for implementing the Image and -- Value attributes for the enumeration type in question. -- Lit_Strings -- Defined in enumeration types and subtypes. Non-empty only for the -- case of an enumeration root type, where it contains the entity for -- the literals string entity. See unit Exp_Imgv for full details of -- the nature and use of this entity for implementing the Image and -- Value attributes for the enumeration type in question. -- Low_Bound_Tested -- Defined in all entities. Currently this can only be set for formal -- parameter entries of a standard unconstrained one-dimensional array -- or string type. Indicates that an explicit test of the low bound of -- the formal appeared in the code, e.g. in a pragma Assert. If this -- flag is set, warnings about assuming the index low bound to be one -- are suppressed. -- Machine_Radix_10 -- Defined in decimal types and subtypes, set if the Machine_Radix is 10, -- as the result of the specification of a machine radix representation -- clause. Note that it is possible for this flag to be set without -- having Has_Machine_Radix_Clause True. This happens when a type is -- derived from a type with a clause present. -- Master_Id -- Defined in access types and subtypes. Empty unless Has_Task is set for -- the designated type, in which case it points to the entity for the -- Master_Id for the access type master. Also set for access-to-limited- -- class-wide types whose root may be extended with task components, and -- for access-to-limited-interfaces because they can be used to reference -- tasks implementing such interface. -- Materialize_Entity -- Defined in all entities. Set only for renamed obects which should be -- materialized for debugging purposes. This means that a memory location -- containing the renamed address should be allocated. This is needed so -- that the debugger can find the entity. -- May_Inherit_Delayed_Rep_Aspects -- Defined in all entities for types and subtypes. Set if the type is -- derived from a type which has delayed rep aspects (marked by the flag -- Has_Delayed_Rep_Aspects being set). In this case, at the freeze point -- for the derived type we know that the parent type is frozen, and if -- a given attribute has not been set for the derived type, we copy the -- value from the parent type. See Freeze.Inherit_Delayed_Rep_Aspects. -- Mechanism (returned as Mechanism_Type) -- Defined in functions and non-generic formal parameters. Indicates -- the mechanism to be used for the function return or for the formal -- parameter. See full description in the spec of Sem_Mech. This field -- is also set (to the default value of zero = Default_Mechanism) in a -- subprogram body entity but not used in this context. -- Minimum_Accessibility -- Defined in formal parameters in the non-generic case. Normally Empty, -- but if expansion is active, and a parameter exists for which a -- dynamic accessibility check is required, then an object is generated -- within such a subprogram representing the accessibility level of the -- subprogram or the formal's Extra_Accessibility - whichever one is -- lesser. The Minimum_Accessibility field then points to this object. -- Modulus [base type only] -- Defined in modular types. Contains the modulus. For the binary case, -- this will be a power of 2, but if Non_Binary_Modulus is set, then it -- will not be a power of 2. -- Must_Be_On_Byte_Boundary -- Defined in entities for types and subtypes. Set if objects of the type -- must always be allocated on a byte boundary (more accurately a storage -- unit boundary). The front end checks that component clauses respect -- this rule, and the backend ensures that record packing does not -- violate this rule. Currently the flag is set only for packed arrays -- longer than 64 bits where the component size is not a power of 2. -- Must_Have_Preelab_Init -- Defined in entities for types and subtypes. Set in the full type of a -- private type or subtype if a pragma Has_Preelaborable_Initialization -- is present for the private type. Used to check that the full type has -- preelaborable initialization at freeze time (this has to be deferred -- to the freeze point because of the rule about overriding Initialize). -- Needs_Activation_Record -- Defined on generated subprogram types. Indicates that a call through -- a named or anonymous access to subprogram requires an activation -- record when compiling with unnesting for C or LLVM. -- Needs_Debug_Info -- Defined in all entities. Set if the entity requires normal debugging -- information to be generated. This is true of all entities that have -- Comes_From_Source set, and also transitively for entities associated -- with such components (e.g. their types). It is true for all entities -- in Debug_Generated_Code mode (-gnatD switch). This is the flag that -- the backend should check to determine whether or not to generate -- debugging information for an entity. Note that callers should always -- use Sem_Util.Set_Debug_Info_Needed, rather than Set_Needs_Debug_Info, -- so that the flag is set properly on subsidiary entities. -- Needs_No_Actuals -- Defined in callable entities (subprograms, entries, access to -- subprograms) which can be called without actuals because all of -- their formals (if any) have default values. This flag simplifies the -- resolution of the syntactic ambiguity involving a call to these -- entities when the return type is an array type, and a call can be -- interpreted as an indexing of the result of the call. It is also -- used to resolve various cases of entry calls. -- Never_Set_In_Source -- Defined in all entities, but can be set only for variables and -- parameters. This flag is set if the object is never assigned a value -- in user source code, either by assignment or by being used as an out -- or in out parameter. Note that this flag is not reset from using an -- initial value, so if you want to test for this case as well, test the -- Has_Initial_Value flag also. -- -- This flag is only for the purposes of issuing warnings, it must not -- be used by the code generator to indicate that the variable is in -- fact a constant, since some assignments in generated code do not -- count (for example, the call to an init proc to assign some but -- not all of the fields in a partially initialized record). The code -- generator should instead use the flag Is_True_Constant. -- -- For the purposes of this warning, the default assignment of access -- variables to null is not considered the assignment of a value (so -- the warning can be given for code that relies on this initial null -- value when no other value is ever set). -- -- In variables and out parameters, if this flag is set after full -- processing of the corresponding declarative unit, it indicates that -- the variable or parameter was never set, and a warning message can -- be issued. -- -- Note: this flag is initially set, and then cleared on encountering -- any construct that might conceivably legitimately set the value. -- Thus during the analysis of a declarative region and its associated -- statement sequence, the meaning of the flag is "not set yet", and -- once this analysis is complete the flag means "never assigned". -- Note: for variables appearing in package declarations, this flag is -- never set. That is because there is no way to tell if some client -- modifies the variable (or, in the case of variables in the private -- part, if some child unit modifies the variables). -- Note: in the case of renamed objects, the flag must be set in the -- ultimate renamed object. Clients noting a possible modification -- should use the Note_Possible_Modification procedure in Sem_Util -- rather than Set_Never_Set_In_Source precisely to deal properly with -- the renaming possibility. -- Next_Component (synthesized) -- Applies to record components. Returns the next component by following -- the chain of declared entities until one is found which corresponds to -- a component (Ekind is E_Component). Any internal types generated from -- the subtype indications of the record components are skipped. Returns -- Empty if no more components. -- Next_Component_Or_Discriminant (synthesized) -- Similar to Next_Component, but includes components and discriminants -- so the input can have either E_Component or E_Discriminant, and the -- same is true for the result. Returns Empty if no more components or -- discriminants in the record. -- Next_Discriminant (synthesized) -- Applies to discriminants returned by First/Next_Discriminant. Returns -- the next language-defined (i.e. perhaps non-stored) discriminant by -- following the chain of declared entities as long as the kind of the -- entity corresponds to a discriminant. Note that the discriminants -- might be the only components of the record. Returns Empty if there -- are no more discriminants. -- Next_Entity -- Defined in all entities. The entities of a scope are chained, with -- the head of the list being in the First_Entity field of the scope -- entity. All entities use the Next_Entity field as a forward pointer -- for this list, with Empty indicating the end of the list. Since this -- field is in the base part of the entity, the access routines for this -- field are in Sinfo. -- Next_Formal (synthesized) -- Applies to the entity for a formal parameter. Returns the next formal -- parameter of the subprogram or subprogram type. Returns Empty if there -- are no more formals. -- Next_Formal_With_Extras (synthesized) -- Applies to the entity for a formal parameter. Returns the next -- formal parameter of the subprogram or subprogram type. Returns -- Empty if there are no more formals. The list returned includes -- all the extra formals (see description of Extra_Formal field) -- Next_Index (synthesized) -- Applies to array types and subtypes and to string types and -- subtypes. Yields the next index. The first index is obtained by -- using the First_Index attribute, and then subsequent indexes are -- obtained by applying Next_Index to the previous index. Empty is -- returned to indicate that there are no more indexes. Note that -- unlike most attributes in this package, Next_Index applies to -- nodes for the indexes, not to entities. -- Next_Inlined_Subprogram -- Defined in subprograms. Used to chain inlined subprograms used in -- the current compilation, in the order in which they must be compiled -- by the backend to ensure that all inlinings are performed. -- Next_Literal (synthesized) -- Applies to enumeration literals, returns the next literal, or -- Empty if applied to the last literal. This is actually a synonym -- for Next, but its use is preferred in this context. -- No_Dynamic_Predicate_On_Actual -- Defined in discrete types. Set for generic formal types that are used -- in loops and quantified expressions. The corresponding actual cannot -- have dynamic predicates. -- No_Pool_Assigned [root type only] -- Defined in access types. Set if a storage size clause applies to the -- variable with a static expression value of zero. This flag is used to -- generate errors if any attempt is made to allocate or free an instance -- of such an access type. This is set only in the root type, since -- derived types must have the same pool. -- No_Predicate_On_Actual -- Defined in discrete types. Set for generic formal types that are used -- in the spec of a generic package, in constructs that forbid discrete -- types with predicates. -- No_Reordering [implementation base type only] -- Defined in record types. Set only for a base type to which a valid -- pragma No_Component_Reordering applies. -- No_Return -- Defined in all entities. Set for subprograms and generic subprograms -- to which a valid aspect or pragma No_Return applies. -- No_Strict_Aliasing [base type only] -- Defined in access types. Set to direct the backend to avoid any -- optimizations based on an assumption about the aliasing status of -- objects designated by the access type. For the case of the gcc -- backend, the effect is as though all references to objects of -- the type were compiled with -fno-strict-aliasing. This flag is -- set if an unchecked conversion with the access type as a target -- type occurs in the same source unit as the declaration of the -- access type, or if an explicit pragma No_Strict_Aliasing applies. -- No_Tagged_Streams_Pragma -- Present in all subtype and type entities. Set for tagged types and -- subtypes (i.e. entities with Is_Tagged_Type set True) if a valid -- pragma/aspect applies to the type. -- Non_Binary_Modulus [base type only] -- Defined in all subtype and type entities. Set for modular integer -- types if the modulus value is other than a power of 2. -- Non_Limited_View -- Defined in abstract states and incomplete types that act as shadow -- entities created when analysing a limited with clause (Ada 2005: -- AI-50217). Points to the defining entity of the original declaration. -- Nonzero_Is_True [base type only] -- Defined in enumeration types. Set if any non-zero value is to be -- interpreted as true. Currently this is set for derived Boolean -- types which have a convention of C, C++ or Fortran. -- Normalized_First_Bit -- Defined in components and discriminants. Indicates the normalized -- value of First_Bit for the component, i.e. the offset within the -- lowest addressed storage unit containing part or all of the field. -- Set to No_Uint if no first bit position is assigned yet. -- Normalized_Position -- Defined in components and discriminants. Indicates the normalized -- value of Position for the component, i.e. the offset in storage -- units from the start of the record to the lowest addressed storage -- unit containing part or all of the field. -- Number_Dimensions (synthesized) -- Applies to array types and subtypes. Returns the number of dimensions -- of the array type or subtype as a value of type Pos. -- Number_Entries (synthesized) -- Applies to concurrent types. Returns the number of entries that are -- declared within the task or protected definition for the type. -- Number_Formals (synthesized) -- Applies to subprograms and subprogram types. Yields the number of -- formals as a value of type Pos. -- Object_Size_Clause (synthesized) -- Applies to entities for types and subtypes. If an object size clause -- is present in the rep item chain for an entity then the attribute -- definition clause node is returned. Otherwise Object_Size_Clause -- returns Empty if no item is present. Usually this is only meaningful -- if the flag Has_Object_Size_Clause is set. This is because when the -- representation item chain is copied for a derived type, it can inherit -- an object size clause that is not applicable to the entity. -- OK_To_Rename -- Defined only in entities for variables. If this flag is set, it -- means that if the entity is used as the initial value of an object -- declaration, the object declaration can be safely converted into a -- renaming to avoid an extra copy. This is set for variables which are -- generated by the expander to hold the result of evaluating some -- expression. Most notably, the local variables used to store the result -- of concatenations are so marked (see Exp_Ch4.Expand_Concatenate). It -- is only worth setting this flag for composites, since for primitive -- types, it is cheaper to do the copy. -- Optimize_Alignment_Space -- Defined in type, subtype, variable, and constant entities. This -- flag records that the type or object is to be laid out in a manner -- consistent with Optimize_Alignment (Space) mode. The compiler and -- binder ensure a consistent view of any given type or object. If pragma -- Optimize_Alignment (Off) mode applies to the type/object, then neither -- of the flags Optimize_Alignment_Space/Optimize_Alignment_Time is set. -- Optimize_Alignment_Time -- Defined in type, subtype, variable, and constant entities. This -- flag records that the type or object is to be laid out in a manner -- consistent with Optimize_Alignment (Time) mode. The compiler and -- binder ensure a consistent view of any given type or object. If pragma -- Optimize_Alignment (Off) mode applies to the type/object, then neither -- of the flags Optimize_Alignment_Space/Optimize_Alignment_Time is set. -- Original_Access_Type -- Defined in E_Access_Subprogram_Type entities. Set only if the access -- type was generated by the expander as part of processing an access- -- to-protected-subprogram type. Points to the access-to-protected- -- subprogram type. -- Original_Array_Type -- Defined in modular types and array types and subtypes. Set only if -- the Is_Packed_Array_Impl_Type flag is set, indicating that the type -- is the implementation type for a packed array, and in this case it -- points to the original array type for which this is the packed -- array implementation type. -- Original_Protected_Subprogram -- Defined in functions and procedures. Set only on internally built -- dispatching subprograms of protected types to reference their original -- non-dispatching protected subprogram since their names differ. -- Original_Record_Component -- Defined in components, including discriminants. The usage depends -- on whether the record is a base type and whether it is tagged. -- -- In base tagged types: -- When the component is inherited in a record extension, it points -- to the original component (the entity of the ancestor component -- which is not itself inherited) otherwise it points to itself. The -- backend uses this attribute to implement the automatic dereference -- in the extension and to apply the transformation: -- -- Rec_Ext.Comp -> Rec_Ext.Parent. ... .Parent.Comp -- -- In base untagged types: -- Always points to itself except for non-stored discriminants, where -- it points to the stored discriminant it renames. -- -- In subtypes (tagged and untagged): -- Points to the component in the base type. -- Overlays_Constant -- Defined in all entities. Set only for E_Constant or E_Variable for -- which there is an address clause that causes the entity to overlay -- a constant object. -- Overridden_Operation -- Defined in subprograms. For overriding operations, points to the -- user-defined parent subprogram that is being overridden. Note: this -- attribute uses the same field as Static_Initialization. The latter -- is only defined for internal initialization procedures, for which -- Overridden_Operation is irrelevant. Thus this attribute must not be -- set for init_procs. -- Package_Instantiation -- Defined in packages and generic packages. When defined, this field -- references an N_Generic_Instantiation node associated with an -- instantiated package. In the case where the referenced node has -- been rewritten to an N_Package_Specification, the instantiation -- node is available from the Original_Node field of the package spec -- node. This is currently not guaranteed to be set in all cases, but -- when set, the field is used in Get_Unit_Instantiation_Node as -- one of the means of obtaining the instantiation node. Eventually -- it should be set in all cases, including package entities associated -- with formal packages. ??? -- Packed_Array_Impl_Type -- Defined in array types and subtypes, except for the string literal -- subtype case, if the corresponding type is packed and implemented -- specially (either bit-packed or packed to eliminate holes in the -- non-contiguous enumeration index types). References the type used to -- represent the packed array, which is either a modular type for short -- static arrays or an array of System.Unsigned in the bit-packed case, -- or a regular array in the non-standard enumeration index case. Note -- that in some situations (internal types and references to fields of -- variant records), it is not always possible to construct this type in -- advance of its use. If this field is empty, then the necessary type -- is declared on the fly for each reference to the array. -- Parameter_Mode (synthesized) -- Applies to formal parameter entities. This is a synonym for Ekind, -- used when obtaining the formal kind of a formal parameter (the result -- is one of E_[In/Out/In_Out]_Parameter). -- Parent_Subtype [base type only] -- Defined in E_Record_Type. Set only for derived tagged types, in which -- case it points to the subtype of the parent type. This is the type -- that is used as the Etype of the _parent field. -- Part_Of_Constituents -- Present in abstract state and variable entities. Contains all -- constituents that are subject to indicator Part_Of (both aspect and -- option variants). -- Part_Of_References -- Present in variable entities. Contains all references to the variable -- when it is subject to pragma Part_Of. If the variable is a constituent -- of a single protected/task type, the references are examined as they -- must appear only within the type defintion and the corresponding body. -- Partial_DIC_Procedure (synthesized) -- Defined in type entities. Set for a private type and its full view -- when the type is subject to pragma Default_Initial_Condition (DIC), or -- when the type inherits a DIC pragma from a parent type. Points to the -- entity of a procedure that takes a single argument of the given type -- and verifies the assertion expression of the DIC pragma at run time. -- When present, the Partial_DIC_Procedure of a type only checks DICs -- associated with the partial (private) view of the type, and is invoked -- by the full DIC_Procedure (which may check additional DICs associated -- with the full view). -- Note: the reason this is marked as a synthesized attribute is that the -- way this is stored is as an element of the Subprograms_For_Type field. -- Partial_Invariant_Procedure (synthesized) -- Defined in types and subtypes. Set for private types when one or more -- [class-wide] type invariants apply to them. Points to the entity for a -- procedure which checks the invariant. This invariant procedure takes a -- single argument of the given type, and returns if the invariant holds, -- or raises exception Assertion_Error with an appropriate message if it -- does not hold. This attribute is defined but always Empty for private -- subtypes. This attribute is also set for the corresponding full type. -- -- Note: the reason this is marked as a synthesized attribute is that the -- way this is stored is as an element of the Subprograms_For_Type field. -- Partial_Refinement_Constituents (synthesized) -- Defined in abstract state entities. Returns the constituents that -- refine the state in the current scope, which are allowed in a global -- refinement in this scope. These consist of those constituents that are -- abstract states with no or only partial refinement visible, and those -- that are not themselves abstract states. -- Partial_View_Has_Unknown_Discr -- Present in all types. Set to Indicate that the partial view of a type -- has unknown discriminants. A default initialization of an object of -- the type does not require an invariant check (AI12-0133). -- Pending_Access_Types -- Defined in all types. Set for incomplete, private, Taft-amendment -- types, and their corresponding full views. This list contains all -- access types, both named and anonymous, declared between the partial -- and the full view. The list is used by the finalization machinery to -- ensure that the finalization masters of all pending access types are -- fully initialized when the full view is frozen. -- Postconditions_Proc -- Defined in functions, procedures, entries, and entry families. Refers -- to the entity of the _Postconditions procedure used to check contract -- assertions on exit from a subprogram. -- Predicate_Function (synthesized) -- Defined in all types. Set for types for which (Has_Predicates is True) -- and for which a predicate procedure has been built that tests that the -- specified predicates are True. Contains the entity for the function -- which takes a single argument of the given type, and returns True if -- the predicate holds and False if it does not. -- -- Note: flag Has_Predicate does not imply that Predicate_Function is set -- to a non-empty entity; this happens, for example, for itypes created -- when instantiating generic units with private types with predicates. -- However, if an explicit pragma Predicate or Predicate aspect is given -- either for private or full type declaration then both Has_Predicates -- and a non-empty Predicate_Function will be set on both the partial and -- full views of the type. -- -- Note: the reason this is marked as a synthesized attribute is that the -- way this is stored is as an element of the Subprograms_For_Type field. -- Predicate_Function_M (synthesized) -- Defined in all types. Present only if Predicate_Function is present, -- and only if the predicate function has Raise_Expression nodes. It -- is the special version created for membership tests, where if one of -- these raise expressions is executed, the result is to return False. -- Predicated_Parent -- Defined on itypes created by subtype indications, when the parent -- subtype has predicates. The itype shares the Predicate_Function -- of the predicated parent, but this function may not have been built -- at the point the Itype is constructed, so this attribute allows its -- retrieval at the point a predicate check needs to be generated. -- The utility Predicate_Function takes this link into account. -- Predicates_Ignored -- Defined on all types. Indicates whether the subtype declaration is in -- a context where Assertion_Policy is Ignore, in which case no checks -- (static or dynamic) must be generated for objects of the type. -- Prev_Entity -- Defined in all entities. The entities of a scope are chained, and this -- field is used as a backward pointer for this entity list - effectivly -- making the entity chain doubly-linked. -- Primitive_Operations (synthesized) -- Defined in concurrent types, tagged record types and subtypes, tagged -- private types and tagged incomplete types. For concurrent types whose -- Corresponding_Record_Type (CRT) is available, returns the list of -- Direct_Primitive_Operations of its CRT; otherwise returns No_Elist. -- For all the other types returns the Direct_Primitive_Operations. -- Prival -- Defined in private components of protected types. Refers to the entity -- of the component renaming declaration generated inside protected -- subprograms, entries or barrier functions. -- Prival_Link -- Defined in constants and variables which rename private components of -- protected types. Set to the original private component. -- Private_Dependents -- Defined in private (sub)types. Records the subtypes of the private -- type, derivations from it, and records and arrays with components -- dependent on the type. -- -- The subtypes are traversed when installing and deinstalling (the full -- view of) a private type in order to ensure correct view of the -- subtypes. -- -- Used in similar fashion for incomplete types: holds list of subtypes -- of these incomplete types that have discriminant constraints. The -- full views of these subtypes are constructed when the full view of -- the incomplete type is processed. -- In addition, if the incomplete type is the designated type in an -- access definition for an access parameter, the operation may be -- a dispatching primitive operation, which is only known when the full -- declaration of the type is seen. Subprograms that have such an -- access parameter are also placed in the list of private_dependents. -- Protected_Body_Subprogram -- Defined in protected operations. References the entity for the -- subprogram which implements the body of the operation. -- Protected_Formal -- Defined in formal parameters (in, in out and out parameters). Used -- only for formals of protected operations. References corresponding -- formal parameter in the unprotected version of the operation that -- is created during expansion. -- Protected_Subprogram -- Defined in functions and procedures. Set for the pair of subprograms -- which emulate the runtime semantics of a protected subprogram. Denotes -- the entity of the origial protected subprogram. -- Protection_Object -- Applies to protected entries, entry families and subprograms. Denotes -- the entity which is used to rename the _object component of protected -- types. -- Reachable -- Defined in labels. The flag is set over the range of statements in -- which a goto to that label is legal. -- Receiving_Entry -- Defined in procedures. Set for an internally generated procedure which -- wraps the original statements of an accept alternative. Designates the -- entity of the task entry being accepted. -- Referenced -- Defined in all entities. Set if the entity is referenced, except for -- the case of an appearance of a simple variable that is not a renaming -- as the left side of an assignment in which case Referenced_As_LHS is -- set instead, or a similar appearance as an out parameter actual, in -- which case Referenced_As_Out_Parameter is set. -- Referenced_As_LHS : -- Defined in all entities. This flag is set instead of Referenced if a -- simple variable that is not a renaming appears as the left side of an -- assignment. The reason we distinguish this kind of reference is that -- we have a separate warning for variables that are only assigned and -- never read. -- Referenced_As_Out_Parameter : -- Defined in all entities. This flag is set instead of Referenced if a -- simple variable that is not a renaming appears as an actual for an out -- formal. The reason we distinguish this kind of reference is that -- we have a separate warning for variables that are only assigned and -- never read, and out parameters are a special case. -- Refinement_Constituents -- Present in abstract state entities. Contains all the constituents that -- refine the state, in other words, all the hidden states that appear in -- the constituent_list of aspect/pragma Refined_State. -- Register_Exception_Call -- Defined in exception entities. When an exception is declared, -- a call is expanded to Register_Exception. This field points to -- the expanded N_Procedure_Call_Statement node for this call. It -- is used for Import/Export_Exception processing to modify the -- register call to make appropriate entries in the special tables -- used for handling these pragmas at run time. -- Related_Array_Object -- Defined in array types and subtypes. Used only for the base type -- and subtype created for an anonymous array object. Set to point -- to the entity of the corresponding array object. Currently used -- only for type-related error messages. -- Related_Expression -- Defined in variables, types and functions. When Set for internally -- generated entities, it may be used to denote the source expression -- whose elaboration created the variable declaration. If set, it is used -- for generating clearer messages from CodePeer. It is used on source -- entities that are variables in iterator specifications, to provide -- a link to the container that is the domain of iteration. This allows -- for better cross-reference information when the loop modifies elements -- of the container, and suppresses spurious warnings. -- Finally this node is used on functions specified via the Real_Literal -- aspect, to denote the 2-parameter overloading, if found. -- -- Shouldn't it also be used for the same purpose in errout? It seems -- odd to have two mechanisms here??? -- Related_Instance -- Defined in the wrapper packages created for subprogram instances. -- The internal subprogram that implements the instance is inside the -- wrapper package, but for debugging purposes its external symbol -- must correspond to the name and scope of the related instance. -- Related_Type -- Defined in components, constants and variables. Set when there is an -- associated dispatch table to point to entities containing primary or -- secondary tags. Not set in the _tag component of record types. -- Relative_Deadline_Variable [implementation base type only] -- Defined in task type entities. This flag is set if a valid and -- effective pragma Relative_Deadline applies to the base type. Points -- to the entity for a variable that is created to hold the value given -- in a Relative_Deadline pragma for a task type. -- Renamed_Entity -- Defined in exception, generic unit, package, and subprogram entities. -- Set when the entity is defined by a renaming declaration. Denotes the -- renamed entity, or transitively the ultimate renamed entity if there -- is a chain of renaming declarations. Empty if no renaming. -- Renamed_In_Spec -- Defined in package entities. If a package renaming occurs within -- a package spec, then this flag is set on the renamed package. The -- purpose is to prevent a warning about unused entities in the renamed -- package. Such a warning would be inappropriate since clients of the -- package can see the entities in the package via the renaming. -- Renamed_Object -- Defined in components, constants, discriminants, formal parameters, -- generic formals, loop parameters, and variables. Set to non-Empty if -- the object was declared by a renaming declaration. For constants and -- variables, the attribute references the tree node for the name of the -- renamed object. For formal parameters, the field is used in inlining -- and maps the entities of all formal parameters of a subprogram to the -- entities of the corresponding actuals. For formals of a task entry, -- the attribute denotes the local renaming that replaces the actual -- within an accept statement. For all remaining cases (discriminants, -- loop parameters) the field is Empty. -- Requires_Overriding -- Defined in all subprograms and entries. Set for subprograms that -- require overriding as defined by RM-2005-3.9.3(6/2). Note that this -- is True only for implicitly declared subprograms; it is not set on the -- parent type's subprogram. See also Is_Abstract_Subprogram. -- Return_Applies_To -- Defined in E_Return_Statement. Points to the entity representing -- the construct to which the return statement applies, as defined in -- RM-6.5(4/2). Note that a (simple) return statement within an -- extended_return_statement applies to the extended_return_statement, -- even though it causes the whole function to return. -- Also defined in special E_Block entities built as E_Return_Statement -- for extended return statements and attached to the block statement -- by Expand_N_Extended_Return_Statement before being turned into an -- E_Block by semantic analysis. -- Return_Present -- Defined in function and generic function entities. Set if the -- function contains a return statement (used for error checking). -- This flag can also be set in procedure and generic procedure -- entities (for convenience in setting it), but is only tested -- for the function case. -- Return_Statement -- Defined in E_Variable. Set when Is_Return_Object is set, in which -- case it points to the N_Simple_Return_Statement made from the -- extended return statement. -- Returns_By_Ref -- Defined in subprogram type entities and functions. Set if a function -- (or an access-to-function type) returns a result by reference, either -- because its return type is a by-reference-type or because the function -- explicitly uses the secondary stack. -- Reverse_Bit_Order [base type only] -- Defined in all record type entities. Set if entity has a Bit_Order -- aspect (set by an aspect clause or attribute definition clause) that -- has reversed the order of bits from the default value. When this flag -- is set, a component clause must specify a set of bits entirely within -- a single storage unit (Ada 95) or within a single machine scalar (see -- Ada 2005 AI-133), or must occupy an integral number of storage units. -- Reverse_Storage_Order [base type only] -- Defined in all record and array type entities. Set if entity has a -- Scalar_Storage_Order aspect (set by an aspect clause or attribute -- definition clause) that has reversed the order of storage elements -- from the default value. When this flag is set for a record type, -- the Bit_Order aspect must be set to the same value (either explicitly -- or as the target default value). -- Rewritten_For_C -- Defined on functions that return a constrained array type, when -- Modify_Tree_For_C is set. Indicates that a procedure with an extra -- out parameter has been created for it, and calls must be rewritten as -- calls to the new procedure. -- RM_Size -- Defined in all type and subtype entities. Contains the value of -- type'Size as defined in the RM. See also the Esize field and -- and the description on "Handling of Type'Size Values". A value -- of zero in this field for a non-discrete type means that -- the front end has not yet determined the size value. For the -- case of a discrete type, this field is always set by the front -- end and zero is a legitimate value for a type with one value. -- Root_Type (synthesized) -- Applies to all type entities. For class-wide types, returns the root -- type of the class covered by the CW type, otherwise returns the -- ultimate derivation ancestor of the given type. This function -- preserves the view, i.e. the Root_Type of a partial view is the -- partial view of the ultimate ancestor, the Root_Type of a full view -- is the full view of the ultimate ancestor. Note that this function -- does not correspond exactly to the use of root type in the RM, since -- in the RM root type applies to a class of types, not to a type. -- Scalar_Range -- Defined in all scalar types (including modular types, where the -- bounds are 0 .. modulus - 1). References a node in the tree that -- contains the bounds for the range. Note that this information -- could be obtained by rummaging around the tree, but it is more -- convenient to have it immediately at hand in the entity. The -- contents of Scalar_Range can either be an N_Subtype_Indication -- node (with a constraint), a Range node, or an Integer_Type_Definition, -- but not a simple subtype reference (a subtype is converted into a -- explicit range). -- Scale_Value -- Defined in decimal fixed-point types and subtypes. This holds the -- value of the Scale attribute for the type, i.e. the scale of the type -- defined as the integer N such that the delta is equal to 10.0**(-N). -- Note that, if Scale_Value is positive, then it is equal to Aft_Value. -- Scope -- Defined in all entities. Points to the entity for the scope (block, -- loop, subprogram, package etc.) in which the entity is declared. -- Since this field is in the base part of the entity node, the access -- routines for this field are in Sinfo. Note that for a child unit, -- the Scope will be the parent package, and for a root library unit, -- the Scope will be Standard. -- Scope_Depth (synthesized) -- Applies to program units, blocks, loops, return statements, -- concurrent types, private types and entries, and also to record types, -- i.e. to any entity that can appear on the scope stack. Yields the -- scope depth value, which for those entities other than records is -- simply the scope depth value, for record entities, it is the -- Scope_Depth of the record scope. -- Scope_Depth_Value -- Defined in program units, blocks, loops, return statements, -- concurrent types, private types and entries. -- Indicates the number of scopes that statically enclose the declaration -- of the unit or type. Library units have a depth of zero. Note that -- record types can act as scopes but do NOT have this field set (see -- Scope_Depth above). Queries should normally be via Scope_Depth, -- and not call Scope_Depth_Value directly. -- Scope_Depth_Set (synthesized) -- Applies to a special predicate function that returns a Boolean value -- indicating whether or not the Scope_Depth field has been set. It is -- needed, since returns an invalid value in this case. -- Sec_Stack_Needed_For_Return -- Defined in scope entities (blocks, entries, entry families, functions, -- and procedures). Set to True when secondary stack is used to hold the -- returned value of a function and thus should not be released on scope -- exit. -- Shared_Var_Procs_Instance -- Defined in variables. Set non-Empty only if Is_Shared_Passive is -- set, in which case this is the entity for the associated instance of -- System.Shared_Storage.Shared_Var_Procs. See Exp_Smem for full details. -- Size_Check_Code -- Defined in constants and variables. Normally Empty. Set if code is -- generated to check the size of the object. This field is used to -- suppress this code if a subsequent address clause is encountered. -- Size_Clause (synthesized) -- Applies to all entities. If a size or value size clause is present in -- the rep item chain for an entity then that attribute definition clause -- is returned. Otherwise Size_Clause returns Empty. Usually this is only -- meaningful if the flag Has_Size_Clause is set. This is because when -- the representation item chain is copied for a derived type, it can -- inherit a size clause that is not applicable to the entity. -- Size_Depends_On_Discriminant -- Defined in all entities for types and subtypes. Indicates that the -- size of the type depends on the value of one or more discriminants. -- Currently, this flag is only set for arrays which have one or more -- bounds depending on a discriminant value. -- Size_Known_At_Compile_Time -- Defined in all entities for types and subtypes. Indicates that the -- size of objects of the type is known at compile time. This flag is -- used to optimize some generated code sequences, and also to enable -- some error checks (e.g. disallowing component clauses on variable -- length objects). It is set conservatively (i.e. if it is True, the -- size is certainly known at compile time, if it is False, then the -- size may or may not be known at compile time, but the code will -- assume that it is not known). Note that the value may be known only -- to the back end, so the fact that this flag is set does not mean that -- the front end can access the value. -- Small_Value -- Defined in fixed point types. Points to the universal real for the -- Small of the type, either as given in a representation clause, or -- as computed (as a power of two) by the compiler. -- SPARK_Aux_Pragma -- Present in concurrent type, [generic] package spec and package body -- entities. For concurrent types and package specs it refers to the -- SPARK mode setting for the private part. This field points to the -- N_Pragma node that either appears in the private part or is inherited -- from the enclosing context. For package bodies, it refers to the SPARK -- mode of the elaboration sequence after the BEGIN. The fields points to -- the N_Pragma node that either appears in the statement sequence or is -- inherited from the enclosing context. In all cases, if the pragma is -- inherited, then the SPARK_Aux_Pragma_Inherited flag is set. -- SPARK_Aux_Pragma_Inherited -- Present in concurrent type, [generic] package spec and package body -- entities. Set if the SPARK_Aux_Pragma field points to a pragma that is -- inherited, rather than a local one. -- SPARK_Pragma -- Present in the following entities: -- -- abstract states -- constants -- entries -- operators -- [generic] packages -- package bodies -- [generic] subprograms -- subprogram bodies -- variables -- types -- -- Points to the N_Pragma node that applies to the initial declaration or -- body. This is either set by a local SPARK_Mode pragma or is inherited -- from the context (from an outer scope for the spec case or from the -- spec for the body case). In the case where the attribute is inherited, -- flag SPARK_Pragma_Inherited is set. Empty if no SPARK_Mode pragma is -- applicable. -- SPARK_Pragma_Inherited -- Present in the following entities: -- -- abstract states -- constants -- entries -- operators -- [generic] packages -- package bodies -- [generic] subprograms -- subprogram bodies -- variables -- types -- -- Set if the SPARK_Pragma attribute points to an inherited pragma rather -- than a local one. -- Spec_Entity -- Defined in package body entities. Points to corresponding package -- spec entity. Also defined in subprogram body parameters in the -- case where there is a separate spec, where this field references -- the corresponding parameter entities in the spec. -- SSO_Set_High_By_Default [base type only] -- Defined for record and array types. Set in the base type if a pragma -- Default_Scalar_Storage_Order (High_Order_First) was active at the time -- the record or array was declared and therefore applies to it. -- SSO_Set_Low_By_Default [base type only] -- Defined for record and array types. Set in the base type if a pragma -- Default_Scalar_Storage_Order (High_Order_First) was active at the time -- the record or array was declared and therefore applies to it. -- Static_Call_Helper -- Defined on subprogram entities. Set if the subprogram has class-wide -- preconditions. Denotes the helper that evaluates at runtime the -- class-wide preconditions performing static calls. -- Static_Discrete_Predicate -- Defined in discrete types/subtypes with static predicates (with the -- two flags Has_Predicates and Has_Static_Predicate set). Set if the -- type/subtype has a static predicate. Points to a list of expression -- and N_Range nodes that represent the predicate in canonical form. The -- canonical form has entries sorted in ascending order, with duplicates -- eliminated, and adjacent ranges coalesced, so that there is always a -- gap in the values between successive entries. The entries in this list -- are fully analyzed and typed with the base type of the subtype. Note -- that all entries are static and have values within the subtype range. -- Static_Elaboration_Desired -- Defined in library-level packages. Set by the pragma of the same -- name, to indicate that static initialization must be attempted for -- all types declared in the package, and that a warning must be emitted -- for those types to which static initialization is not available. -- Static_Initialization -- Defined in initialization procedures for types whose objects can be -- initialized statically. The value of this attribute is a positional -- aggregate whose components are compile-time static values. Used -- when available in object declarations to eliminate the call to the -- initialization procedure, and to minimize elaboration code. Note: -- This attribute uses the same field as Overridden_Operation, which is -- irrelevant in init_procs. -- Static_Real_Or_String_Predicate -- Defined in real types/subtypes with static predicates (with the two -- flags Has_Predicates and Has_Static_Predicate set). Set if the type -- or subtype has a static predicate. Points to the return expression -- of the predicate function. This is the original expression given as -- the predicate except that occurrences of the type are replaced by -- occurrences of the formal parameter of the predicate function (note -- that the spec of this function including this formal parameter name -- is available from the Subprograms_For_Type field; it can be accessed -- as Predicate_Function (typ)). Also, in the case where a predicate is -- inherited, the expression is of the form: -- -- xxxPredicate (typ2 (ent)) AND THEN expression -- -- where typ2 is the type from which the predicate is inherited, ent is -- the entity for the current predicate function, and xxxPredicate is the -- inherited predicate (from typ2). Finally for a predicate that inherits -- from another predicate but does not add a predicate of its own, the -- expression may consist of the above xxxPredicate call on its own. -- Status_Flag_Or_Transient_Decl -- Defined in constant, loop, and variable entities. Applies to objects -- that require special treatment by the finalization machinery, such as -- extended return results, IF and CASE expression results, and objects -- inside N_Expression_With_Actions nodes. The attribute contains the -- entity of a flag which specifies particular behavior over a region of -- code or the declaration of a "hook" object. -- In which case is it a flag, or a hook object??? -- Storage_Size_Variable [implementation base type only] -- Defined in access types and task type entities. This flag is set -- if a valid and effective pragma Storage_Size applies to the base -- type. Points to the entity for a variable that is created to -- hold the value given in a Storage_Size pragma for an access -- collection or a task type. Note that in the access type case, -- this field is defined only in the root type (since derived types -- share the same storage pool). -- Stored_Constraint -- Defined in entities that can have discriminants (concurrent types -- subtypes, record types and subtypes, private types and subtypes, -- limited private types and subtypes and incomplete types). Points -- to an element list containing the expressions for each of the -- stored discriminants for the record (sub)type. -- Stores_Attribute_Old_Prefix -- Defined in constants, variables, and types which are created during -- expansion in order to save the value of attribute 'Old's prefix. -- Strict_Alignment [implementation base type only] -- Defined in all type entities. Indicates that the type is by-reference -- or contains an aliased part. This forbids packing a component of this -- type tighter than the alignment and size of the type, as specified by -- RM 13.2(7) modified by AI12-001 as a Binding Interpretation. -- String_Literal_Length -- Defined in string literal subtypes (which are created to correspond -- to string literals in the program). Contains the length of the string -- literal. -- String_Literal_Low_Bound -- Defined in string literal subtypes (which are created to correspond -- to string literals in the program). Contains an expression whose -- value represents the low bound of the literal. This is a copy of -- the low bound of the applicable index constraint if there is one, -- or a copy of the low bound of the index base type if not. -- Subprograms_For_Type -- Defined in all types. The list may contain the entities of the default -- initial condition procedure, invariant procedure, and the two versions -- of the predicate function. -- -- Historical note: This attribute used to be a direct linked list of -- entities rather than an Elist. The Elist allows greater flexibility -- in inheritance of subprograms between views of the same type. -- Subps_Index -- Present in subprogram entities. Set if the subprogram contains nested -- subprograms, or is a subprogram nested within such a subprogram. Holds -- the index in the Exp_Unst.Subps table for the subprogram. Note that -- for the outer level subprogram, this is the starting index in the Subp -- table for the entries for this subprogram. -- Suppress_Elaboration_Warnings -- NOTE: this flag is relevant only for the legacy ABE mechanism and -- should not be used outside of that context. -- -- Defined in all entities, can be set only for subprogram entities and -- for variables. If this flag is set then Sem_Elab will not generate -- elaboration warnings for the subprogram or variable. Suppression of -- such warnings is automatic for subprograms for which elaboration -- checks are suppressed (without the need to set this flag), but the -- flag is also set for various internal entities (such as init procs) -- which are known not to generate any possible access before elaboration -- and it is set on variables when a warning is given to avoid multiple -- elaboration warnings for the same variable. -- Suppress_Initialization -- Defined in all variable, type and subtype entities. If set for a base -- type, then the generation of initialization procedures is suppressed -- for the type. Any other implicit initialization (e.g. from the use of -- pragma Initialize_Scalars) is also suppressed if this flag is set for -- either the subtype in question, or for the base type. For variables, -- this flag suppresses all implicit initialization for the object, even -- if the type would normally require initialization. Set by use of -- pragma Suppress_Initialization and also for internal entities where -- we know that no initialization is required. For example, enumeration -- image table entities set it. -- Suppress_Style_Checks -- Defined in all entities. Suppresses any style checks specifically -- associated with the given entity if set. -- Suppress_Value_Tracking_On_Call -- Defined in all entities. Set in a scope entity if value tracking is to -- be suppressed on any call within the scope. Used when an access to a -- local subprogram is computed, to deal with the possibility that this -- value may be passed around, and if used, may clobber a local variable. -- Task_Body_Procedure -- Defined in task types and subtypes. Points to the entity for the task -- task body procedure (as further described in Exp_Ch9, task bodies are -- expanded into procedures). A convenient function to retrieve this -- field is Sem_Util.Get_Task_Body_Procedure. -- -- The last sentence is odd??? Why not have Task_Body_Procedure go to the -- Underlying_Type of the Root_Type??? -- Thunk_Entity -- Defined in functions and procedures which have been classified as -- Is_Thunk. Set to the target entity called by the thunk. -- Treat_As_Volatile -- Defined in all type entities, and also in constants, components and -- variables. Set if this entity is to be treated as volatile for code -- generation purposes. Always set if Is_Volatile is set, but can also -- be set as a result of situations (such as address overlays) where -- the front end wishes to force volatile handling to inhibit aliasing -- optimization which might be legally ok, but is undesirable. Note -- that the backend always tests this flag rather than Is_Volatile. -- The front end tests Is_Volatile if it is concerned with legality -- checks associated with declared volatile variables, but if the test -- is for the purposes of suppressing optimizations, then the front -- end should test Treat_As_Volatile rather than Is_Volatile. -- -- Note: before testing Treat_As_Volatile, consider whether it would -- be more appropriate to use Exp_Util.Is_Volatile_Reference instead, -- which catches more cases of volatile references. -- Type_High_Bound (synthesized) -- Applies to scalar types. Returns the tree node (Node_Id) that contains -- the high bound of a scalar type. The returned value is literal for a -- base type, but may be an expression in the case of scalar type with -- dynamic bounds. -- Type_Low_Bound (synthesized) -- Applies to scalar types. Returns the tree node (Node_Id) that contains -- the low bound of a scalar type. The returned value is literal for a -- base type, but may be an expression in the case of scalar type with -- dynamic bounds. -- Underlying_Full_View -- Defined in private subtypes that are the completion of other private -- types, or in private types that are derived from private subtypes. If -- the full view of a private type T is derived from another private type -- with discriminants Td, the full view of T is also private, and there -- is no way to attach to it a further full view that would convey the -- structure of T to the backend. The Underlying_Full_View is an -- attribute of the full view that is a subtype of Td with the same -- constraint as the declaration for T. The declaration for this subtype -- is built at the point of the declaration of T, either as completion, -- or as a subtype declaration where the base type is private and has a -- private completion. If Td is already constrained, then its full view -- can serve directly as the full view of T. -- Underlying_Record_View -- Defined in record types. Set for record types that are extensions of -- types with unknown discriminants, and also set for internally built -- underlying record views to reference its original record type. Record -- types that are extensions of types with unknown discriminants do not -- have a completion, but they cannot be used without having some -- discriminated view at hand. This view is a record type with the same -- structure, whose parent type is the full view of the parent in the -- original type extension. -- Underlying_Type (synthesized) -- Applies to all entities. This is the identity function except in the -- case where it is applied to an incomplete or private type, in which -- case it is the underlying type of the type declared by the completion, -- or Empty if the completion has not yet been encountered and analyzed. -- -- Note: the reason this attribute applies to all entities, and not just -- types, is to legitimize code where Underlying_Type is applied to an -- entity which may or may not be a type, with the intent that if it is a -- type, its underlying type is taken. -- -- Note also that the value of this attribute is interesting only after -- the full view of the parent type has been processed. If the parent -- type is declared in an enclosing package, the attribute will be non- -- trivial only after the full view of the type has been analyzed. -- Universal_Aliasing [implementation base type only] -- Defined in all type entities. Set to direct the back-end to avoid -- any optimizations based on type-based alias analysis for this type. -- Indicates that objects of this type can alias objects of any other -- types, which guarantees that any objects can be referenced through -- access types designating this type safely, whatever the actual type -- of these objects. In other words, the effect is as though access -- types designating this type were subject to No_Strict_Aliasing. -- Unset_Reference -- Defined in variables and out parameters. This is normally Empty. It -- is set to point to an identifier that represents a reference to the -- entity before any value has been set. Only the first such reference -- is identified. This field is used to generate a warning message if -- necessary (see Sem_Warn.Check_Unset_Reference). -- Used_As_Generic_Actual -- Defined in all entities, set if the entity is used as an argument to -- a generic instantiation. Used to tune certain warning messages, and -- in checking type conformance within an instantiation that involves -- incomplete formal and actual types. -- Uses_Lock_Free -- Defined in protected type entities. Set to True when the Lock Free -- implementation is used for the protected type. This implementation is -- based on atomic transactions and doesn't require anymore the use of -- Protection object (see System.Tasking.Protected_Objects). -- Uses_Sec_Stack -- Defined in scope entities (blocks, entries, entry families, functions, -- loops, and procedures). Set to True when the secondary stack is used -- in this scope and must be released on exit unless flag -- Sec_Stack_Needed_For_Return is set. -- Validated_Object -- Defined in variables. Contains the object whose value is captured by -- the variable for validity check purposes. -- Warnings_Off -- Defined in all entities. Set if a pragma Warnings (Off, entity-name) -- is used to suppress warnings for a given entity. It is also used by -- the compiler in some situations to kill spurious warnings. Note that -- clients should generally not test this flag directly, but instead -- use function Has_Warnings_Off. -- Warnings_Off_Used -- Defined in all entities. Can only be set if Warnings_Off is set. If -- set indicates that a warning was suppressed by the Warnings_Off flag, -- and Unmodified/Unreferenced would not have suppressed the warning. -- Warnings_Off_Used_Unmodified -- Defined in all entities. Can only be set if Warnings_Off is set and -- Has_Pragma_Unmodified is not set. If set indicates that a warning was -- suppressed by the Warnings_Off status but that pragma Unmodified -- would also have suppressed the warning. -- Warnings_Off_Used_Unreferenced -- Defined in all entities. Can only be set if Warnings_Off is set and -- Has_Pragma_Unreferenced is not set. If set indicates that a warning -- was suppressed by the Warnings_Off status but that pragma Unreferenced -- would also have suppressed the warning. -- Was_Hidden -- Defined in all entities. Used to save the value of the Is_Hidden -- attribute when the limited-view is installed (Ada 2005: AI-217). -- Wrapped_Entity -- Defined in functions and procedures which have been classified as -- Is_Primitive_Wrapper. Set to the entity being wrapper. -- LSP_Subprogram -- Defined in subprogram entities. Set on wrappers created to handle -- inherited class-wide pre/post conditions that call overridden -- primitives. It references the parent primitive that has the -- class-wide pre/post conditions. --------------------------- -- Renaming and Aliasing -- --------------------------- -- Several entity attributes relate to renaming constructs, and to the use of -- different names to refer to the same entity. The following is a summary of -- these constructs and their preferred uses. -- There are three related attributes: -- Renamed_Entity -- Renamed_Object -- Alias -- These are implemented in Einfo.Utils as renamings of the Renamed_Or_Alias -- field. They are semantically related, and have the following intended uses: -- a) Renamed_Entity applies to entities in renaming declarations that rename -- an entity, so the value of the attribute IS an entity. This applies to -- generic renamings, package renamings, exception renamings, and subprogram -- renamings that rename a subprogram (rather than an attribute, an entry, a -- protected operation, etc). -- b) Alias applies to overloadable entities, and the value is an overloadable -- entity. So this is a subset of the previous one. We use the term Alias to -- cover both renamings and inherited operations, because both cases are -- handled in the same way when expanding a call. Namely the Alias of a given -- subprogram is the subprogram that will actually be called. -- Both a) and b) are set transitively, so that in fact it is not necessary to -- traverse chains of renamings when looking for the original entity: it's -- there in one step (this is done when analyzing renaming declarations other -- than object renamings in sem_ch8). -- c) Renamed_Object applies to constants and variables. Given that the name -- in an object renaming declaration is not necessarily an entity name, the -- value of the attribute is the tree for that name, eg AR (1).Comp. The case -- when that name is in fact an entity is not handled specially. This is why -- in a few cases we need to use a loop to trace a chain of object renamings -- where all of them happen to be entities. So: -- X : Integer; -- Y : Integer renames X; -- renamed object is the identifier X -- Z : Integer renames Y; -- renamed object is the identifier Y -- The front-end does not store explicitly the fact that Z renames X. -------------------------------------- -- Delayed Freezing and Elaboration -- -------------------------------------- -- The flag Has_Delayed_Freeze indicates that an entity carries an explicit -- freeze node, which appears later in the expanded tree. -- a) The flag is used by the front-end to trigger expansion actions -- which include the generation of that freeze node. Typically this happens at -- the end of the current compilation unit, or before the first subprogram -- body is encountered in the current unit. See files freeze and exp_ch13 for -- details on the actions triggered by a freeze node, which include the -- construction of initialization procedures and dispatch tables. -- b) The flag is used by the backend to defer elaboration of the entity until -- its freeze node is seen. In the absence of an explicit freeze node, an -- entity is frozen (and elaborated) at the point of declaration. -- For object declarations, the flag is set when an address clause for the -- object is encountered. Legality checks on the address expression only -- take place at the freeze point of the object. -- Most types have an explicit freeze node, because they cannot be elaborated -- until all representation and operational items that apply to them have been -- analyzed. Private types and incomplete types have the flag set as well, as -- do task and protected types. -- Implicit base types created for type derivations, as well as classwide -- types created for all tagged types, have the flag set. -- If a subprogram has an access parameter whose designated type is incomplete -- the subprogram has the flag set. ------------------ -- Access Kinds -- ------------------ -- The following entity kinds are introduced by the corresponding type -- definitions: -- E_Access_Type, -- E_General_Access_Type, -- E_Access_Subprogram_Type, -- E_Anonymous_Access_Subprogram_Type, -- E_Access_Protected_Subprogram_Type, -- E_Anonymous_Access_Protected_Subprogram_Type -- E_Anonymous_Access_Type. -- E_Access_Subtype is for an access subtype created by a subtype -- declaration. -- In addition, we define the kind E_Allocator_Type to label allocators. -- This is because special resolution rules apply to this construct. -- Eventually the constructs are labeled with the access type imposed by -- the context. The backend should never see types with this Ekind. -- Similarly, the type E_Access_Attribute_Type is used as the initial kind -- associated with an access attribute. After resolution a specific access -- type will be established as determined by the context. -------------------------------------------------------- -- Description of Defined Attributes for Entity_Kinds -- -------------------------------------------------------- -- For each enumeration value defined in Entity_Kind we list all the -- attributes defined in Einfo which can legally be applied to an entity -- of that kind. The implementation of the attribute functions (and for -- non-synthesized attributes, of the corresponding set procedures) are -- in the Einfo body. -- The following attributes are defined in all entities -- Ekind (Ekind) -- Chars -- Next_Entity -- Scope -- Homonym -- Etype -- First_Rep_Item -- Freeze_Node -- Prev_Entity -- Associated_Entity -- Address_Taken -- Can_Never_Be_Null -- Checks_May_Be_Suppressed -- Debug_Info_Off -- Has_Convention_Pragma -- Has_Delayed_Aspects -- Has_Delayed_Freeze -- Has_Fully_Qualified_Name -- Has_Gigi_Rep_Item -- Has_Homonym -- Has_Pragma_Elaborate_Body -- Has_Pragma_Inline -- Has_Pragma_Inline_Always -- Has_Pragma_No_Inline -- Has_Pragma_Pure -- Has_Pragma_Pure_Function -- Has_Pragma_Thread_Local_Storage -- Has_Pragma_Unmodified -- Has_Pragma_Unreferenced -- Has_Pragma_Unused -- Has_Private_Declaration -- Has_Qualified_Name -- Has_Stream_Size_Clause -- Has_Unknown_Discriminants -- Has_Xref_Entry -- In_Private_Part -- Is_Ada_2005_Only -- Is_Ada_2012_Only -- Is_Ada_2022_Only -- Is_Bit_Packed_Array (base type only) -- Is_Aliased -- Is_Character_Type -- Is_Checked_Ghost_Entity -- Is_Child_Unit -- Is_Compilation_Unit -- Is_Descendant_Of_Address -- Is_Discrim_SO_Function -- Is_Discriminant_Check_Function -- Is_Dispatch_Table_Entity -- Is_Dispatch_Table_Wrapper -- Is_Dispatching_Operation -- Is_Entry_Formal -- Is_Exported -- Is_First_Subtype -- Is_Formal_Subprogram -- Is_Generic_Instance -- Is_Generic_Type -- Is_Hidden -- Is_Hidden_Open_Scope -- Is_Ignored_Ghost_Entity -- Is_Immediately_Visible -- Is_Implementation_Defined -- Is_Imported -- Is_Inlined -- Is_Internal -- Is_Itype -- Is_Known_Non_Null -- Is_Known_Null -- Is_Known_Valid -- Is_Limited_Composite -- Is_Limited_Record -- Is_Loop_Parameter -- Is_Obsolescent -- Is_Package_Body_Entity -- Is_Packed_Array_Impl_Type -- Is_Potentially_Use_Visible -- Is_Preelaborated -- Is_Primitive_Wrapper -- Is_Public -- Is_Pure -- Is_Remote_Call_Interface -- Is_Remote_Types -- Is_Renaming_Of_Object -- Is_Shared_Passive -- Is_Statically_Allocated -- Is_Static_Type -- Is_Tagged_Type -- Is_Thunk -- Is_Trivial_Subprogram -- Is_Unchecked_Union -- Is_Unimplemented -- Is_Visible_Formal -- Kill_Elaboration_Checks -- Kill_Range_Checks -- Low_Bound_Tested -- Materialize_Entity -- Needs_Debug_Info -- Never_Set_In_Source -- No_Return -- Overlays_Constant -- Referenced -- Referenced_As_LHS -- Referenced_As_Out_Parameter -- Suppress_Elaboration_Warnings -- Suppress_Style_Checks -- Suppress_Value_Tracking_On_Call -- Used_As_Generic_Actual -- Warnings_Off -- Warnings_Off_Used -- Warnings_Off_Used_Unmodified -- Warnings_Off_Used_Unreferenced -- Was_Hidden -- Declaration_Node (synth) -- Has_Foreign_Convention (synth) -- Is_Dynamic_Scope (synth) -- Is_Ghost_Entity (synth) -- Is_Standard_Character_Type (synth) -- Is_Standard_String_Type (synth) -- Underlying_Type (synth) -- all classification attributes (synth) -- The following list of access functions applies to all entities for -- types and subtypes. References to this list appear subsequently as -- "(plus type attributes)" for each appropriate Entity_Kind. -- Associated_Node_For_Itype -- Class_Wide_Type -- Full_View -- Esize -- RM_Size -- Alignment -- Pending_Access_Types -- Related_Expression -- Current_Use_Clause -- Subprograms_For_Type -- Derived_Type_Link -- No_Tagged_Streams_Pragma -- Linker_Section_Pragma -- SPARK_Pragma -- Depends_On_Private -- Disable_Controlled -- Discard_Names -- Finalize_Storage_Only (base type only) -- From_Limited_With -- Has_Aliased_Components (base type only) -- Has_Alignment_Clause -- Has_Atomic_Components (base type only) -- Has_Completion_In_Body -- Has_Complex_Representation (base type only) -- Has_Constrained_Partial_View -- Has_Controlled_Component (base type only) -- Has_Default_Aspect (base type only) -- Has_Delayed_Rep_Aspects -- Has_Discriminants -- Has_Dynamic_Predicate_Aspect -- Has_Independent_Components (base type only) -- Has_Inheritable_Invariants (base type only) -- Has_Inherited_DIC (base type only) -- Has_Inherited_Invariants (base type only) -- Has_Non_Standard_Rep (base type only) -- Has_Object_Size_Clause -- Has_Own_DIC (base type only) -- Has_Own_Invariants (base type only) -- Has_Pragma_Preelab_Init -- Has_Pragma_Unreferenced_Objects -- Has_Predicates -- Has_Primitive_Operations (base type only) -- Has_Protected (base type only) -- Has_Size_Clause -- Has_Specified_Layout (base type only) -- Has_Specified_Stream_Input -- Has_Specified_Stream_Output -- Has_Specified_Stream_Read -- Has_Specified_Stream_Write -- Has_Static_Predicate -- Has_Static_Predicate_Aspect -- Has_Task (base type only) -- Has_Timing_Event (base type only) -- Has_Unchecked_Union (base type only) -- Has_Volatile_Components (base type only) -- In_Use -- Is_Abstract_Type -- Is_Asynchronous -- Is_Atomic -- Is_Constr_Subt_For_U_Nominal -- Is_Constr_Subt_For_UN_Aliased -- Is_Controlled_Active (base type only) -- Is_Eliminated -- Is_Frozen -- Is_Generic_Actual_Type -- Is_Independent -- Is_Non_Static_Subtype -- Is_Packed (base type only) -- Is_Private_Composite -- Is_RACW_Stub_Type -- Is_Unsigned_Type -- Is_Volatile -- Is_Volatile_Full_Access -- Itype_Printed (itypes only) -- Known_To_Have_Preelab_Init -- May_Inherit_Delayed_Rep_Aspects -- Must_Be_On_Byte_Boundary -- Must_Have_Preelab_Init -- Optimize_Alignment_Space -- Optimize_Alignment_Time -- Partial_View_Has_Unknown_Discr -- Size_Depends_On_Discriminant -- Size_Known_At_Compile_Time -- SPARK_Pragma_Inherited -- Strict_Alignment (base type only) -- Suppress_Initialization -- Treat_As_Volatile -- Universal_Aliasing (impl base type only) -- Alignment_Clause (synth) -- Base_Type (synth) -- DIC_Procedure (synth) -- Has_DIC (synth) -- Has_Invariants (synth) -- Implementation_Base_Type (synth) -- Invariant_Procedure (synth) -- Is_Access_Protected_Subprogram_Type (synth) -- Is_Full_Access (synth) -- Is_Controlled (synth) -- Object_Size_Clause (synth) -- Partial_DIC_Procedure (synth) -- Partial_Invariant_Procedure (synth) -- Predicate_Function (synth) -- Predicate_Function_M (synth) -- Root_Type (synth) -- Size_Clause (synth) ------------------------------------------ -- Applicable attributes by entity kind -- ------------------------------------------ -- In the conversion to variable-sized nodes and entities, a number of -- discrepancies were noticed. They are documented in comments, and marked -- with "$$$". -- E_Abstract_State -- Refinement_Constituents -- Part_Of_Constituents -- Body_References -- Non_Limited_View -- Encapsulating_State -- SPARK_Pragma -- From_Limited_With -- Has_Partial_Visible_Refinement -- Has_Visible_Refinement -- SPARK_Pragma_Inherited -- First_Entity $$$ -- Has_Non_Limited_View (synth) -- Has_Non_Null_Visible_Refinement (synth) -- Has_Null_Visible_Refinement (synth) -- Is_External_State (synth) -- Is_Null_State (synth) -- Is_Relaxed_Initialization_State (synth) -- Is_Synchronized_State (synth) -- Partial_Refinement_Constituents (synth) -- E_Access_Protected_Subprogram_Type -- Equivalent_Type -- Directly_Designated_Type -- Needs_No_Actuals -- Can_Use_Internal_Rep -- (plus type attributes) -- E_Access_Subprogram_Type -- Equivalent_Type (remote types only) -- Directly_Designated_Type -- Needs_No_Actuals -- Original_Access_Type -- Can_Use_Internal_Rep -- Needs_Activation_Record -- Associated_Storage_Pool $$$ -- Interface_Name $$$ -- (plus type attributes) -- E_Access_Type -- E_Access_Subtype -- Direct_Primitive_Operations $$$ type -- Master_Id -- Directly_Designated_Type -- Associated_Storage_Pool (base type only) -- Finalization_Master (base type only) -- Storage_Size_Variable (base type only) -- Has_Pragma_Controlled (base type only) -- Has_Storage_Size_Clause (base type only) -- Is_Access_Constant -- Is_Local_Anonymous_Access -- Is_Pure_Unit_Access_Type -- No_Pool_Assigned (base type only) -- No_Strict_Aliasing (base type only) -- Is_Param_Block_Component_Type (base type only) -- (plus type attributes) -- E_Access_Attribute_Type -- Renamed_Entity $$$ -- Directly_Designated_Type -- (plus type attributes) -- E_Allocator_Type -- Directly_Designated_Type -- Associated_Storage_Pool $$$ -- (plus type attributes) -- E_Anonymous_Access_Subprogram_Type -- E_Anonymous_Access_Protected_Subprogram_Type -- Interface_Name $$$ E_Anonymous_Access_Subprogram_Type -- Directly_Designated_Type -- Storage_Size_Variable is this needed ??? -- Can_Use_Internal_Rep -- Needs_Activation_Record -- (plus type attributes) -- E_Anonymous_Access_Type -- Directly_Designated_Type -- Finalization_Master -- Storage_Size_Variable is this needed ??? -- Associated_Storage_Pool $$$ -- (plus type attributes) -- E_Array_Type -- E_Array_Subtype -- First_Entity $$$ -- Direct_Primitive_Operations $$$ subtype -- Renamed_Object $$$ E_Array_Subtype -- First_Index -- Default_Aspect_Component_Value (base type only) -- Component_Type (base type only) -- Original_Array_Type -- Component_Size (base type only) -- Packed_Array_Impl_Type -- Related_Array_Object -- Predicated_Parent (subtype only) -- Component_Alignment (special) (base type only) -- Has_Component_Size_Clause (base type only) -- Has_Pragma_Pack (impl base type only) -- Is_Constrained -- Reverse_Storage_Order (base type only) -- SSO_Set_High_By_Default (base type only) -- SSO_Set_Low_By_Default (base type only) -- Next_Index (synth) -- Number_Dimensions (synth) -- (plus type attributes) -- E_Block -- Renamed_Entity $$$ -- Renamed_Object $$$ -- Return_Applies_To -- Block_Node -- First_Entity -- Last_Entity -- Scope_Depth_Value -- Entry_Cancel_Parameter -- Contains_Ignored_Ghost_Code -- Delay_Cleanups -- Discard_Names -- Has_Master_Entity -- Has_Nested_Block_With_Handler -- Is_Exception_Handler -- Sec_Stack_Needed_For_Return -- Uses_Sec_Stack -- Scope_Depth (synth) -- E_Class_Wide_Type -- E_Class_Wide_Subtype -- Direct_Primitive_Operations -- Cloned_Subtype (subtype case only) -- First_Entity -- Equivalent_Type (always Empty for type) -- Non_Limited_View -- Last_Entity -- SSO_Set_High_By_Default (base type only) -- SSO_Set_Low_By_Default (base type only) -- Corresponding_Remote_Type $$$ type -- Renamed_Entity $$$ type -- First_Component (synth) -- First_Component_Or_Discriminant (synth) -- Has_Non_Limited_View (synth) -- (plus type attributes) -- E_Component -- Linker_Section_Pragma $$$ -- Normalized_First_Bit -- Current_Value (always Empty) -- Component_Bit_Offset -- Esize -- Component_Clause -- Normalized_Position -- DT_Entry_Count -- Entry_Formal -- Prival -- Renamed_Object (always Empty) -- Discriminant_Checking_Func -- Corresponding_Record_Component -- Original_Record_Component -- DT_Offset_To_Top_Func -- Related_Type -- Has_Biased_Representation -- Has_Per_Object_Constraint -- Is_Atomic -- Is_Independent -- Is_Return_Object -- Is_Tag -- Is_Volatile -- Is_Volatile_Full_Access -- Treat_As_Volatile -- Is_Full_Access (synth) -- Next_Component (synth) -- Next_Component_Or_Discriminant (synth) -- E_Constant -- E_Loop_Parameter -- Current_Value (always Empty) -- Discriminal_Link -- Full_View -- Esize -- Extra_Accessibility (constants only) -- Alignment -- Status_Flag_Or_Transient_Decl -- Actual_Subtype -- Renamed_Object -- Renamed_Entity $$$ -- Size_Check_Code (constants only) -- Prival_Link (privals only) -- Interface_Name (constants only) -- Related_Type (constants only) -- Initialization_Statements -- BIP_Initialization_Call -- Last_Aggregate_Assignment -- Activation_Record_Component -- Encapsulating_State (constants only) -- Linker_Section_Pragma -- Contract (constants only) -- SPARK_Pragma (constants only) -- Has_Alignment_Clause -- Has_Atomic_Components -- Has_Biased_Representation -- Has_Completion (constants only) -- Has_Independent_Components -- Has_Size_Clause -- Has_Thunks (constants only) -- Has_Volatile_Components -- Is_Atomic -- Is_Elaboration_Checks_OK_Id (constants only) -- Is_Elaboration_Warnings_OK_Id (constants only) -- Is_Eliminated -- Is_Finalized_Transient -- Is_Ignored_Transient -- Is_Independent -- Is_Return_Object -- Is_True_Constant -- Is_Uplevel_Referenced_Entity -- Is_Volatile -- Is_Volatile_Full_Access -- Optimize_Alignment_Space (constants only) -- Optimize_Alignment_Time (constants only) -- SPARK_Pragma_Inherited (constants only) -- Stores_Attribute_Old_Prefix (constants only) -- Treat_As_Volatile -- Address_Clause (synth) -- Alignment_Clause (synth) -- Is_Elaboration_Target (synth) -- Is_Full_Access (synth) -- Size_Clause (synth) -- E_Decimal_Fixed_Point_Type -- E_Decimal_Fixed_Point_Subtype -- Scale_Value -- Digits_Value -- Scalar_Range -- Delta_Value -- Small_Value -- Static_Real_Or_String_Predicate -- Has_Machine_Radix_Clause -- Machine_Radix_10 -- Aft_Value (synth) -- Type_Low_Bound (synth) -- Type_High_Bound (synth) -- (plus type attributes) -- E_Discriminant -- Normalized_First_Bit -- Current_Value (always Empty) -- Component_Bit_Offset -- Esize -- Component_Clause -- Normalized_Position -- Discriminant_Number -- Discriminal -- Renamed_Object (always Empty) -- Corresponding_Discriminant -- Discriminant_Default_Value -- Corresponding_Record_Component -- Original_Record_Component -- CR_Discriminant -- Is_Completely_Hidden -- Is_Return_Object -- Entry_Formal $$$ -- Linker_Section_Pragma $$$ -- Next_Component_Or_Discriminant (synth) -- Next_Discriminant (synth) -- Next_Stored_Discriminant (synth) -- E_Entry -- E_Entry_Family -- Protected_Body_Subprogram -- Barrier_Function -- Elaboration_Entity -- Postconditions_Proc -- Entry_Parameters_Type -- First_Entity -- Alias (for entry only. Empty) -- Last_Entity -- Accept_Address -- Scope_Depth_Value -- Protection_Object (protected kind) -- Contract_Wrapper -- Extra_Formals -- Contract -- SPARK_Pragma (protected kind) -- Default_Expressions_Processed -- Entry_Accepted -- Has_Yield_Aspect -- Has_Expanded_Contract -- Ignore_SPARK_Mode_Pragmas -- Is_Elaboration_Checks_OK_Id -- Is_Elaboration_Warnings_OK_Id -- Is_Entry_Wrapper -- Needs_No_Actuals -- Sec_Stack_Needed_For_Return -- SPARK_Pragma_Inherited (protected kind) -- Uses_Sec_Stack -- Renamed_Entity $$$ -- Address_Clause (synth) -- Entry_Index_Type (synth) -- First_Formal (synth) -- First_Formal_With_Extras (synth) -- Is_Elaboration_Target (synth) -- Last_Formal (synth) -- Number_Formals (synth) -- Scope_Depth (synth) -- E_Entry_Index_Parameter -- Entry_Index_Constant -- E_Enumeration_Literal -- Enumeration_Pos -- Enumeration_Rep -- Alias -- Enumeration_Rep_Expr -- Interface_Name $$$ -- Renamed_Object $$$ -- Esize $$$ -- Renamed_Entity $$$ -- Next_Literal (synth) -- E_Enumeration_Type -- E_Enumeration_Subtype -- First_Entity $$$ type -- Renamed_Object $$$ -- Lit_Strings (root type only) -- First_Literal -- Lit_Indexes (root type only) -- Default_Aspect_Value (base type only) -- Scalar_Range -- Lit_Hash (root type only) -- Enum_Pos_To_Rep (type only) -- Static_Discrete_Predicate -- Has_Biased_Representation -- Has_Contiguous_Rep -- Has_Enumeration_Rep_Clause -- Has_Pragma_Ordered (base type only) -- Nonzero_Is_True (base type only) -- No_Predicate_On_Actual -- No_Dynamic_Predicate_On_Actual -- Type_Low_Bound (synth) -- Type_High_Bound (synth) -- (plus type attributes) -- E_Exception -- Esize -- Alignment -- Renamed_Entity -- Register_Exception_Call -- Interface_Name -- Activation_Record_Component -- Discard_Names -- Is_Raised -- Renamed_Object $$$ -- E_Exception_Type -- Equivalent_Type -- (plus type attributes) -- E_Floating_Point_Type -- E_Floating_Point_Subtype -- Digits_Value -- Float_Rep (Float_Rep_Kind) -- Default_Aspect_Value (base type only) -- Scalar_Range -- Static_Real_Or_String_Predicate -- Machine_Emax_Value (synth) -- Machine_Emin_Value (synth) -- Machine_Mantissa_Value (synth) -- Machine_Radix_Value (synth) -- Model_Emin_Value (synth) -- Model_Epsilon_Value (synth) -- Model_Mantissa_Value (synth) -- Model_Small_Value (synth) -- Safe_Emax_Value (synth) -- Safe_First_Value (synth) -- Safe_Last_Value (synth) -- Type_Low_Bound (synth) -- Type_High_Bound (synth) -- (plus type attributes) -- E_Function -- E_Generic_Function -- Mechanism (Mechanism_Type) -- Handler_Records (non-generic case only) -- Protected_Body_Subprogram -- Next_Inlined_Subprogram -- Elaboration_Entity (not implicit /=) -- Postconditions_Proc (non-generic case only) -- DT_Position -- DTC_Entity -- First_Entity -- Alias (non-generic case only) -- Renamed_Entity -- Renamed_Object $$$ -- Extra_Accessibility_Of_Result (non-generic case only) -- Last_Entity -- Interface_Name -- Scope_Depth_Value -- Generic_Renamings (for an instance) -- Inner_Instances (generic case only) -- Inner_Instances $$$ also E_Function -- Protection_Object (for concurrent kind) -- Subps_Index (non-generic case only) -- Interface_Alias -- LSP_Subprogram (non-generic case only) -- Overridden_Operation -- Wrapped_Entity (non-generic case only) -- Extra_Formals -- Anonymous_Masters (non-generic case only) -- Corresponding_Equality (implicit /= only) -- Thunk_Entity (thunk case only) -- Corresponding_Procedure (generate C code only) -- Linker_Section_Pragma -- Contract -- Import_Pragma (non-generic case only) -- Class_Postconditions -- Class_Preconditions -- Class_Preconditions_Subprogram -- Dynamic_Call_Helper -- Ignored_Class_Preconditions -- Ignored_Class_Postconditions -- Indirect_Call_Wrapper -- Static_Call_Helper -- Protected_Subprogram (non-generic case only) -- SPARK_Pragma -- Original_Protected_Subprogram -- Body_Needed_For_SAL -- Contains_Ignored_Ghost_Code -- Default_Expressions_Processed -- Delay_Cleanups -- Delay_Subprogram_Descriptors -- Discard_Names -- Elaboration_Entity_Required -- Has_Completion -- Has_Controlling_Result -- Has_Expanded_Contract (non-generic case only) -- Has_Master_Entity -- Has_Missing_Return -- Has_Nested_Block_With_Handler -- Has_Nested_Subprogram -- Has_Out_Or_In_Out_Parameter -- Has_Recursive_Call -- Has_Yield_Aspect -- Ignore_SPARK_Mode_Pragmas -- Is_Abstract_Subprogram (non-generic case only) -- Is_Called (non-generic case only) -- Is_Class_Wide_Wrapper -- Is_Constructor -- Is_CUDA_Kernel (non-generic case only) -- Is_DIC_Procedure (non-generic case only) -- Is_Discrim_SO_Function -- Is_Discriminant_Check_Function -- Is_Elaboration_Checks_OK_Id -- Is_Elaboration_Warnings_OK_Id -- Is_Eliminated -- Is_Generic_Actual_Subprogram (non-generic case only) -- Is_Hidden_Non_Overridden_Subpgm (non-generic case only) -- Is_Initial_Condition_Procedure (non-generic case only) -- Is_Inlined_Always (non-generic case only) -- Is_Instantiated (generic case only) -- Is_Intrinsic_Subprogram -- Is_Invariant_Procedure (non-generic case only) -- Is_Machine_Code_Subprogram (non-generic case only) -- Is_Partial_Invariant_Procedure (non-generic case only) -- Is_Predicate_Function (non-generic case only) -- Is_Predicate_Function_M (non-generic case only) -- Is_Primitive -- Is_Primitive_Wrapper (non-generic case only) -- Is_Private_Descendant -- Is_Private_Primitive (non-generic case only) -- Is_Pure -- Is_Visible_Lib_Unit -- Is_Wrapper -- Needs_No_Actuals -- Requires_Overriding (non-generic case only) -- Return_Present -- Returns_By_Ref -- Rewritten_For_C (generate C code only) -- Sec_Stack_Needed_For_Return -- SPARK_Pragma_Inherited -- Uses_Sec_Stack -- Address_Clause (synth) -- First_Formal (synth) -- First_Formal_With_Extras (synth) -- Is_Elaboration_Target (synth) -- Last_Formal (synth) -- Number_Formals (synth) -- Scope_Depth (synth) -- E_General_Access_Type -- First_Entity $$$ -- Renamed_Entity $$$ -- Master_Id -- Directly_Designated_Type -- Associated_Storage_Pool (root type only) -- Finalization_Master (root type only) -- Storage_Size_Variable (base type only) -- (plus type attributes) -- E_Generic_In_Parameter -- E_Generic_In_Out_Parameter -- Current_Value (always Empty) -- Entry_Component -- Actual_Subtype -- Renamed_Object (always Empty) -- Default_Value -- Protected_Formal -- Is_Controlling_Formal -- Is_Return_Object -- Parameter_Mode (synth) -- E_Incomplete_Type -- E_Incomplete_Subtype -- Direct_Primitive_Operations -- Non_Limited_View -- Private_Dependents -- Discriminant_Constraint -- Stored_Constraint -- First_Entity $$$ -- Last_Entity $$$ -- Has_Non_Limited_View (synth) -- (plus type attributes) -- E_In_Parameter -- E_In_Out_Parameter -- E_Out_Parameter -- Linker_Section_Pragma $$$ -- Mechanism (Mechanism_Type) -- Current_Value -- Discriminal_Link (discriminals only) -- Entry_Component -- Esize -- Extra_Accessibility -- Alignment -- Extra_Formal -- Unset_Reference -- Actual_Subtype -- Renamed_Object -- Spec_Entity -- Default_Value -- Default_Expr_Function -- Protected_Formal -- Extra_Constrained -- Minimum_Accessibility -- Last_Assignment (OUT, IN-OUT only) -- Activation_Record_Component -- Has_Initial_Value -- Is_Controlling_Formal -- Is_Only_Out_Parameter -- Low_Bound_Tested -- Is_Return_Object -- Is_Activation_Record -- Parameter_Mode (synth) -- E_Label -- Renamed_Object $$$ -- Renamed_Entity $$$ -- Enclosing_Scope -- Reachable -- E_Limited_Private_Type -- E_Limited_Private_Subtype -- Scalar_Range $$$ type -- First_Entity -- Private_Dependents -- Underlying_Full_View -- Last_Entity -- Discriminant_Constraint -- Stored_Constraint -- Has_Completion -- (plus type attributes) -- E_Loop -- First_Exit_Statement -- Has_Exit -- Has_Loop_Entry_Attributes -- Has_Master_Entity -- Has_Nested_Block_With_Handler -- Uses_Sec_Stack -- First_Entity $$$ -- Last_Entity $$$ -- Renamed_Object $$$ -- E_Modular_Integer_Type -- E_Modular_Integer_Subtype -- Modulus (base type only) -- Default_Aspect_Value (base type only) -- Original_Array_Type -- Scalar_Range -- Static_Discrete_Predicate -- Non_Binary_Modulus (base type only) -- Has_Biased_Representation -- Has_Shift_Operator (base type only) -- No_Predicate_On_Actual -- No_Dynamic_Predicate_On_Actual -- Type_Low_Bound (synth) -- Type_High_Bound (synth) -- (plus type attributes) -- E_Named_Integer -- Renamed_Object $$$ -- E_Named_Real -- E_Operator -- First_Entity -- Alias -- Extra_Accessibility_Of_Result -- Last_Entity -- Subps_Index -- Overridden_Operation -- Linker_Section_Pragma -- Contract -- Import_Pragma -- LSP_Subprogram -- SPARK_Pragma -- Default_Expressions_Processed -- Has_Nested_Subprogram -- Ignore_SPARK_Mode_Pragmas -- Is_Class_Wide_Wrapper -- Is_Elaboration_Checks_OK_Id -- Is_Elaboration_Warnings_OK_Id -- Is_Intrinsic_Subprogram -- Is_Machine_Code_Subprogram -- Is_Primitive -- Is_Pure -- Is_Wrapper -- SPARK_Pragma_Inherited -- Interface_Name $$$ -- Renamed_Entity $$$ -- Renamed_Object $$$ -- Is_Elaboration_Target (synth) -- Aren't there more flags and fields? seems like this list should be -- more similar to the E_Function list, which is much longer ??? -- E_Ordinary_Fixed_Point_Type -- E_Ordinary_Fixed_Point_Subtype -- Delta_Value -- Default_Aspect_Value (base type only) -- Scalar_Range -- Static_Real_Or_String_Predicate -- Small_Value -- Has_Small_Clause -- Aft_Value (synth) -- Type_Low_Bound (synth) -- Type_High_Bound (synth) -- (plus type attributes) -- E_Package -- E_Generic_Package -- Dependent_Instances (for an instance) -- Handler_Records (non-generic case only) -- Generic_Homonym (generic case only) -- Associated_Formal_Package -- Elaboration_Entity -- Related_Instance (non-generic case only) -- First_Private_Entity -- First_Entity -- Renamed_Entity -- Renamed_Object $$$ -- Body_Entity -- Last_Entity -- Interface_Name -- Scope_Depth_Value -- Generic_Renamings (for an instance) -- Inner_Instances (generic case only) -- Inner_Instances $$$ also E_Package -- Limited_View (non-generic/instance) -- Incomplete_Actuals (for an instance) -- Abstract_States -- Package_Instantiation -- Current_Use_Clause -- Finalizer (non-generic case only) -- Anonymous_Masters (non-generic case only) -- Contract -- SPARK_Pragma -- SPARK_Aux_Pragma -- Body_Needed_For_Inlining -- Body_Needed_For_SAL -- Contains_Ignored_Ghost_Code -- Delay_Subprogram_Descriptors -- Discard_Names -- Elaborate_Body_Desirable (non-generic case only) -- Elaboration_Entity_Required -- From_Limited_With -- Has_All_Calls_Remote -- Has_Completion -- Has_Forward_Instantiation -- Has_Master_Entity -- Has_RACW (non-generic case only) -- Ignore_SPARK_Mode_Pragmas -- Is_Called (non-generic case only) -- Is_Elaboration_Checks_OK_Id -- Is_Elaboration_Warnings_OK_Id -- Is_Instantiated -- In_Package_Body -- Is_Private_Descendant -- In_Use -- Is_Visible_Lib_Unit -- Renamed_In_Spec (non-generic case only) -- SPARK_Aux_Pragma_Inherited -- SPARK_Pragma_Inherited -- Static_Elaboration_Desired (non-generic case only) -- Renamed_Object $$$ -- Has_Non_Null_Abstract_State (synth) -- Has_Null_Abstract_State (synth) -- Is_Elaboration_Target (synth) -- Is_Wrapper_Package (synth) (non-generic case only) -- Has_Limited_View (synth) (non-generic case only) -- Scope_Depth (synth) -- E_Package_Body -- Handler_Records (non-generic case only) -- Related_Instance (non-generic case only) -- First_Entity -- Spec_Entity -- Last_Entity -- Scope_Depth_Value -- Finalizer (non-generic case only) -- Contract -- SPARK_Pragma -- SPARK_Aux_Pragma -- Contains_Ignored_Ghost_Code -- Delay_Subprogram_Descriptors -- Ignore_SPARK_Mode_Pragmas -- SPARK_Aux_Pragma_Inherited -- SPARK_Pragma_Inherited -- Renamed_Entity $$$ -- Scope_Depth (synth) -- E_Private_Type -- E_Private_Subtype -- Scalar_Range $$$ type -- Direct_Primitive_Operations -- First_Entity -- Private_Dependents -- Underlying_Full_View -- Last_Entity -- Discriminant_Constraint -- Stored_Constraint -- Has_Completion -- Is_Controlled_Active (base type only) -- $$$above in (plus type attributes) -- (plus type attributes) -- E_Procedure -- E_Generic_Procedure -- Associated_Node_For_Itype $$$ E_Procedure -- Handler_Records (non-generic case only) -- Protected_Body_Subprogram -- Next_Inlined_Subprogram -- Elaboration_Entity -- Postconditions_Proc (non-generic case only) -- DT_Position -- DTC_Entity -- First_Entity -- Alias (non-generic case only) -- Renamed_Entity -- Renamed_Object $$$ -- Receiving_Entry (non-generic case only) -- Last_Entity -- Interface_Name -- Scope_Depth_Value -- Generic_Renamings (for an instance) -- Inner_Instances (generic case only) -- Inner_Instances $$$ also E_Procedure -- Protection_Object (for concurrent kind) -- Subps_Index (non-generic case only) -- Interface_Alias -- LSP_Subprogram (non-generic case only) -- Overridden_Operation (never for init proc) -- Wrapped_Entity (non-generic case only) -- Extra_Formals -- Anonymous_Masters (non-generic case only) -- Static_Initialization (init_proc only) -- Thunk_Entity (thunk case only) -- Corresponding_Function (generate C code only) -- Linker_Section_Pragma -- Contract -- Import_Pragma (non-generic case only) -- Class_Postconditions -- Class_Preconditions -- Class_Preconditions_Subprogram -- Dynamic_Call_Helper -- Ignored_Class_Preconditions -- Ignored_Class_Postconditions -- Indirect_Call_Wrapper -- Static_Call_Helper -- Protected_Subprogram (non-generic case only) -- SPARK_Pragma -- Original_Protected_Subprogram -- Body_Needed_For_SAL -- Contains_Ignored_Ghost_Code -- Delay_Cleanups $$$Dup below -- Discard_Names $$$Dup below -- Elaboration_Entity_Required -- Default_Expressions_Processed -- Delay_Cleanups -- Delay_Subprogram_Descriptors -- Discard_Names -- Has_Completion -- Has_Expanded_Contract (non-generic case only) -- Has_Master_Entity -- Has_Nested_Block_With_Handler -- Has_Nested_Subprogram -- Has_Yield_Aspect -- Ignore_SPARK_Mode_Pragmas -- Is_Abstract_Subprogram (non-generic case only) -- Is_Asynchronous -- Is_Called (non-generic case only) -- Is_Class_Wide_Wrapper -- Is_Constructor -- Is_CUDA_Kernel -- Is_DIC_Procedure (non-generic case only) -- Is_Elaboration_Checks_OK_Id -- Is_Elaboration_Warnings_OK_Id -- Is_Eliminated -- Is_Generic_Actual_Subprogram (non-generic case only) -- Is_Hidden_Non_Overridden_Subpgm (non-generic case only) -- Is_Initial_Condition_Procedure (non-generic case only) -- Is_Inlined_Always (non-generic case only) -- Is_Instantiated (generic case only) -- Is_Interrupt_Handler -- Is_Intrinsic_Subprogram -- Is_Invariant_Procedure (non-generic case only) -- Is_Machine_Code_Subprogram (non-generic case only) -- Is_Null_Init_Proc -- Is_Partial_DIC_Procedure (synth) (non-generic case only) -- Is_Partial_Invariant_Procedure (non-generic case only) -- Is_Predicate_Function (non-generic case only) -- Is_Predicate_Function_M (non-generic case only) -- Is_Primitive -- Is_Primitive_Wrapper (non-generic case only) -- Is_Private_Descendant -- Is_Private_Primitive (non-generic case only) -- Is_Pure -- Is_Wrapper -- Is_Valued_Procedure -- Is_Visible_Lib_Unit -- Needs_No_Actuals -- No_Return -- Requires_Overriding (non-generic case only) -- Sec_Stack_Needed_For_Return -- SPARK_Pragma_Inherited -- Entry_Parameters_Type $$$ -- Address_Clause (synth) -- First_Formal (synth) -- First_Formal_With_Extras (synth) -- Is_Elaboration_Target (synth) -- Is_Finalizer (synth) -- Last_Formal (synth) -- Number_Formals (synth) -- E_Protected_Body -- SPARK_Pragma -- Ignore_SPARK_Mode_Pragmas -- SPARK_Pragma_Inherited -- (any others??? First/Last Entity, Scope_Depth???) -- E_Protected_Object$$$No such thing -- E_Protected_Type -- E_Protected_Subtype -- Direct_Primitive_Operations -- First_Private_Entity -- First_Entity -- Corresponding_Record_Type -- Entry_Bodies_Array -- Last_Entity -- Discriminant_Constraint -- Scope_Depth_Value -- Stored_Constraint -- Anonymous_Object -- Contract -- Entry_Max_Queue_Lengths_Array -- SPARK_Aux_Pragma -- Ignore_SPARK_Mode_Pragmas -- SPARK_Aux_Pragma_Inherited -- Uses_Lock_Free -- First_Component (synth) -- First_Component_Or_Discriminant (synth) -- Has_Entries (synth) -- Has_Interrupt_Handler (synth) -- Number_Entries (synth) -- Scope_Depth (synth) -- (plus type attributes) -- E_Record_Type -- E_Record_Subtype -- Renamed_Entity $$$ type -- Interface_Name $$$ type -- Direct_Primitive_Operations -- Access_Disp_Table (base type only) -- Cloned_Subtype (subtype case only) -- First_Entity -- Corresponding_Concurrent_Type -- Parent_Subtype (base type only) -- Last_Entity -- Discriminant_Constraint -- Corresponding_Remote_Type -- Stored_Constraint -- Interfaces -- Dispatch_Table_Wrappers (base type only) -- Underlying_Record_View (base type only) -- Access_Disp_Table_Elab_Flag (base type only) -- Predicated_Parent (subtype only) -- Component_Alignment (special) (base type only) -- C_Pass_By_Copy (base type only) -- Has_Dispatch_Table (base tagged type only) -- Has_Pragma_Pack (impl base type only) -- Has_Private_Ancestor -- Has_Private_Extension -- Has_Record_Rep_Clause (base type only) -- Has_Static_Discriminants (subtype only) -- Is_Class_Wide_Equivalent_Type -- Is_Concurrent_Record_Type -- Is_Constrained -- Is_Controlled_Active (base type only) -- $$$above in (plus type attributes) -- Is_Interface -- Is_Limited_Interface -- No_Reordering (base type only) -- Reverse_Bit_Order (base type only) -- Reverse_Storage_Order (base type only) -- SSO_Set_High_By_Default (base type only) -- SSO_Set_Low_By_Default (base type only) -- First_Component (synth) -- First_Component_Or_Discriminant (synth) -- (plus type attributes) -- E_Record_Type_With_Private -- E_Record_Subtype_With_Private -- Corresponding_Remote_Type $$$ E_Record_Subtype_With_Private -- Direct_Primitive_Operations -- First_Entity -- Private_Dependents -- Underlying_Full_View -- Last_Entity -- Discriminant_Constraint -- Stored_Constraint -- Interfaces -- Underlying_Record_View $$$ (base type only) -- Predicated_Parent (subtype only) -- Has_Completion -- Has_Private_Ancestor -- Has_Private_Extension -- Has_Record_Rep_Clause (base type only) -- Is_Concurrent_Record_Type -- Is_Constrained -- Is_Controlled_Active (base type only) -- $$$above in (plus type attributes) -- Is_Interface -- Is_Limited_Interface -- No_Reordering (base type only) -- Reverse_Bit_Order (base type only) -- Reverse_Storage_Order (base type only) -- SSO_Set_High_By_Default (base type only) -- SSO_Set_Low_By_Default (base type only) -- Corresponding_Remote_Type $$$ type -- First_Component (synth) -- First_Component_Or_Discriminant (synth) -- (plus type attributes) -- E_Return_Statement -- Return_Applies_To -- First_Entity $$$ -- Last_Entity $$$ -- E_Signed_Integer_Type -- E_Signed_Integer_Subtype -- Renamed_Object $$$ subtype -- Interface_Name $$$ subtype -- Direct_Primitive_Operations $$$ type -- First_Entity $$$ -- Default_Aspect_Value (base type only) -- Scalar_Range -- Static_Discrete_Predicate -- Has_Biased_Representation -- Has_Shift_Operator (base type only) -- No_Predicate_On_Actual -- No_Dynamic_Predicate_On_Actual -- Type_Low_Bound (synth) -- Type_High_Bound (synth) -- (plus type attributes) -- E_String_Literal_Subtype -- String_Literal_Length -- First_Index (always Empty) -- String_Literal_Low_Bound -- Packed_Array_Impl_Type -- (plus type attributes) -- E_Subprogram_Body -- Mechanism -- First_Entity -- Corresponding_Protected_Entry -- Last_Entity -- Scope_Depth_Value -- Extra_Formals -- Anonymous_Masters -- Contract -- SPARK_Pragma -- Contains_Ignored_Ghost_Code -- SPARK_Pragma_Inherited -- Interface_Name $$$ -- Renamed_Entity $$$ -- Scope_Depth (synth) -- E_Subprogram_Type -- Extra_Accessibility_Of_Result -- Directly_Designated_Type -- Extra_Formals -- Access_Subprogram_Wrapper -- First_Formal (synth) -- First_Formal_With_Extras (synth) -- Last_Formal (synth) -- Number_Formals (synth) -- Returns_By_Ref -- First_Entity $$$ -- Last_Entity $$$ -- Interface_Name $$$ -- (plus type attributes) -- E_Task_Body -- Contract -- SPARK_Pragma -- Ignore_SPARK_Mode_Pragmas -- SPARK_Pragma_Inherited -- First_Entity $$$ -- (any others??? First/Last Entity, Scope_Depth???) -- E_Task_Type -- E_Task_Subtype -- Direct_Primitive_Operations -- First_Private_Entity -- First_Entity -- Corresponding_Record_Type -- Last_Entity -- Discriminant_Constraint -- Scope_Depth_Value -- Stored_Constraint -- Task_Body_Procedure -- Storage_Size_Variable (base type only) -- Relative_Deadline_Variable (base type only) -- Anonymous_Object -- Contract -- SPARK_Aux_Pragma -- Delay_Cleanups -- Has_Master_Entity -- Has_Storage_Size_Clause (base type only) -- Ignore_SPARK_Mode_Pragmas -- Is_Elaboration_Checks_OK_Id -- Is_Elaboration_Warnings_OK_Id -- SPARK_Aux_Pragma_Inherited -- First_Component (synth) -- First_Component_Or_Discriminant (synth) -- Has_Entries (synth) -- Is_Elaboration_Target (synth) -- Number_Entries (synth) -- Scope_Depth (synth) -- (plus type attributes) -- E_Variable -- Hiding_Loop_Variable -- Current_Value -- Part_Of_Constituents -- Part_Of_References -- Esize -- Extra_Accessibility -- Alignment -- Status_Flag_Or_Transient_Decl (transient object only) -- Unset_Reference -- Actual_Subtype -- Renamed_Object -- Renamed_Entity $$$ -- Discriminal_Link $$$ -- Size_Check_Code -- Prival_Link -- Interface_Name -- Shared_Var_Procs_Instance -- Extra_Constrained -- Related_Expression -- Debug_Renaming_Link -- Last_Assignment -- Related_Type -- Initialization_Statements -- BIP_Initialization_Call -- Last_Aggregate_Assignment -- Activation_Record_Component -- Encapsulating_State -- Linker_Section_Pragma -- Contract -- Anonymous_Designated_Type -- Validated_Object -- SPARK_Pragma -- Has_Alignment_Clause -- Has_Atomic_Components -- Has_Biased_Representation -- Has_Independent_Components -- Has_Initial_Value -- Has_Size_Clause -- Has_Volatile_Components -- Is_Atomic -- Is_Elaboration_Checks_OK_Id -- Is_Elaboration_Warnings_OK_Id -- Is_Eliminated -- Is_Finalized_Transient -- Is_Ignored_Transient -- Is_Independent -- Is_Return_Object -- Is_Safe_To_Reevaluate -- Is_Shared_Passive -- Is_True_Constant -- Is_Uplevel_Referenced_Entity -- Is_Volatile -- Is_Volatile_Full_Access -- OK_To_Rename -- Optimize_Alignment_Space -- Optimize_Alignment_Time -- SPARK_Pragma_Inherited -- Suppress_Initialization -- Treat_As_Volatile -- Address_Clause (synth) -- Alignment_Clause (synth) -- Is_Elaboration_Target (synth) -- Is_Full_Access (synth) -- Size_Clause (synth) -- E_Void -- Since E_Void is the initial Ekind value of an entity when it is first -- created, one might expect that no attributes would be defined on such -- an entity until its Ekind field is set. However, in practice, there -- are many instances in which fields of an E_Void entity are set in the -- code prior to setting the Ekind field. This is not well documented or -- well controlled, and needs cleaning up later. Meanwhile, the access -- procedures in the body of Einfo permit many, but not all, attributes -- to be applied to an E_Void entity, precisely so that this kind of -- pre-setting of attributes works. This is really a hole in the dynamic -- type checking, since there is no assurance that the eventual Ekind -- value will be appropriate for the attributes set, and the consequence -- is that the dynamic type checking in the Einfo body is unnecessarily -- weak. -- -- The following are examples of getters and setters called with E_Void: -- Entry_Formal $$$ -- Esize $$$ -- First_Entity $$$ -- Handler_Records $$$ -- Interface_Name $$$ -- Last_Entity $$$ -- Renamed_Entity $$$ -- Renamed_Object $$$ -- Scalar_Range $$$ -- Set_Associated_Node_For_Itype $$$ -- Set_Debug_Renaming_Link $$$ -- Set_Entry_Cancel_Parameter $$$ -- Set_First_Entity $$$ -- Set_Inner_Instances $$$ -- Set_Last_Entity $$$ -- Set_Scalar_Range $$$ -- Set_Entry_Cancel_Parameter $$$ --------------- -- Iterators -- --------------- -- In addition to attributes that are stored as plain data, other -- attributes are procedural, and require some small amount of -- computation. Of course, from the point of view of a user of this -- package, the distinction is not visible (even the field information -- provided below should be disregarded, as it is subject to change -- without notice). A number of attributes appear as lists: lists of -- formals, lists of actuals, of discriminants, etc. For these, pairs -- of functions are defined, which take the form: -- function First_Thing (E : Enclosing_Construct) return Thing; -- function Next_Thing (T : Thing) return Thing; -- The end of iteration is always signaled by a value of Empty, so that -- loops over these chains invariably have the form: -- This : Thing; -- ... -- This := First_Thing (E); -- while Present (This) loop -- Do_Something_With (This); -- ... -- This := Next_Thing (This); -- end loop; ----------------------------------- -- Handling of Check Suppression -- ----------------------------------- -- There are three ways that checks can be suppressed: -- 1. At the command line level -- 2. At the scope level. -- 3. At the entity level. -- See spec of Sem in sem.ads for details of the data structures used -- to keep track of these various methods for suppressing checks. ------------------------------- -- Handling of Discriminants -- ------------------------------- -- During semantic processing, discriminants are separate entities which -- reflect the semantic properties and allowed usage of discriminants in -- the language. -- In the case of discriminants used as bounds, the references are handled -- directly, since special processing is needed in any case. However, there -- are two circumstances in which discriminants are referenced in a quite -- general manner, like any other variables: -- In initialization expressions for records. Note that the expressions -- used in Priority, Storage_Size, Task_Info and Relative_Deadline -- pragmas are effectively in this category, since these pragmas are -- converted to initialized record fields in the Corresponding_Record_ -- Type. -- In task and protected bodies, where the discriminant values may be -- referenced freely within these bodies. Discriminants can also appear -- in bounds of entry families and in defaults of operations. -- In both these cases, the discriminants must be treated essentially as -- objects. The following approach is used to simplify and minimize the -- special processing that is required. -- When a record type with discriminants is analyzed, semantic processing -- creates the entities for the discriminants. It also creates additional -- sets of entities called discriminals, one for each of the discriminants, -- and the Discriminal field of the discriminant entity points to this -- additional entity, which is initially created as an uninitialized -- (E_Void) entity. -- During expansion of expressions, any discriminant reference is replaced -- by a reference to the corresponding discriminal. When the initialization -- procedure for the record is created (there will always be one, since -- discriminants are present, see Exp_Ch3 for further details), the -- discriminals are used as the entities for the formal parameters of -- this initialization procedure. The references to these discriminants -- have already been replaced by references to these discriminals, which -- are now the formal parameters corresponding to the required objects. -- In the case of a task or protected body, the semantics similarly creates -- a set of discriminals for the discriminants of the task or protected -- type. When the procedure is created for the task body, the parameter -- passed in is a reference to the task value type, which contains the -- required discriminant values. The expander creates a set of declarations -- of the form: -- discr_nameD : constant discr_type renames _task.discr_name; -- where discr_nameD is the discriminal entity referenced by the task -- discriminant, and _task is the task value passed in as the parameter. -- Again, any references to discriminants in the task body have been -- replaced by the discriminal reference, which is now an object that -- contains the required value. -- This approach for tasks means that two sets of discriminals are needed -- for a task type, one for the initialization procedure, and one for the -- task body. This works out nicely, since the semantics allocates one set -- for the task itself, and one set for the corresponding record. -- The one bit of trickiness arises in making sure that the right set of -- discriminals is used at the right time. First the task definition is -- processed. Any references to discriminants here are replaced by the -- corresponding *task* discriminals (the record type doesn't even exist -- yet, since it is constructed as part of the expansion of the task -- declaration, which happens after the semantic processing of the task -- definition). The discriminants to be used for the corresponding record -- are created at the same time as the other discriminals, and held in the -- CR_Discriminant field of the discriminant. A use of the discriminant in -- a bound for an entry family is replaced with the CR_Discriminant because -- it controls the bound of the entry queue array which is a component of -- the corresponding record. -- Just before the record initialization routine is constructed, the -- expander exchanges the task and record discriminals. This has two -- effects. First the generation of the record initialization routine -- uses the discriminals that are now on the record, which is the set -- that used to be on the task, which is what we want. -- Second, a new set of (so far unused) discriminals is now on the task -- discriminants, and it is this set that will be used for expanding the -- task body, and also for the discriminal declarations at the start of -- the task body. --------------------------------------------------- -- Handling of private data in protected objects -- --------------------------------------------------- -- Private components in protected types pose problems similar to those -- of discriminants. Private data is visible and can be directly referenced -- from protected bodies. However, when protected entries and subprograms -- are expanded into corresponding bodies and barrier functions, private -- components lose their original context and visibility. -- To remedy this side effect of expansion, private components are expanded -- into renamings called "privals", by analogy with "discriminals". -- private_comp : comp_type renames _object.private_comp; -- Prival declarations are inserted during the analysis of subprogram and -- entry bodies to ensure proper visibility for any subsequent expansion. -- _Object is the formal parameter of the generated corresponding body or -- a local renaming which denotes the protected object obtained from entry -- parameter _O. Privals receive minimal decoration upon creation and are -- categorized as either E_Variable for the general case or E_Constant when -- they appear in functions. -- Along with the local declarations, each private component carries a -- placeholder which references the prival entity in the current body. This -- form of indirection is used to resolve name clashes of privals and other -- locally visible entities such as parameters, local objects, entry family -- indexes or identifiers used in the barrier condition. -- When analyzing the statements of a protected subprogram or entry, any -- reference to a private component must resolve to the locally declared -- prival through normal visibility. In case of name conflicts (the cases -- above), the prival is marked as hidden and acts as a weakly declared -- entity. As a result, the reference points to the correct entity. When a -- private component is denoted by an expanded name (prot_type.comp for -- example), the expansion mechanism uses the placeholder of the component -- to correct the Entity and Etype of the reference. end Einfo;
reznikmm/matreshka
Ada
3,989
ads
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- Open Document Toolkit -- -- -- -- Runtime Library Component -- -- -- ------------------------------------------------------------------------------ -- -- -- Copyright © 2014, Vadim Godunko <[email protected]> -- -- 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 ODF.DOM.Fo_Font_Weight_Attributes; package Matreshka.ODF_Fo.Font_Weight_Attributes is type Fo_Font_Weight_Attribute_Node is new Matreshka.ODF_Fo.Abstract_Fo_Attribute_Node and ODF.DOM.Fo_Font_Weight_Attributes.ODF_Fo_Font_Weight_Attribute with null record; overriding function Create (Parameters : not null access Matreshka.DOM_Attributes.Attribute_L2_Parameters) return Fo_Font_Weight_Attribute_Node; overriding function Get_Local_Name (Self : not null access constant Fo_Font_Weight_Attribute_Node) return League.Strings.Universal_String; end Matreshka.ODF_Fo.Font_Weight_Attributes;
reznikmm/matreshka
Ada
6,981
adb
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- Open Document Toolkit -- -- -- -- Runtime Library Component -- -- -- ------------------------------------------------------------------------------ -- -- -- Copyright © 2014, Vadim Godunko <[email protected]> -- -- 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.DOM_Documents; with Matreshka.ODF_String_Constants; with ODF.DOM.Iterators; with ODF.DOM.Visitors; package body Matreshka.ODF_Table.Database_Ranges_Elements is ------------ -- Create -- ------------ overriding function Create (Parameters : not null access Matreshka.DOM_Elements.Element_L2_Parameters) return Table_Database_Ranges_Element_Node is begin return Self : Table_Database_Ranges_Element_Node do Matreshka.ODF_Table.Constructors.Initialize (Self'Unchecked_Access, Parameters.Document, Matreshka.ODF_String_Constants.Table_Prefix); end return; end Create; ---------------- -- Enter_Node -- ---------------- overriding procedure Enter_Node (Self : not null access Table_Database_Ranges_Element_Node; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Control : in out XML.DOM.Visitors.Traverse_Control) is begin if Visitor in ODF.DOM.Visitors.Abstract_ODF_Visitor'Class then ODF.DOM.Visitors.Abstract_ODF_Visitor'Class (Visitor).Enter_Table_Database_Ranges (ODF.DOM.Table_Database_Ranges_Elements.ODF_Table_Database_Ranges_Access (Self), Control); else Matreshka.DOM_Elements.Abstract_Element_Node (Self.all).Enter_Node (Visitor, Control); end if; end Enter_Node; -------------------- -- Get_Local_Name -- -------------------- overriding function Get_Local_Name (Self : not null access constant Table_Database_Ranges_Element_Node) return League.Strings.Universal_String is pragma Unreferenced (Self); begin return Matreshka.ODF_String_Constants.Database_Ranges_Element; end Get_Local_Name; ---------------- -- Leave_Node -- ---------------- overriding procedure Leave_Node (Self : not null access Table_Database_Ranges_Element_Node; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Control : in out XML.DOM.Visitors.Traverse_Control) is begin if Visitor in ODF.DOM.Visitors.Abstract_ODF_Visitor'Class then ODF.DOM.Visitors.Abstract_ODF_Visitor'Class (Visitor).Leave_Table_Database_Ranges (ODF.DOM.Table_Database_Ranges_Elements.ODF_Table_Database_Ranges_Access (Self), Control); else Matreshka.DOM_Elements.Abstract_Element_Node (Self.all).Leave_Node (Visitor, Control); end if; end Leave_Node; ---------------- -- Visit_Node -- ---------------- overriding procedure Visit_Node (Self : not null access Table_Database_Ranges_Element_Node; Iterator : in out XML.DOM.Visitors.Abstract_Iterator'Class; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Control : in out XML.DOM.Visitors.Traverse_Control) is begin if Iterator in ODF.DOM.Iterators.Abstract_ODF_Iterator'Class then ODF.DOM.Iterators.Abstract_ODF_Iterator'Class (Iterator).Visit_Table_Database_Ranges (Visitor, ODF.DOM.Table_Database_Ranges_Elements.ODF_Table_Database_Ranges_Access (Self), Control); else Matreshka.DOM_Elements.Abstract_Element_Node (Self.all).Visit_Node (Iterator, Visitor, Control); end if; end Visit_Node; begin Matreshka.DOM_Documents.Register_Element (Matreshka.ODF_String_Constants.Table_URI, Matreshka.ODF_String_Constants.Database_Ranges_Element, Table_Database_Ranges_Element_Node'Tag); end Matreshka.ODF_Table.Database_Ranges_Elements;
kjseefried/coreland-cgbc
Ada
783
adb
with Ada.Strings; with CGBC.Bounded_Wide_Strings; with Test; procedure T_WBstr_Append_L02 is package BS renames CGBC.Bounded_Wide_Strings; TC : Test.Context_t; S1 : BS.Bounded_String (8); begin Test.Initialize (Test_Context => TC, Program => "t_wbstr_append_l02", Test_DB => "TEST_DB", Test_Results => "TEST_RESULTS"); BS.Append (S1, "ABCDEFG"); -- Does not require truncation. BS.Append (Source => S1, New_Item => "H", Drop => Ada.Strings.Left); Test.Check (TC, 1212, BS.Length (S1) = 8, "BS.Length (S1) = 8"); Test.Check (TC, 1213, BS.Maximum_Length (S1) = 8, "BS.Maximum_Length (S1) = 8"); Test.Check (TC, 1214, BS.To_String (S1) = "ABCDEFGH", "BS.To_String (S1) = ""ABCDEFGH"""); end T_WBstr_Append_L02;
reznikmm/matreshka
Ada
3,639
ads
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- Ada Modeling Framework -- -- -- -- Runtime Library Component -- -- -- ------------------------------------------------------------------------------ -- -- -- Copyright © 2011-2012, Vadim Godunko <[email protected]> -- -- 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.Clear_Variable_Actions.Hash is new AMF.Elements.Generic_Hash (UML_Clear_Variable_Action, UML_Clear_Variable_Action_Access);
reznikmm/matreshka
Ada
188,549
ads
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- Open Document Toolkit -- -- -- -- Runtime Library Component -- -- -- ------------------------------------------------------------------------------ -- -- -- Copyright © 2014, Vadim Godunko <[email protected]> -- -- All rights reserved. -- -- -- -- Redistribution and use in source and binary forms, with or without -- -- modification, are permitted provided that the following conditions -- -- are met: -- -- -- -- * Redistributions of source code must retain the above copyright -- -- notice, this list of conditions and the following disclaimer. -- -- -- -- * Redistributions in binary form must reproduce the above copyright -- -- notice, this list of conditions and the following disclaimer in the -- -- documentation and/or other materials provided with the distribution. -- -- -- -- * Neither the name of the Vadim Godunko, IE nor the names of its -- -- contributors may be used to endorse or promote products derived from -- -- this software without specific prior written permission. -- -- -- -- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -- -- "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -- -- LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -- -- A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -- -- HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -- -- SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED -- -- TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -- -- PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -- -- LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -- -- NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -- -- SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -- -- -- ------------------------------------------------------------------------------ -- $Revision$ $Date$ ------------------------------------------------------------------------------ package ODF.DOM.Iterators.Containment is pragma Preelaborate; type ODF_Containment_Iterator is limited new ODF.DOM.Iterators.Abstract_ODF_Iterator with private; private type ODF_Containment_Iterator is limited new ODF.DOM.Iterators.Abstract_ODF_Iterator with null record; overriding procedure Visit_Number_Am_Pm (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Number_Am_Pm_Elements.ODF_Number_Am_Pm_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Anim_Animate (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Anim_Animate_Elements.ODF_Anim_Animate_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Anim_AnimateColor (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Anim_AnimateColor_Elements.ODF_Anim_AnimateColor_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Anim_AnimateMotion (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Anim_AnimateMotion_Elements.ODF_Anim_AnimateMotion_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Anim_AnimateTransform (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Anim_AnimateTransform_Elements.ODF_Anim_AnimateTransform_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Anim_Audio (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Anim_Audio_Elements.ODF_Anim_Audio_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Anim_Command (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Anim_Command_Elements.ODF_Anim_Command_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Anim_Iterate (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Anim_Iterate_Elements.ODF_Anim_Iterate_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Anim_Par (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Anim_Par_Elements.ODF_Anim_Par_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Anim_Param (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Anim_Param_Elements.ODF_Anim_Param_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Anim_Seq (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Anim_Seq_Elements.ODF_Anim_Seq_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Anim_Set (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Anim_Set_Elements.ODF_Anim_Set_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Anim_TransitionFilter (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Anim_TransitionFilter_Elements.ODF_Anim_TransitionFilter_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Office_Annotation (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Office_Annotation_Elements.ODF_Office_Annotation_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Office_Annotation_End (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Office_Annotation_End_Elements.ODF_Office_Annotation_End_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Db_Application_Connection_Settings (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Db_Application_Connection_Settings_Elements.ODF_Db_Application_Connection_Settings_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Db_Auto_Increment (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Db_Auto_Increment_Elements.ODF_Db_Auto_Increment_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Chart_Axis (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Chart_Axis_Elements.ODF_Chart_Axis_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Number_Boolean (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Number_Boolean_Elements.ODF_Number_Boolean_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Number_Boolean_Style (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Number_Boolean_Style_Elements.ODF_Number_Boolean_Style_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Form_Button (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Form_Button_Elements.ODF_Form_Button_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Chart_Categories (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Chart_Categories_Elements.ODF_Chart_Categories_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Db_Character_Set (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Db_Character_Set_Elements.ODF_Db_Character_Set_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Chart_Chart (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Chart_Chart_Elements.ODF_Chart_Chart_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Form_Checkbox (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Form_Checkbox_Elements.ODF_Form_Checkbox_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Db_Column (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Db_Column_Elements.ODF_Db_Column_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Form_Column (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Form_Column_Elements.ODF_Form_Column_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Db_Column_Definition (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Db_Column_Definition_Elements.ODF_Db_Column_Definition_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Db_Column_Definitions (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Db_Column_Definitions_Elements.ODF_Db_Column_Definitions_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Db_Columns (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Db_Columns_Elements.ODF_Db_Columns_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Form_Combobox (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Form_Combobox_Elements.ODF_Form_Combobox_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Db_Component (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Db_Component_Elements.ODF_Db_Component_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Db_Component_Collection (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Db_Component_Collection_Elements.ODF_Db_Component_Collection_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Chart_Data_Label (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Chart_Data_Label_Elements.ODF_Chart_Data_Label_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Chart_Data_Point (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Chart_Data_Point_Elements.ODF_Chart_Data_Point_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Chart_Domain (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Chart_Domain_Elements.ODF_Chart_Domain_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Chart_Equation (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Chart_Equation_Elements.ODF_Chart_Equation_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Chart_Error_Indicator (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Chart_Error_Indicator_Elements.ODF_Chart_Error_Indicator_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Chart_Floor (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Chart_Floor_Elements.ODF_Chart_Floor_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Chart_Footer (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Chart_Footer_Elements.ODF_Chart_Footer_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Chart_Grid (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Chart_Grid_Elements.ODF_Chart_Grid_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Chart_Label_Separator (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Chart_Label_Separator_Elements.ODF_Chart_Label_Separator_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Chart_Legend (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Chart_Legend_Elements.ODF_Chart_Legend_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Chart_Mean_Value (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Chart_Mean_Value_Elements.ODF_Chart_Mean_Value_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Chart_Plot_Area (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Chart_Plot_Area_Elements.ODF_Chart_Plot_Area_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Chart_Regression_Curve (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Chart_Regression_Curve_Elements.ODF_Chart_Regression_Curve_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Chart_Series (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Chart_Series_Elements.ODF_Chart_Series_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Chart_Stock_Gain_Marker (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Chart_Stock_Gain_Marker_Elements.ODF_Chart_Stock_Gain_Marker_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Chart_Stock_Loss_Marker (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Chart_Stock_Loss_Marker_Elements.ODF_Chart_Stock_Loss_Marker_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Chart_Stock_Range_Line (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Chart_Stock_Range_Line_Elements.ODF_Chart_Stock_Range_Line_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Chart_Subtitle (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Chart_Subtitle_Elements.ODF_Chart_Subtitle_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Chart_Symbol_Image (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Chart_Symbol_Image_Elements.ODF_Chart_Symbol_Image_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Chart_Title (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Chart_Title_Elements.ODF_Chart_Title_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Chart_Wall (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Chart_Wall_Elements.ODF_Chart_Wall_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Draw_A (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Draw_A_Elements.ODF_Draw_A_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Presentation_Animation_Group (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Presentation_Animation_Group_Elements.ODF_Presentation_Animation_Group_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Presentation_Animations (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Presentation_Animations_Elements.ODF_Presentation_Animations_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Draw_Applet (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Draw_Applet_Elements.ODF_Draw_Applet_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Draw_Area_Circle (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Draw_Area_Circle_Elements.ODF_Draw_Area_Circle_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Draw_Area_Polygon (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Draw_Area_Polygon_Elements.ODF_Draw_Area_Polygon_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Draw_Area_Rectangle (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Draw_Area_Rectangle_Elements.ODF_Draw_Area_Rectangle_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Draw_Caption (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Draw_Caption_Elements.ODF_Draw_Caption_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Draw_Circle (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Draw_Circle_Elements.ODF_Draw_Circle_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Text_A (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Text_A_Elements.ODF_Text_A_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Text_Alphabetical_Index (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Text_Alphabetical_Index_Elements.ODF_Text_Alphabetical_Index_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Text_Alphabetical_Index_Auto_Mark_File (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Text_Alphabetical_Index_Auto_Mark_File_Elements.ODF_Text_Alphabetical_Index_Auto_Mark_File_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Text_Alphabetical_Index_Entry_Template (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Text_Alphabetical_Index_Entry_Template_Elements.ODF_Text_Alphabetical_Index_Entry_Template_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Text_Alphabetical_Index_Mark (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Text_Alphabetical_Index_Mark_Elements.ODF_Text_Alphabetical_Index_Mark_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Text_Alphabetical_Index_Mark_End (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Text_Alphabetical_Index_Mark_End_Elements.ODF_Text_Alphabetical_Index_Mark_End_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Text_Alphabetical_Index_Mark_Start (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Text_Alphabetical_Index_Mark_Start_Elements.ODF_Text_Alphabetical_Index_Mark_Start_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Text_Alphabetical_Index_Source (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Text_Alphabetical_Index_Source_Elements.ODF_Text_Alphabetical_Index_Source_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Text_Author_Initials (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Text_Author_Initials_Elements.ODF_Text_Author_Initials_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Text_Author_Name (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Text_Author_Name_Elements.ODF_Text_Author_Name_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Meta_Auto_Reload (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Meta_Auto_Reload_Elements.ODF_Meta_Auto_Reload_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Office_Automatic_Styles (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Office_Automatic_Styles_Elements.ODF_Office_Automatic_Styles_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Style_Background_Image (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Style_Background_Image_Elements.ODF_Style_Background_Image_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Style_Chart_Properties (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Style_Chart_Properties_Elements.ODF_Style_Chart_Properties_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Style_Column (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Style_Column_Elements.ODF_Style_Column_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Style_Column_Sep (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Style_Column_Sep_Elements.ODF_Style_Column_Sep_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Style_Columns (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Style_Columns_Elements.ODF_Style_Columns_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Table_Background (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Table_Background_Elements.ODF_Table_Background_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Text_Bibliography_Configuration (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Text_Bibliography_Configuration_Elements.ODF_Text_Bibliography_Configuration_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Office_Binary_Data (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Office_Binary_Data_Elements.ODF_Office_Binary_Data_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Table_Body (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Table_Body_Elements.ODF_Table_Body_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Table_Calculation_Settings (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Table_Calculation_Settings_Elements.ODF_Table_Calculation_Settings_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Table_Cell_Address (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Table_Cell_Address_Elements.ODF_Table_Cell_Address_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Table_Cell_Content_Change (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Table_Cell_Content_Change_Elements.ODF_Table_Cell_Content_Change_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Table_Cell_Content_Deletion (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Table_Cell_Content_Deletion_Elements.ODF_Table_Cell_Content_Deletion_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Table_Cell_Range_Source (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Table_Cell_Range_Source_Elements.ODF_Table_Cell_Range_Source_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Table_Change_Deletion (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Table_Change_Deletion_Elements.ODF_Table_Change_Deletion_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Table_Change_Track_Table_Cell (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Table_Change_Track_Table_Cell_Elements.ODF_Table_Change_Track_Table_Cell_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Text_Bibliography (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Text_Bibliography_Elements.ODF_Text_Bibliography_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Text_Bibliography_Entry_Template (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Text_Bibliography_Entry_Template_Elements.ODF_Text_Bibliography_Entry_Template_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Text_Bibliography_Mark (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Text_Bibliography_Mark_Elements.ODF_Text_Bibliography_Mark_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Text_Bibliography_Source (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Text_Bibliography_Source_Elements.ODF_Text_Bibliography_Source_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Text_Bookmark (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Text_Bookmark_Elements.ODF_Text_Bookmark_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Text_Bookmark_End (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Text_Bookmark_End_Elements.ODF_Text_Bookmark_End_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Text_Bookmark_Ref (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Text_Bookmark_Ref_Elements.ODF_Text_Bookmark_Ref_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Text_Bookmark_Start (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Text_Bookmark_Start_Elements.ODF_Text_Bookmark_Start_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Text_Change (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Text_Change_Elements.ODF_Text_Change_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Text_Change_End (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Text_Change_End_Elements.ODF_Text_Change_End_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Office_Change_Info (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Office_Change_Info_Elements.ODF_Office_Change_Info_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Text_Change_Start (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Text_Change_Start_Elements.ODF_Text_Change_Start_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Text_Changed_Region (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Text_Changed_Region_Elements.ODF_Text_Changed_Region_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Text_Chapter (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Text_Chapter_Elements.ODF_Text_Chapter_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Text_Character_Count (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Text_Character_Count_Elements.ODF_Text_Character_Count_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Text_Conditional_Text (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Text_Conditional_Text_Elements.ODF_Text_Conditional_Text_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Config_Config_Item (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Config_Config_Item_Elements.ODF_Config_Config_Item_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Config_Config_Item_Map_Entry (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Config_Config_Item_Map_Entry_Elements.ODF_Config_Config_Item_Map_Entry_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Config_Config_Item_Map_Indexed (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Config_Config_Item_Map_Indexed_Elements.ODF_Config_Config_Item_Map_Indexed_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Config_Config_Item_Map_Named (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Config_Config_Item_Map_Named_Elements.ODF_Config_Config_Item_Map_Named_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Config_Config_Item_Set (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Config_Config_Item_Set_Elements.ODF_Config_Config_Item_Set_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Db_Connection_Data (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Db_Connection_Data_Elements.ODF_Db_Connection_Data_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Db_Connection_Resource (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Db_Connection_Resource_Elements.ODF_Db_Connection_Resource_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Db_Data_Source (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Db_Data_Source_Elements.ODF_Db_Data_Source_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Db_Data_Source_Setting (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Db_Data_Source_Setting_Elements.ODF_Db_Data_Source_Setting_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Db_Data_Source_Setting_Value (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Db_Data_Source_Setting_Value_Elements.ODF_Db_Data_Source_Setting_Value_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Db_Data_Source_Settings (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Db_Data_Source_Settings_Elements.ODF_Db_Data_Source_Settings_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Db_Database_Description (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Db_Database_Description_Elements.ODF_Db_Database_Description_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Db_Delimiter (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Db_Delimiter_Elements.ODF_Db_Delimiter_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Db_Driver_Settings (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Db_Driver_Settings_Elements.ODF_Db_Driver_Settings_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Db_File_Based_Database (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Db_File_Based_Database_Elements.ODF_Db_File_Based_Database_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Draw_Fill_Image (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Draw_Fill_Image_Elements.ODF_Draw_Fill_Image_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Db_Filter_Statement (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Db_Filter_Statement_Elements.ODF_Db_Filter_Statement_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Db_Forms (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Db_Forms_Elements.ODF_Db_Forms_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Db_Index (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Db_Index_Elements.ODF_Db_Index_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Db_Index_Column (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Db_Index_Column_Elements.ODF_Db_Index_Column_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Db_Index_Columns (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Db_Index_Columns_Elements.ODF_Db_Index_Columns_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Db_Indices (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Db_Indices_Elements.ODF_Db_Indices_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Db_Key (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Db_Key_Elements.ODF_Db_Key_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Db_Key_Column (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Db_Key_Column_Elements.ODF_Db_Key_Column_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Db_Key_Columns (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Db_Key_Columns_Elements.ODF_Db_Key_Columns_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Db_Keys (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Db_Keys_Elements.ODF_Db_Keys_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Db_Login (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Db_Login_Elements.ODF_Db_Login_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Db_Order_Statement (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Db_Order_Statement_Elements.ODF_Db_Order_Statement_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Db_Queries (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Db_Queries_Elements.ODF_Db_Queries_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Db_Query (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Db_Query_Elements.ODF_Db_Query_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Db_Query_Collection (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Db_Query_Collection_Elements.ODF_Db_Query_Collection_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Db_Reports (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Db_Reports_Elements.ODF_Db_Reports_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Db_Schema_Definition (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Db_Schema_Definition_Elements.ODF_Db_Schema_Definition_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Db_Server_Database (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Db_Server_Database_Elements.ODF_Db_Server_Database_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Db_Table_Definition (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Db_Table_Definition_Elements.ODF_Db_Table_Definition_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Db_Table_Definitions (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Db_Table_Definitions_Elements.ODF_Db_Table_Definitions_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Db_Table_Exclude_Filter (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Db_Table_Exclude_Filter_Elements.ODF_Db_Table_Exclude_Filter_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Db_Table_Filter (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Db_Table_Filter_Elements.ODF_Db_Table_Filter_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Db_Table_Filter_Pattern (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Db_Table_Filter_Pattern_Elements.ODF_Db_Table_Filter_Pattern_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Db_Table_Include_Filter (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Db_Table_Include_Filter_Elements.ODF_Db_Table_Include_Filter_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Db_Table_Representation (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Db_Table_Representation_Elements.ODF_Db_Table_Representation_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Db_Table_Representations (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Db_Table_Representations_Elements.ODF_Db_Table_Representations_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Db_Table_Setting (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Db_Table_Setting_Elements.ODF_Db_Table_Setting_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Db_Table_Settings (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Db_Table_Settings_Elements.ODF_Db_Table_Settings_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Db_Table_Type (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Db_Table_Type_Elements.ODF_Db_Table_Type_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Db_Table_Type_Filter (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Db_Table_Type_Filter_Elements.ODF_Db_Table_Type_Filter_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Db_Update_Table (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Db_Update_Table_Elements.ODF_Db_Update_Table_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Draw_Connector (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Draw_Connector_Elements.ODF_Draw_Connector_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Draw_Contour_Path (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Draw_Contour_Path_Elements.ODF_Draw_Contour_Path_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Draw_Contour_Polygon (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Draw_Contour_Polygon_Elements.ODF_Draw_Contour_Polygon_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Draw_Control (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Draw_Control_Elements.ODF_Draw_Control_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Form_Connection_Resource (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Form_Connection_Resource_Elements.ODF_Form_Connection_Resource_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Table_Consolidation (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Table_Consolidation_Elements.ODF_Table_Consolidation_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Table_Content_Validation (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Table_Content_Validation_Elements.ODF_Table_Content_Validation_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Table_Content_Validations (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Table_Content_Validations_Elements.ODF_Table_Content_Validations_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Table_Covered_Table_Cell (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Table_Covered_Table_Cell_Elements.ODF_Table_Covered_Table_Cell_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Meta_Creation_Date (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Meta_Creation_Date_Elements.ODF_Meta_Creation_Date_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Text_Creation_Date (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Text_Creation_Date_Elements.ODF_Text_Creation_Date_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Text_Creation_Time (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Text_Creation_Time_Elements.ODF_Text_Creation_Time_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Dc_Creator (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Dc_Creator_Elements.ODF_Dc_Creator_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Dr3d_Cube (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Dr3d_Cube_Elements.ODF_Dr3d_Cube_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Number_Currency_Style (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Number_Currency_Style_Elements.ODF_Number_Currency_Style_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Number_Currency_Symbol (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Number_Currency_Symbol_Elements.ODF_Number_Currency_Symbol_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Draw_Custom_Shape (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Draw_Custom_Shape_Elements.ODF_Draw_Custom_Shape_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Form_Date (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Form_Date_Elements.ODF_Form_Date_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Meta_Date_String (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Meta_Date_String_Elements.ODF_Meta_Date_String_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Number_Date_Style (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Number_Date_Style_Elements.ODF_Number_Date_Style_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Number_Day (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Number_Day_Elements.ODF_Number_Day_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Number_Day_Of_Week (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Number_Day_Of_Week_Elements.ODF_Number_Day_Of_Week_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Number_Embedded_Text (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Number_Embedded_Text_Elements.ODF_Number_Embedded_Text_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Office_Database (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Office_Database_Elements.ODF_Office_Database_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Office_Dde_Source (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Office_Dde_Source_Elements.ODF_Office_Dde_Source_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Presentation_Date_Time (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Presentation_Date_Time_Elements.ODF_Presentation_Date_Time_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Presentation_Date_Time_Decl (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Presentation_Date_Time_Decl_Elements.ODF_Presentation_Date_Time_Decl_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Style_Default_Page_Layout (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Style_Default_Page_Layout_Elements.ODF_Style_Default_Page_Layout_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Style_Default_Style (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Style_Default_Style_Elements.ODF_Style_Default_Style_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Style_Drawing_Page_Properties (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Style_Drawing_Page_Properties_Elements.ODF_Style_Drawing_Page_Properties_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Style_Drop_Cap (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Style_Drop_Cap_Elements.ODF_Style_Drop_Cap_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Svg_Definition_Src (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Svg_Definition_Src_Elements.ODF_Svg_Definition_Src_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Table_Dde_Link (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Table_Dde_Link_Elements.ODF_Table_Dde_Link_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Presentation_Dim (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Presentation_Dim_Elements.ODF_Presentation_Dim_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Draw_Enhanced_Geometry (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Draw_Enhanced_Geometry_Elements.ODF_Draw_Enhanced_Geometry_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Dr3d_Extrude (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Dr3d_Extrude_Elements.ODF_Dr3d_Extrude_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Dr3d_Light (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Dr3d_Light_Elements.ODF_Dr3d_Light_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Dr3d_Rotate (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Dr3d_Rotate_Elements.ODF_Dr3d_Rotate_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Dr3d_Scene (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Dr3d_Scene_Elements.ODF_Dr3d_Scene_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Dr3d_Sphere (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Dr3d_Sphere_Elements.ODF_Dr3d_Sphere_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Svg_Desc (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Svg_Desc_Elements.ODF_Svg_Desc_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Draw_Ellipse (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Draw_Ellipse_Elements.ODF_Draw_Ellipse_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Draw_Equation (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Draw_Equation_Elements.ODF_Draw_Equation_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Number_Era (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Number_Era_Elements.ODF_Number_Era_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Table_Even_Columns (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Table_Even_Columns_Elements.ODF_Table_Even_Columns_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Table_Even_Rows (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Table_Even_Rows_Elements.ODF_Table_Even_Rows_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Script_Event_Listener (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Script_Event_Listener_Elements.ODF_Script_Event_Listener_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Form_File (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Form_File_Elements.ODF_Form_File_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Form_Fixed_Text (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Form_Fixed_Text_Elements.ODF_Form_Fixed_Text_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Presentation_Event_Listener (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Presentation_Event_Listener_Elements.ODF_Presentation_Event_Listener_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Draw_Floating_Frame (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Draw_Floating_Frame_Elements.ODF_Draw_Floating_Frame_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Form_Form (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Form_Form_Elements.ODF_Form_Form_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Form_Formatted_Text (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Form_Formatted_Text_Elements.ODF_Form_Formatted_Text_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Number_Fraction (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Number_Fraction_Elements.ODF_Number_Fraction_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Draw_Frame (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Draw_Frame_Elements.ODF_Draw_Frame_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Form_Frame (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Form_Frame_Elements.ODF_Form_Frame_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Form_Generic_Control (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Form_Generic_Control_Elements.ODF_Form_Generic_Control_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Office_Event_Listeners (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Office_Event_Listeners_Elements.ODF_Office_Event_Listeners_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Style_Font_Face (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Style_Font_Face_Elements.ODF_Style_Font_Face_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Svg_Font_Face_Format (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Svg_Font_Face_Format_Elements.ODF_Svg_Font_Face_Format_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Svg_Font_Face_Name (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Svg_Font_Face_Name_Elements.ODF_Svg_Font_Face_Name_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Svg_Font_Face_Src (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Svg_Font_Face_Src_Elements.ODF_Svg_Font_Face_Src_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Svg_Font_Face_Uri (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Svg_Font_Face_Uri_Elements.ODF_Svg_Font_Face_Uri_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Table_First_Column (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Table_First_Column_Elements.ODF_Table_First_Column_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Table_First_Row (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Table_First_Row_Elements.ODF_Table_First_Row_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Office_Forms (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Office_Forms_Elements.ODF_Office_Forms_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Presentation_Footer (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Presentation_Footer_Elements.ODF_Presentation_Footer_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Style_Footer (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Style_Footer_Elements.ODF_Style_Footer_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Presentation_Footer_Decl (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Presentation_Footer_Decl_Elements.ODF_Presentation_Footer_Decl_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Style_Footer_Left (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Style_Footer_Left_Elements.ODF_Style_Footer_Left_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Style_Footer_Style (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Style_Footer_Style_Elements.ODF_Style_Footer_Style_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Style_Footnote_Sep (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Style_Footnote_Sep_Elements.ODF_Style_Footnote_Sep_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Draw_G (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Draw_G_Elements.ODF_Draw_G_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Draw_Glue_Point (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Draw_Glue_Point_Elements.ODF_Draw_Glue_Point_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Draw_Gradient (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Draw_Gradient_Elements.ODF_Draw_Gradient_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Style_Graphic_Properties (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Style_Graphic_Properties_Elements.ODF_Style_Graphic_Properties_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Form_Grid (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Form_Grid_Elements.ODF_Form_Grid_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Draw_Handle (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Draw_Handle_Elements.ODF_Draw_Handle_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Draw_Hatch (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Draw_Hatch_Elements.ODF_Draw_Hatch_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Form_Hidden (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Form_Hidden_Elements.ODF_Form_Hidden_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Number_Hours (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Number_Hours_Elements.ODF_Number_Hours_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Form_Image (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Form_Image_Elements.ODF_Form_Image_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Form_Image_Frame (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Form_Image_Frame_Elements.ODF_Form_Image_Frame_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Presentation_Header (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Presentation_Header_Elements.ODF_Presentation_Header_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Style_Header (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Style_Header_Elements.ODF_Style_Header_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Presentation_Header_Decl (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Presentation_Header_Decl_Elements.ODF_Presentation_Header_Decl_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Style_Header_Footer_Properties (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Style_Header_Footer_Properties_Elements.ODF_Style_Header_Footer_Properties_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Style_Header_Left (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Style_Header_Left_Elements.ODF_Style_Header_Left_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Style_Header_Style (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Style_Header_Style_Elements.ODF_Style_Header_Style_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Presentation_Hide_Shape (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Presentation_Hide_Shape_Elements.ODF_Presentation_Hide_Shape_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Presentation_Hide_Text (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Presentation_Hide_Text_Elements.ODF_Presentation_Hide_Text_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Draw_Image (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Draw_Image_Elements.ODF_Draw_Image_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Draw_Image_Map (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Draw_Image_Map_Elements.ODF_Draw_Image_Map_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Form_Item (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Form_Item_Elements.ODF_Form_Item_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Draw_Layer (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Draw_Layer_Elements.ODF_Draw_Layer_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Draw_Layer_Set (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Draw_Layer_Set_Elements.ODF_Draw_Layer_Set_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Draw_Line (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Draw_Line_Elements.ODF_Draw_Line_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Style_List_Level_Label_Alignment (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Style_List_Level_Label_Alignment_Elements.ODF_Style_List_Level_Label_Alignment_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Style_List_Level_Properties (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Style_List_Level_Properties_Elements.ODF_Style_List_Level_Properties_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Draw_Marker (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Draw_Marker_Elements.ODF_Draw_Marker_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Svg_LinearGradient (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Svg_LinearGradient_Elements.ODF_Svg_LinearGradient_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Form_List_Property (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Form_List_Property_Elements.ODF_Form_List_Property_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Form_List_Value (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Form_List_Value_Elements.ODF_Form_List_Value_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Form_Listbox (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Form_Listbox_Elements.ODF_Form_Listbox_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Style_Map (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Style_Map_Elements.ODF_Style_Map_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Style_Master_Page (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Style_Master_Page_Elements.ODF_Style_Master_Page_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Math_Math (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Math_Math_Elements.ODF_Math_Math_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Draw_Measure (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Draw_Measure_Elements.ODF_Draw_Measure_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Number_Minutes (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Number_Minutes_Elements.ODF_Number_Minutes_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Number_Month (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Number_Month_Elements.ODF_Number_Month_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Presentation_Notes (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Presentation_Notes_Elements.ODF_Presentation_Notes_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Form_Number (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Form_Number_Elements.ODF_Form_Number_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Number_Number (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Number_Number_Elements.ODF_Number_Number_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Number_Number_Style (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Number_Number_Style_Elements.ODF_Number_Number_Style_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Draw_Object (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Draw_Object_Elements.ODF_Draw_Object_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Draw_Object_Ole (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Draw_Object_Ole_Elements.ODF_Draw_Object_Ole_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Draw_Opacity (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Draw_Opacity_Elements.ODF_Draw_Opacity_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Form_Option (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Form_Option_Elements.ODF_Form_Option_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Draw_Page (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Draw_Page_Elements.ODF_Draw_Page_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Style_Page_Layout (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Style_Page_Layout_Elements.ODF_Style_Page_Layout_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Style_Page_Layout_Properties (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Style_Page_Layout_Properties_Elements.ODF_Style_Page_Layout_Properties_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Draw_Page_Thumbnail (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Draw_Page_Thumbnail_Elements.ODF_Draw_Page_Thumbnail_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Style_Paragraph_Properties (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Style_Paragraph_Properties_Elements.ODF_Style_Paragraph_Properties_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Draw_Param (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Draw_Param_Elements.ODF_Draw_Param_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Form_Password (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Form_Password_Elements.ODF_Form_Password_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Draw_Path (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Draw_Path_Elements.ODF_Draw_Path_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Number_Percentage_Style (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Number_Percentage_Style_Elements.ODF_Number_Percentage_Style_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Presentation_Placeholder (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Presentation_Placeholder_Elements.ODF_Presentation_Placeholder_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Draw_Plugin (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Draw_Plugin_Elements.ODF_Draw_Plugin_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Draw_Polygon (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Draw_Polygon_Elements.ODF_Draw_Polygon_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Draw_Polyline (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Draw_Polyline_Elements.ODF_Draw_Polyline_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Style_Presentation_Page_Layout (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Style_Presentation_Page_Layout_Elements.ODF_Style_Presentation_Page_Layout_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Form_Properties (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Form_Properties_Elements.ODF_Form_Properties_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Form_Property (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Form_Property_Elements.ODF_Form_Property_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Number_Quarter (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Number_Quarter_Elements.ODF_Number_Quarter_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Svg_RadialGradient (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Svg_RadialGradient_Elements.ODF_Svg_RadialGradient_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Form_Radio (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Form_Radio_Elements.ODF_Form_Radio_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Draw_Rect (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Draw_Rect_Elements.ODF_Draw_Rect_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Style_Region_Center (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Style_Region_Center_Elements.ODF_Style_Region_Center_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Style_Region_Left (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Style_Region_Left_Elements.ODF_Style_Region_Left_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Style_Region_Right (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Style_Region_Right_Elements.ODF_Style_Region_Right_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Draw_Regular_Polygon (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Draw_Regular_Polygon_Elements.ODF_Draw_Regular_Polygon_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Style_Ruby_Properties (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Style_Ruby_Properties_Elements.ODF_Style_Ruby_Properties_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Draw_Stroke_Dash (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Draw_Stroke_Dash_Elements.ODF_Draw_Stroke_Dash_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Number_Scientific_Number (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Number_Scientific_Number_Elements.ODF_Number_Scientific_Number_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Number_Seconds (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Number_Seconds_Elements.ODF_Number_Seconds_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Style_Section_Properties (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Style_Section_Properties_Elements.ODF_Style_Section_Properties_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Svg_Stop (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Svg_Stop_Elements.ODF_Svg_Stop_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Number_Text (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Number_Text_Elements.ODF_Number_Text_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Style_Style (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Style_Style_Elements.ODF_Style_Style_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Style_Tab_Stop (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Style_Tab_Stop_Elements.ODF_Style_Tab_Stop_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Style_Tab_Stops (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Style_Tab_Stops_Elements.ODF_Style_Tab_Stops_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Style_Table_Cell_Properties (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Style_Table_Cell_Properties_Elements.ODF_Style_Table_Cell_Properties_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Style_Table_Column_Properties (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Style_Table_Column_Properties_Elements.ODF_Style_Table_Column_Properties_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Style_Table_Properties (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Style_Table_Properties_Elements.ODF_Style_Table_Properties_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Style_Table_Row_Properties (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Style_Table_Row_Properties_Elements.ODF_Style_Table_Row_Properties_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Form_Text (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Form_Text_Elements.ODF_Form_Text_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Draw_Text_Box (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Draw_Text_Box_Elements.ODF_Draw_Text_Box_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Number_Text_Content (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Number_Text_Content_Elements.ODF_Number_Text_Content_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Style_Text_Properties (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Style_Text_Properties_Elements.ODF_Style_Text_Properties_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Number_Text_Style (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Number_Text_Style_Elements.ODF_Number_Text_Style_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Form_Textarea (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Form_Textarea_Elements.ODF_Form_Textarea_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Form_Time (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Form_Time_Elements.ODF_Form_Time_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Number_Time_Style (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Number_Time_Style_Elements.ODF_Number_Time_Style_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Form_Value_Range (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Form_Value_Range_Elements.ODF_Form_Value_Range_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Number_Week_Of_Year (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Number_Week_Of_Year_Elements.ODF_Number_Week_Of_Year_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Number_Year (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Number_Year_Elements.ODF_Number_Year_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Table_Cut_Offs (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Table_Cut_Offs_Elements.ODF_Table_Cut_Offs_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Table_Data_Pilot_Display_Info (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Table_Data_Pilot_Display_Info_Elements.ODF_Table_Data_Pilot_Display_Info_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Table_Data_Pilot_Field (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Table_Data_Pilot_Field_Elements.ODF_Table_Data_Pilot_Field_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Table_Data_Pilot_Field_Reference (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Table_Data_Pilot_Field_Reference_Elements.ODF_Table_Data_Pilot_Field_Reference_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Table_Data_Pilot_Group (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Table_Data_Pilot_Group_Elements.ODF_Table_Data_Pilot_Group_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Table_Data_Pilot_Group_Member (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Table_Data_Pilot_Group_Member_Elements.ODF_Table_Data_Pilot_Group_Member_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Table_Data_Pilot_Groups (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Table_Data_Pilot_Groups_Elements.ODF_Table_Data_Pilot_Groups_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Table_Data_Pilot_Layout_Info (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Table_Data_Pilot_Layout_Info_Elements.ODF_Table_Data_Pilot_Layout_Info_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Table_Data_Pilot_Level (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Table_Data_Pilot_Level_Elements.ODF_Table_Data_Pilot_Level_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Table_Data_Pilot_Member (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Table_Data_Pilot_Member_Elements.ODF_Table_Data_Pilot_Member_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Table_Data_Pilot_Members (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Table_Data_Pilot_Members_Elements.ODF_Table_Data_Pilot_Members_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Table_Data_Pilot_Sort_Info (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Table_Data_Pilot_Sort_Info_Elements.ODF_Table_Data_Pilot_Sort_Info_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Table_Data_Pilot_Subtotal (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Table_Data_Pilot_Subtotal_Elements.ODF_Table_Data_Pilot_Subtotal_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Table_Data_Pilot_Subtotals (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Table_Data_Pilot_Subtotals_Elements.ODF_Table_Data_Pilot_Subtotals_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Table_Data_Pilot_Table (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Table_Data_Pilot_Table_Elements.ODF_Table_Data_Pilot_Table_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Table_Data_Pilot_Tables (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Table_Data_Pilot_Tables_Elements.ODF_Table_Data_Pilot_Tables_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Table_Database_Range (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Table_Database_Range_Elements.ODF_Table_Database_Range_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Table_Database_Ranges (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Table_Database_Ranges_Elements.ODF_Table_Database_Ranges_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Table_Database_Source_Query (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Table_Database_Source_Query_Elements.ODF_Table_Database_Source_Query_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Table_Database_Source_Sql (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Table_Database_Source_Sql_Elements.ODF_Table_Database_Source_Sql_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Table_Database_Source_Table (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Table_Database_Source_Table_Elements.ODF_Table_Database_Source_Table_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Table_Dde_Links (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Table_Dde_Links_Elements.ODF_Table_Dde_Links_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Table_Deletion (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Table_Deletion_Elements.ODF_Table_Deletion_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Table_Deletions (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Table_Deletions_Elements.ODF_Table_Deletions_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Table_Dependencies (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Table_Dependencies_Elements.ODF_Table_Dependencies_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Table_Dependency (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Table_Dependency_Elements.ODF_Table_Dependency_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Table_Desc (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Table_Desc_Elements.ODF_Table_Desc_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Table_Last_Column (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Table_Last_Column_Elements.ODF_Table_Last_Column_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Table_Last_Row (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Table_Last_Row_Elements.ODF_Table_Last_Row_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Table_Odd_Columns (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Table_Odd_Columns_Elements.ODF_Table_Odd_Columns_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Table_Odd_Rows (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Table_Odd_Rows_Elements.ODF_Table_Odd_Rows_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Table_Table_Template (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Table_Table_Template_Elements.ODF_Table_Table_Template_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Text_Creator (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Text_Creator_Elements.ODF_Text_Creator_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Text_Database_Display (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Text_Database_Display_Elements.ODF_Text_Database_Display_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Text_Database_Name (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Text_Database_Name_Elements.ODF_Text_Database_Name_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Text_Database_Next (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Text_Database_Next_Elements.ODF_Text_Database_Next_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Text_Database_Row_Number (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Text_Database_Row_Number_Elements.ODF_Text_Database_Row_Number_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Text_Database_Row_Select (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Text_Database_Row_Select_Elements.ODF_Text_Database_Row_Select_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Dc_Date (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Dc_Date_Elements.ODF_Dc_Date_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Text_Date (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Text_Date_Elements.ODF_Text_Date_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Text_Dde_Connection (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Text_Dde_Connection_Elements.ODF_Text_Dde_Connection_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Text_Dde_Connection_Decl (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Text_Dde_Connection_Decl_Elements.ODF_Text_Dde_Connection_Decl_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Text_Dde_Connection_Decls (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Text_Dde_Connection_Decls_Elements.ODF_Text_Dde_Connection_Decls_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Text_Deletion (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Text_Deletion_Elements.ODF_Text_Deletion_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Dc_Description (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Dc_Description_Elements.ODF_Dc_Description_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Table_Detective (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Table_Detective_Elements.ODF_Table_Detective_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Text_Description (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Text_Description_Elements.ODF_Text_Description_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Meta_Document_Statistic (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Meta_Document_Statistic_Elements.ODF_Meta_Document_Statistic_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Meta_Editing_Cycles (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Meta_Editing_Cycles_Elements.ODF_Meta_Editing_Cycles_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Meta_Editing_Duration (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Meta_Editing_Duration_Elements.ODF_Meta_Editing_Duration_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Dc_Language (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Dc_Language_Elements.ODF_Dc_Language_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Dc_Subject (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Dc_Subject_Elements.ODF_Dc_Subject_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Dc_Title (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Dc_Title_Elements.ODF_Dc_Title_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Meta_Generator (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Meta_Generator_Elements.ODF_Meta_Generator_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Meta_Hyperlink_Behaviour (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Meta_Hyperlink_Behaviour_Elements.ODF_Meta_Hyperlink_Behaviour_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Meta_Initial_Creator (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Meta_Initial_Creator_Elements.ODF_Meta_Initial_Creator_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Meta_Keyword (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Meta_Keyword_Elements.ODF_Meta_Keyword_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Meta_Print_Date (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Meta_Print_Date_Elements.ODF_Meta_Print_Date_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Meta_Printed_By (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Meta_Printed_By_Elements.ODF_Meta_Printed_By_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Meta_Template (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Meta_Template_Elements.ODF_Meta_Template_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Meta_User_Defined (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Meta_User_Defined_Elements.ODF_Meta_User_Defined_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Office_Body (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Office_Body_Elements.ODF_Office_Body_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Office_Chart (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Office_Chart_Elements.ODF_Office_Chart_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Office_Document (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Office_Document_Elements.ODF_Office_Document_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Office_Document_Content (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Office_Document_Content_Elements.ODF_Office_Document_Content_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Office_Document_Meta (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Office_Document_Meta_Elements.ODF_Office_Document_Meta_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Office_Document_Settings (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Office_Document_Settings_Elements.ODF_Office_Document_Settings_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Office_Document_Styles (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Office_Document_Styles_Elements.ODF_Office_Document_Styles_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Office_Drawing (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Office_Drawing_Elements.ODF_Office_Drawing_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Style_Handout_Master (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Style_Handout_Master_Elements.ODF_Style_Handout_Master_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Table_Error_Macro (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Table_Error_Macro_Elements.ODF_Table_Error_Macro_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Table_Error_Message (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Table_Error_Message_Elements.ODF_Table_Error_Message_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Table_Filter (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Table_Filter_Elements.ODF_Table_Filter_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Table_Filter_And (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Table_Filter_And_Elements.ODF_Table_Filter_And_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Table_Filter_Condition (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Table_Filter_Condition_Elements.ODF_Table_Filter_Condition_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Table_Filter_Or (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Table_Filter_Or_Elements.ODF_Table_Filter_Or_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Table_Filter_Set_Item (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Table_Filter_Set_Item_Elements.ODF_Table_Filter_Set_Item_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Table_Help_Message (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Table_Help_Message_Elements.ODF_Table_Help_Message_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Table_Highlighted_Range (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Table_Highlighted_Range_Elements.ODF_Table_Highlighted_Range_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Text_Editing_Cycles (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Text_Editing_Cycles_Elements.ODF_Text_Editing_Cycles_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Text_Editing_Duration (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Text_Editing_Duration_Elements.ODF_Text_Editing_Duration_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Text_Execute_Macro (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Text_Execute_Macro_Elements.ODF_Text_Execute_Macro_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Text_Expression (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Text_Expression_Elements.ODF_Text_Expression_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Text_File_Name (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Text_File_Name_Elements.ODF_Text_File_Name_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Office_Font_Face_Decls (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Office_Font_Face_Decls_Elements.ODF_Office_Font_Face_Decls_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Text_Format_Change (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Text_Format_Change_Elements.ODF_Text_Format_Change_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Text_H (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Text_H_Elements.ODF_Text_H_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Text_Hidden_Paragraph (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Text_Hidden_Paragraph_Elements.ODF_Text_Hidden_Paragraph_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Text_Hidden_Text (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Text_Hidden_Text_Elements.ODF_Text_Hidden_Text_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Text_Illustration_Index (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Text_Illustration_Index_Elements.ODF_Text_Illustration_Index_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Text_Illustration_Index_Entry_Template (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Text_Illustration_Index_Entry_Template_Elements.ODF_Text_Illustration_Index_Entry_Template_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Text_Illustration_Index_Source (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Text_Illustration_Index_Source_Elements.ODF_Text_Illustration_Index_Source_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Office_Image (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Office_Image_Elements.ODF_Office_Image_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Table_Insertion (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Table_Insertion_Elements.ODF_Table_Insertion_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Table_Insertion_Cut_Off (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Table_Insertion_Cut_Off_Elements.ODF_Table_Insertion_Cut_Off_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Table_Iteration (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Table_Iteration_Elements.ODF_Table_Iteration_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Table_Label_Range (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Table_Label_Range_Elements.ODF_Table_Label_Range_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Table_Label_Ranges (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Table_Label_Ranges_Elements.ODF_Table_Label_Ranges_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Text_Image_Count (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Text_Image_Count_Elements.ODF_Text_Image_Count_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Text_Index_Body (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Text_Index_Body_Elements.ODF_Text_Index_Body_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Text_Index_Entry_Bibliography (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Text_Index_Entry_Bibliography_Elements.ODF_Text_Index_Entry_Bibliography_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Text_Index_Entry_Chapter (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Text_Index_Entry_Chapter_Elements.ODF_Text_Index_Entry_Chapter_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Text_Index_Entry_Link_End (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Text_Index_Entry_Link_End_Elements.ODF_Text_Index_Entry_Link_End_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Text_Index_Entry_Link_Start (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Text_Index_Entry_Link_Start_Elements.ODF_Text_Index_Entry_Link_Start_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Text_Index_Entry_Page_Number (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Text_Index_Entry_Page_Number_Elements.ODF_Text_Index_Entry_Page_Number_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Text_Index_Entry_Span (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Text_Index_Entry_Span_Elements.ODF_Text_Index_Entry_Span_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Text_Index_Entry_Tab_Stop (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Text_Index_Entry_Tab_Stop_Elements.ODF_Text_Index_Entry_Tab_Stop_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Text_Index_Entry_Text (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Text_Index_Entry_Text_Elements.ODF_Text_Index_Entry_Text_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Text_Index_Source_Style (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Text_Index_Source_Style_Elements.ODF_Text_Index_Source_Style_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Text_Index_Source_Styles (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Text_Index_Source_Styles_Elements.ODF_Text_Index_Source_Styles_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Text_Index_Title (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Text_Index_Title_Elements.ODF_Text_Index_Title_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Text_Index_Title_Template (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Text_Index_Title_Template_Elements.ODF_Text_Index_Title_Template_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Text_Initial_Creator (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Text_Initial_Creator_Elements.ODF_Text_Initial_Creator_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Text_Insertion (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Text_Insertion_Elements.ODF_Text_Insertion_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Text_Keywords (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Text_Keywords_Elements.ODF_Text_Keywords_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Text_Line_Break (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Text_Line_Break_Elements.ODF_Text_Line_Break_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Text_Linenumbering_Configuration (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Text_Linenumbering_Configuration_Elements.ODF_Text_Linenumbering_Configuration_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Text_Linenumbering_Separator (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Text_Linenumbering_Separator_Elements.ODF_Text_Linenumbering_Separator_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Text_List (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Text_List_Elements.ODF_Text_List_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Text_List_Header (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Text_List_Header_Elements.ODF_Text_List_Header_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Text_List_Item (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Text_List_Item_Elements.ODF_Text_List_Item_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Text_List_Level_Style_Bullet (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Text_List_Level_Style_Bullet_Elements.ODF_Text_List_Level_Style_Bullet_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Text_List_Level_Style_Image (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Text_List_Level_Style_Image_Elements.ODF_Text_List_Level_Style_Image_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Text_List_Level_Style_Number (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Text_List_Level_Style_Number_Elements.ODF_Text_List_Level_Style_Number_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Text_List_Style (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Text_List_Style_Elements.ODF_Text_List_Style_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Office_Master_Styles (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Office_Master_Styles_Elements.ODF_Office_Master_Styles_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Text_Measure (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Text_Measure_Elements.ODF_Text_Measure_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Office_Meta (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Office_Meta_Elements.ODF_Office_Meta_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Presentation_Play (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Presentation_Play_Elements.ODF_Presentation_Play_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Presentation_Settings (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Presentation_Settings_Elements.ODF_Presentation_Settings_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Presentation_Show (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Presentation_Show_Elements.ODF_Presentation_Show_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Presentation_Show_Shape (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Presentation_Show_Shape_Elements.ODF_Presentation_Show_Shape_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Presentation_Show_Text (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Presentation_Show_Text_Elements.ODF_Presentation_Show_Text_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Presentation_Sound (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Presentation_Sound_Elements.ODF_Presentation_Sound_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Svg_Title (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Svg_Title_Elements.ODF_Svg_Title_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Table_Movement (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Table_Movement_Elements.ODF_Table_Movement_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Table_Movement_Cut_Off (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Table_Movement_Cut_Off_Elements.ODF_Table_Movement_Cut_Off_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Table_Named_Expression (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Table_Named_Expression_Elements.ODF_Table_Named_Expression_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Table_Named_Expressions (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Table_Named_Expressions_Elements.ODF_Table_Named_Expressions_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Table_Named_Range (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Table_Named_Range_Elements.ODF_Table_Named_Range_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Table_Null_Date (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Table_Null_Date_Elements.ODF_Table_Null_Date_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Table_Operation (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Table_Operation_Elements.ODF_Table_Operation_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Table_Previous (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Table_Previous_Elements.ODF_Table_Previous_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Table_Scenario (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Table_Scenario_Elements.ODF_Table_Scenario_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Table_Shapes (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Table_Shapes_Elements.ODF_Table_Shapes_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Table_Sort (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Table_Sort_Elements.ODF_Table_Sort_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Table_Sort_By (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Table_Sort_By_Elements.ODF_Table_Sort_By_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Table_Sort_Groups (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Table_Sort_Groups_Elements.ODF_Table_Sort_Groups_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Table_Source_Cell_Range (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Table_Source_Cell_Range_Elements.ODF_Table_Source_Cell_Range_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Table_Source_Range_Address (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Table_Source_Range_Address_Elements.ODF_Table_Source_Range_Address_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Table_Source_Service (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Table_Source_Service_Elements.ODF_Table_Source_Service_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Table_Subtotal_Field (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Table_Subtotal_Field_Elements.ODF_Table_Subtotal_Field_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Table_Subtotal_Rule (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Table_Subtotal_Rule_Elements.ODF_Table_Subtotal_Rule_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Table_Subtotal_Rules (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Table_Subtotal_Rules_Elements.ODF_Table_Subtotal_Rules_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Table_Table (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Table_Table_Elements.ODF_Table_Table_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Table_Table_Cell (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Table_Table_Cell_Elements.ODF_Table_Table_Cell_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Table_Table_Column (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Table_Table_Column_Elements.ODF_Table_Table_Column_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Table_Table_Column_Group (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Table_Table_Column_Group_Elements.ODF_Table_Table_Column_Group_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Table_Table_Columns (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Table_Table_Columns_Elements.ODF_Table_Table_Columns_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Table_Table_Header_Columns (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Table_Table_Header_Columns_Elements.ODF_Table_Table_Header_Columns_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Table_Table_Header_Rows (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Table_Table_Header_Rows_Elements.ODF_Table_Table_Header_Rows_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Table_Table_Row (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Table_Table_Row_Elements.ODF_Table_Table_Row_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Table_Table_Row_Group (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Table_Table_Row_Group_Elements.ODF_Table_Table_Row_Group_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Table_Table_Rows (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Table_Table_Rows_Elements.ODF_Table_Table_Rows_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Table_Table_Source (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Table_Table_Source_Elements.ODF_Table_Table_Source_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Table_Target_Range_Address (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Table_Target_Range_Address_Elements.ODF_Table_Target_Range_Address_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Table_Title (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Table_Title_Elements.ODF_Table_Title_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Table_Tracked_Changes (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Table_Tracked_Changes_Elements.ODF_Table_Tracked_Changes_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Text_Meta (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Text_Meta_Elements.ODF_Text_Meta_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Text_Meta_Field (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Text_Meta_Field_Elements.ODF_Text_Meta_Field_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Xforms_Model (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Xforms_Model_Elements.ODF_Xforms_Model_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Text_Modification_Date (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Text_Modification_Date_Elements.ODF_Text_Modification_Date_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Text_Modification_Time (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Text_Modification_Time_Elements.ODF_Text_Modification_Time_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Text_Note (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Text_Note_Elements.ODF_Text_Note_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Text_Note_Body (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Text_Note_Body_Elements.ODF_Text_Note_Body_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Text_Note_Citation (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Text_Note_Citation_Elements.ODF_Text_Note_Citation_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Text_Note_Continuation_Notice_Backward (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Text_Note_Continuation_Notice_Backward_Elements.ODF_Text_Note_Continuation_Notice_Backward_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Text_Note_Continuation_Notice_Forward (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Text_Note_Continuation_Notice_Forward_Elements.ODF_Text_Note_Continuation_Notice_Forward_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Text_Note_Ref (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Text_Note_Ref_Elements.ODF_Text_Note_Ref_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Text_Notes_Configuration (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Text_Notes_Configuration_Elements.ODF_Text_Notes_Configuration_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Text_Number (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Text_Number_Elements.ODF_Text_Number_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Text_Numbered_Paragraph (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Text_Numbered_Paragraph_Elements.ODF_Text_Numbered_Paragraph_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Text_Object_Count (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Text_Object_Count_Elements.ODF_Text_Object_Count_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Text_Object_Index (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Text_Object_Index_Elements.ODF_Text_Object_Index_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Text_Object_Index_Entry_Template (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Text_Object_Index_Entry_Template_Elements.ODF_Text_Object_Index_Entry_Template_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Text_Object_Index_Source (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Text_Object_Index_Source_Elements.ODF_Text_Object_Index_Source_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Text_Outline_Level_Style (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Text_Outline_Level_Style_Elements.ODF_Text_Outline_Level_Style_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Text_Outline_Style (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Text_Outline_Style_Elements.ODF_Text_Outline_Style_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Text_P (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Text_P_Elements.ODF_Text_P_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Text_Page (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Text_Page_Elements.ODF_Text_Page_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Text_Page_Continuation (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Text_Page_Continuation_Elements.ODF_Text_Page_Continuation_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Text_Page_Count (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Text_Page_Count_Elements.ODF_Text_Page_Count_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Text_Page_Number (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Text_Page_Number_Elements.ODF_Text_Page_Number_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Text_Page_Sequence (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Text_Page_Sequence_Elements.ODF_Text_Page_Sequence_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Text_Page_Variable_Get (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Text_Page_Variable_Get_Elements.ODF_Text_Page_Variable_Get_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Text_Page_Variable_Set (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Text_Page_Variable_Set_Elements.ODF_Text_Page_Variable_Set_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Text_Paragraph_Count (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Text_Paragraph_Count_Elements.ODF_Text_Paragraph_Count_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Text_Placeholder (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Text_Placeholder_Elements.ODF_Text_Placeholder_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Office_Presentation (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Office_Presentation_Elements.ODF_Office_Presentation_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Text_Print_Date (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Text_Print_Date_Elements.ODF_Text_Print_Date_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Text_Print_Time (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Text_Print_Time_Elements.ODF_Text_Print_Time_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Text_Printed_By (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Text_Printed_By_Elements.ODF_Text_Printed_By_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Text_Reference_Mark (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Text_Reference_Mark_Elements.ODF_Text_Reference_Mark_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Text_Reference_Mark_End (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Text_Reference_Mark_End_Elements.ODF_Text_Reference_Mark_End_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Text_Reference_Mark_Start (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Text_Reference_Mark_Start_Elements.ODF_Text_Reference_Mark_Start_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Text_Reference_Ref (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Text_Reference_Ref_Elements.ODF_Text_Reference_Ref_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Text_Ruby (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Text_Ruby_Elements.ODF_Text_Ruby_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Text_Ruby_Base (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Text_Ruby_Base_Elements.ODF_Text_Ruby_Base_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Text_Ruby_Text (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Text_Ruby_Text_Elements.ODF_Text_Ruby_Text_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Text_S (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Text_S_Elements.ODF_Text_S_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Office_Script (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Office_Script_Elements.ODF_Office_Script_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Text_Script (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Text_Script_Elements.ODF_Text_Script_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Office_Scripts (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Office_Scripts_Elements.ODF_Office_Scripts_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Text_Section (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Text_Section_Elements.ODF_Text_Section_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Text_Section_Source (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Text_Section_Source_Elements.ODF_Text_Section_Source_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Text_Sender_City (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Text_Sender_City_Elements.ODF_Text_Sender_City_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Text_Sender_Company (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Text_Sender_Company_Elements.ODF_Text_Sender_Company_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Text_Sender_Country (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Text_Sender_Country_Elements.ODF_Text_Sender_Country_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Text_Sender_Email (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Text_Sender_Email_Elements.ODF_Text_Sender_Email_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Text_Sender_Fax (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Text_Sender_Fax_Elements.ODF_Text_Sender_Fax_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Text_Sender_Firstname (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Text_Sender_Firstname_Elements.ODF_Text_Sender_Firstname_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Text_Sender_Initials (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Text_Sender_Initials_Elements.ODF_Text_Sender_Initials_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Text_Sender_Lastname (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Text_Sender_Lastname_Elements.ODF_Text_Sender_Lastname_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Text_Sender_Phone_Private (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Text_Sender_Phone_Private_Elements.ODF_Text_Sender_Phone_Private_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Text_Sender_Phone_Work (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Text_Sender_Phone_Work_Elements.ODF_Text_Sender_Phone_Work_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Text_Sender_Position (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Text_Sender_Position_Elements.ODF_Text_Sender_Position_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Text_Sender_Postal_Code (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Text_Sender_Postal_Code_Elements.ODF_Text_Sender_Postal_Code_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Text_Sender_State_Or_Province (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Text_Sender_State_Or_Province_Elements.ODF_Text_Sender_State_Or_Province_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Text_Sender_Street (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Text_Sender_Street_Elements.ODF_Text_Sender_Street_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Text_Sender_Title (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Text_Sender_Title_Elements.ODF_Text_Sender_Title_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Text_Sequence (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Text_Sequence_Elements.ODF_Text_Sequence_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Text_Sequence_Decl (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Text_Sequence_Decl_Elements.ODF_Text_Sequence_Decl_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Text_Sequence_Decls (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Text_Sequence_Decls_Elements.ODF_Text_Sequence_Decls_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Text_Sequence_Ref (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Text_Sequence_Ref_Elements.ODF_Text_Sequence_Ref_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Office_Settings (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Office_Settings_Elements.ODF_Office_Settings_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Text_Sheet_Name (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Text_Sheet_Name_Elements.ODF_Text_Sheet_Name_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Text_Soft_Page_Break (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Text_Soft_Page_Break_Elements.ODF_Text_Soft_Page_Break_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Text_Sort_Key (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Text_Sort_Key_Elements.ODF_Text_Sort_Key_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Text_Span (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Text_Span_Elements.ODF_Text_Span_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Office_Spreadsheet (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Office_Spreadsheet_Elements.ODF_Office_Spreadsheet_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Office_Styles (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Office_Styles_Elements.ODF_Office_Styles_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Text_Subject (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Text_Subject_Elements.ODF_Text_Subject_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Text_Tab (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Text_Tab_Elements.ODF_Text_Tab_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Text_Table_Count (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Text_Table_Count_Elements.ODF_Text_Table_Count_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Text_Table_Formula (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Text_Table_Formula_Elements.ODF_Text_Table_Formula_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Text_Table_Index (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Text_Table_Index_Elements.ODF_Text_Table_Index_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Text_Table_Index_Entry_Template (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Text_Table_Index_Entry_Template_Elements.ODF_Text_Table_Index_Entry_Template_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Text_Table_Index_Source (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Text_Table_Index_Source_Elements.ODF_Text_Table_Index_Source_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Text_Table_Of_Content (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Text_Table_Of_Content_Elements.ODF_Text_Table_Of_Content_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Text_Table_Of_Content_Entry_Template (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Text_Table_Of_Content_Entry_Template_Elements.ODF_Text_Table_Of_Content_Entry_Template_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Text_Table_Of_Content_Source (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Text_Table_Of_Content_Source_Elements.ODF_Text_Table_Of_Content_Source_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Text_Template_Name (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Text_Template_Name_Elements.ODF_Text_Template_Name_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Office_Text (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Office_Text_Elements.ODF_Office_Text_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Text_Text_Input (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Text_Text_Input_Elements.ODF_Text_Text_Input_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Text_Time (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Text_Time_Elements.ODF_Text_Time_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Text_Title (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Text_Title_Elements.ODF_Text_Title_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Text_Toc_Mark (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Text_Toc_Mark_Elements.ODF_Text_Toc_Mark_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Text_Toc_Mark_End (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Text_Toc_Mark_End_Elements.ODF_Text_Toc_Mark_End_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Text_Toc_Mark_Start (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Text_Toc_Mark_Start_Elements.ODF_Text_Toc_Mark_Start_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Text_Tracked_Changes (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Text_Tracked_Changes_Elements.ODF_Text_Tracked_Changes_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Text_User_Defined (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Text_User_Defined_Elements.ODF_Text_User_Defined_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Text_User_Field_Decl (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Text_User_Field_Decl_Elements.ODF_Text_User_Field_Decl_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Text_User_Field_Decls (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Text_User_Field_Decls_Elements.ODF_Text_User_Field_Decls_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Text_User_Field_Get (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Text_User_Field_Get_Elements.ODF_Text_User_Field_Get_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Text_User_Field_Input (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Text_User_Field_Input_Elements.ODF_Text_User_Field_Input_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Text_User_Index (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Text_User_Index_Elements.ODF_Text_User_Index_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Text_User_Index_Entry_Template (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Text_User_Index_Entry_Template_Elements.ODF_Text_User_Index_Entry_Template_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Text_User_Index_Mark (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Text_User_Index_Mark_Elements.ODF_Text_User_Index_Mark_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Text_User_Index_Mark_End (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Text_User_Index_Mark_End_Elements.ODF_Text_User_Index_Mark_End_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Text_User_Index_Mark_Start (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Text_User_Index_Mark_Start_Elements.ODF_Text_User_Index_Mark_Start_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Text_User_Index_Source (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Text_User_Index_Source_Elements.ODF_Text_User_Index_Source_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Text_Variable_Decl (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Text_Variable_Decl_Elements.ODF_Text_Variable_Decl_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Text_Variable_Decls (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Text_Variable_Decls_Elements.ODF_Text_Variable_Decls_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Text_Variable_Get (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Text_Variable_Get_Elements.ODF_Text_Variable_Get_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Text_Variable_Input (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Text_Variable_Input_Elements.ODF_Text_Variable_Input_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Text_Variable_Set (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Text_Variable_Set_Elements.ODF_Text_Variable_Set_Access; Control : in out XML.DOM.Visitors.Traverse_Control); overriding procedure Visit_Text_Word_Count (Self : in out ODF_Containment_Iterator; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Node : not null ODF.DOM.Text_Word_Count_Elements.ODF_Text_Word_Count_Access; Control : in out XML.DOM.Visitors.Traverse_Control); end ODF.DOM.Iterators.Containment;
jpuente/Temperature_Sensor
Ada
3,139
adb
------------------------------------------------------------------------------ -- -- -- Copyright (C) 2017, Universidad Politécnica de Madrid -- -- -- -- 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. -- -- -- ------------------------------------------------------------------------------ -- main procedure for temperature sensor reading with Sensor; use Sensor; with MQTT; use MQTT; with Ada.Real_Time; use Ada.Real_Time; with Ada.Exceptions; use Ada.Exceptions; pragma Warnings(Off); with System.IO; -- for debugging pragma Warnings(On); procedure Get_Temperature is T : Temperature; Period : constant Time_Span := Milliseconds(10_000); -- 10 s begin pragma Debug(System.IO.Put_Line("getTemperature")); loop delay until Clock + Period; Get(T); MQTT.Publish(T'Img & " ºC"); end loop; pragma Debug(System.IO.Put_Line(" end getTemperature")); exception when E : others => System.IO.Put("Exception : " & Ada.Exceptions.Exception_Information(E)); end Get_Temperature;
DrenfongWong/tkm-rpc
Ada
55
ads
package Tkmrpc.Request.Cfg is end Tkmrpc.Request.Cfg;
reznikmm/matreshka
Ada
4,598
adb
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- Open Document Toolkit -- -- -- -- Runtime Library Component -- -- -- ------------------------------------------------------------------------------ -- -- -- Copyright © 2014, Vadim Godunko <[email protected]> -- -- 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.DOM_Documents; with Matreshka.ODF_String_Constants; with ODF.DOM.Iterators; with ODF.DOM.Visitors; package body Matreshka.ODF_Svg.Stop_Color_Attributes is ------------ -- Create -- ------------ overriding function Create (Parameters : not null access Matreshka.DOM_Attributes.Attribute_L2_Parameters) return Svg_Stop_Color_Attribute_Node is begin return Self : Svg_Stop_Color_Attribute_Node do Matreshka.ODF_Svg.Constructors.Initialize (Self'Unchecked_Access, Parameters.Document, Matreshka.ODF_String_Constants.Svg_Prefix); end return; end Create; -------------------- -- Get_Local_Name -- -------------------- overriding function Get_Local_Name (Self : not null access constant Svg_Stop_Color_Attribute_Node) return League.Strings.Universal_String is pragma Unreferenced (Self); begin return Matreshka.ODF_String_Constants.Stop_Color_Attribute; end Get_Local_Name; begin Matreshka.DOM_Documents.Register_Attribute (Matreshka.ODF_String_Constants.Svg_URI, Matreshka.ODF_String_Constants.Stop_Color_Attribute, Svg_Stop_Color_Attribute_Node'Tag); end Matreshka.ODF_Svg.Stop_Color_Attributes;
AdaCore/gpr
Ada
2,449
adb
-- -- Copyright (C) 2019-2023, AdaCore -- -- SPDX-License-Identifier: Apache-2.0 -- with Ada.Directories; with Ada.Text_IO; with Ada.Strings.Fixed; with GPR2.Context; with GPR2.Log; with GPR2.Message; with GPR2.Project.View; with GPR2.Project.Tree; with GPR2.Project.Attribute.Set; with GPR2.Project.Variable.Set; procedure Main is use Ada; use GPR2; use GPR2.Project; procedure Display (Prj : Project.View.Object; Full : Boolean := True); ------------- -- Display -- ------------- procedure Display (Prj : Project.View.Object; Full : Boolean := True) is use GPR2.Project.Attribute.Set; use GPR2.Project.Variable.Set.Set; begin Text_IO.Put (String (Prj.Name) & " "); Text_IO.Set_Col (10); Text_IO.Put_Line (Prj.Qualifier'Img); if Full then for A of Prj.Attributes (With_Defaults => False) loop Text_IO.Put ("A: " & Image (A.Name.Id.Attr)); Text_IO.Put (" ->"); for V of A.Values loop Text_IO.Put (" " & '"' & V.Text & '"'); end loop; Text_IO.New_Line; end loop; if Prj.Has_Variables then for V in Prj.Variables.Iterate loop Text_IO.Put ("V: " & String (Key (V))); Text_IO.Put (" ->"); for Val of Element (V).Values loop Text_IO.Put (" " & '"' & Val.Text & '"'); end loop; Text_IO.New_Line; end loop; end if; end if; end Display; ---------- -- Test -- ---------- procedure Test (Project_Name : String) is Prj : Project.Tree.Object; Ctx : Context.Object; begin Project.Tree.Load (Prj, Create (Filename_Type (Project_Name)), Ctx); Display (Prj.Root_Project); Project.Tree.Unload (Prj); exception when GPR2.Project_Error => if Prj.Has_Messages then Text_IO.Put_Line ("Messages found:"); for C in Prj.Log_Messages.Iterate (Information => False, Warning => False) loop declare M : constant Message.Object := Log.Element (C); begin Text_IO.Put_Line (M.Format); end; end loop; end if; end Test; begin Test ("demo.gpr"); Test ("demoe1.gpr"); Test ("demoe2.gpr"); end Main;
AdaCore/training_material
Ada
626
adb
with Ada.Strings.Unbounded; use Ada.Strings.Unbounded; with Ada.Text_IO; use Ada.Text_IO; with Debug_Pkg; with Input; use Input; procedure Main is Illegal_Operator : exception; begin loop declare Input : constant String := Get_String ("Sequence"); begin exit when Input'length = 0; -- Parse Input to get the the operator and operands -- (handle exceptions as appropriate) -- Perform appropriate operation -- (handle exceptions as appropriate) end; end loop; Debug_Pkg.Print_Exceptions; end Main;
trilochan90/dockerfile-boilerplates
Ada
263
ads
with Text_IO,ada.Text_IO; use Text_IO,ada.Text_IO; procedure Adadocker is begin Put_line("******************************"); New_Line(2); Put_line("Ada running inside docker."); New_Line(2); Put_line("******************************"); end Adadocker;
gitter-badger/spat
Ada
10,203
adb
------------------------------------------------------------------------------ -- Copyright (C) 2020 by Heisenbug Ltd. ([email protected]) -- -- This work is free. You can redistribute it and/or modify it under the -- terms of the Do What The Fuck You Want To Public License, Version 2, -- as published by Sam Hocevar. See the LICENSE file for more details. ------------------------------------------------------------------------------ pragma License (Unrestricted); ------------------------------------------------------------------------------ -- -- SPARK Proof Analysis Tool -- -- S.P.A.T. - Main program -- ------------------------------------------------------------------------------ with Ada.Command_Line; with Ada.Containers.Vectors; with Ada.Directories; with Ada.Real_Time; with GNAT.Regexp; with GNATCOLL.JSON; with GNATCOLL.Projects; with GNATCOLL.VFS; with SPAT.Command_Line; with SPAT.GPR_Support; with SPAT.Log; with SPAT.Spark_Files; with SPAT.Spark_Info; with SPAT.Strings; with SPAT.Version; with System; ------------------------------------------------------------------------------ -- Run_SPAT ------------------------------------------------------------------------------ procedure Run_SPAT is package Reg_Exp_List is new Ada.Containers.Vectors (Index_Type => Positive, Element_Type => GNAT.Regexp.Regexp, "=" => GNAT.Regexp."="); --------------------------------------------------------------------------- -- Print_Entities --------------------------------------------------------------------------- procedure Print_Entities (Info : in SPAT.Spark_Info.T; Sort_By : in SPAT.Spark_Info.Sorting_Criterion; Cut_Off : in Duration; Entity_Filter : in Reg_Exp_List.Vector); --------------------------------------------------------------------------- -- Print_Suggestion --------------------------------------------------------------------------- procedure Print_Suggestion (Info : in SPAT.Spark_Info.T); --------------------------------------------------------------------------- -- Print_Summary --------------------------------------------------------------------------- procedure Print_Summary (Info : in SPAT.Spark_Info.T; Sort_By : in SPAT.Spark_Info.Sorting_Criterion; Cut_Off : in Duration); --------------------------------------------------------------------------- -- Print_Entities --------------------------------------------------------------------------- procedure Print_Entities (Info : in SPAT.Spark_Info.T; Sort_By : in SPAT.Spark_Info.Sorting_Criterion; Cut_Off : in Duration; Entity_Filter : in Reg_Exp_List.Vector) is separate; --------------------------------------------------------------------------- -- Print_Suggestion --------------------------------------------------------------------------- procedure Print_Suggestion (Info : in SPAT.Spark_Info.T) is separate; --------------------------------------------------------------------------- -- Print_Summary --------------------------------------------------------------------------- procedure Print_Summary (Info : in SPAT.Spark_Info.T; Sort_By : in SPAT.Spark_Info.Sorting_Criterion; Cut_Off : in Duration) is separate; use type Ada.Real_Time.Time; use type SPAT.Subject_Name; Entity_Filter : Reg_Exp_List.Vector; begin if not SPAT.Command_Line.Parser.Parse then SPAT.Spark_Files.Shutdown; Ada.Command_Line.Set_Exit_Status (Code => Ada.Command_Line.Failure); return; end if; if SPAT.Command_Line.Version.Get then SPAT.Log.Message (Message => "run_spat V" & SPAT.Version.Number & " (compiled by " & System.System_Name'Image & " " & SPAT.Version.Compiler & ")"); SPAT.Spark_Files.Shutdown; Ada.Command_Line.Set_Exit_Status (Code => Ada.Command_Line.Success); return; end if; if SPAT.Command_Line.Project.Get = SPAT.Null_Name then -- The project file option is mandatory (AFAICS there is no way to -- require an option argument). SPAT.Log.Message (Message => "Argument parsing failed: Missing project file argument"); SPAT.Log.Message (Message => SPAT.Command_Line.Parser.Help); SPAT.Spark_Files.Shutdown; Ada.Command_Line.Set_Exit_Status (Code => Ada.Command_Line.Failure); return; end if; -- If there were entity filter options given, try compiling the reg exps. -- -- for Expression of SPAT.Command_Line.Entity_Filter.Get loop -- The above triggers a GNAT bug box with GNAT CE 2020. -- declare Filter : constant SPAT.Command_Line.Entity_Filter.Result_Array := SPAT.Command_Line.Entity_Filter.Get; begin for Expression of Filter loop begin Entity_Filter.Append (New_Item => GNAT.Regexp.Compile (Pattern => SPAT.To_String (Expression), Glob => False, Case_Sensitive => False)); null; exception when GNAT.Regexp.Error_In_Regexp => SPAT.Log.Message (Message => "Argument parsing failed: """ & SPAT.To_String (Source => Expression) & """ is not a valid regular expression."); SPAT.Spark_Files.Shutdown; Ada.Command_Line.Set_Exit_Status (Code => Ada.Command_Line.Failure); return; end; end loop; end; Do_Run_SPAT : declare SPARK_Files : SPAT.Spark_Files.T; Start_Time : Ada.Real_Time.Time; Sort_By : constant SPAT.Spark_Info.Sorting_Criterion := SPAT.Command_Line.Sort_By.Get; Cut_Off : constant Duration := SPAT.Command_Line.Cut_Off.Get; Report_Mode : constant SPAT.Command_Line.Report_Mode := SPAT.Command_Line.Report.Get; Project_File : constant GNATCOLL.VFS.Filesystem_String := GNATCOLL.VFS."+" (S => SPAT.To_String (SPAT.Command_Line.Project.Get)); use type SPAT.Command_Line.Report_Mode; begin Collect_And_Parse : declare -- Step 1: Collect all .spark files. File_List : constant SPAT.Strings.SPARK_File_Names := SPAT.GPR_Support.Get_SPARK_Files (GPR_File => Project_File); begin -- Step 2: Parse the files into JSON values. if not File_List.Is_Empty then SPAT.Log.Debug (Message => "Using up to" & SPAT.Spark_Files.Num_Workers'Image & " parsing threads."); Start_Time := Ada.Real_Time.Clock; SPARK_Files.Read (Names => File_List); SPAT.Log.Debug (Message => "Parsing completed in " & SPAT.Image (Value => Ada.Real_Time.To_Duration (TS => Ada.Real_Time.Clock - Start_Time)) & "."); end if; end Collect_And_Parse; Process_And_Output : declare Info : SPAT.Spark_Info.T; begin -- Step 3: Process the JSON data. if not SPARK_Files.Is_Empty then Start_Time := Ada.Real_Time.Clock; for C in SPARK_Files.Iterate loop Parse_JSON_File : declare Read_Result : constant GNATCOLL.JSON.Read_Result := SPARK_Files (C); File : constant SPAT.SPARK_File_Name := SPAT.Spark_Files.Key (C); begin if Read_Result.Success then Info.Map_Spark_File (Root => Read_Result.Value, File => File); else SPAT.Log.Warning (Message => SPAT.To_String (Source => File) & ": " & GNATCOLL.JSON.Format_Parsing_Error (Error => Read_Result.Error)); end if; end Parse_JSON_File; end loop; SPAT.Log.Debug (Message => "Reading completed in " & SPAT.Image (Value => Ada.Real_Time.To_Duration (TS => Ada.Real_Time.Clock - Start_Time)) & "."); end if; SPAT.Log.Debug (Message => "Cut off point set to " & SPAT.Image (Cut_Off) & "."); -- Step 4: Output the JSON data. if SPAT.Command_Line.Summary.Get then Print_Summary (Info => Info, Sort_By => Sort_By, Cut_Off => Cut_Off); end if; if Report_Mode /= SPAT.Command_Line.None then Print_Entities (Info => Info, Sort_By => Sort_By, Cut_Off => Cut_Off, Entity_Filter => Entity_Filter); end if; if SPAT.Command_Line.Suggest.Get then Print_Suggestion (Info => Info); end if; exception when E : others => SPAT.Log.Dump_Exception (E => E, Message => "Internal error encountered when processing data!"); end Process_And_Output; end Do_Run_SPAT; SPAT.Spark_Files.Shutdown; Ada.Command_Line.Set_Exit_Status (Code => Ada.Command_Line.Success); exception when E : others => SPAT.Spark_Files.Shutdown; -- This shouldn't happen, other exception handlers should have caught -- such earlier. SPAT.Log.Dump_Exception (E => E, Message => "Fatal error encountered in SPAT!"); Ada.Command_Line.Set_Exit_Status (Code => Ada.Command_Line.Failure); end Run_SPAT;
strenkml/EE368
Ada
8,002
adb
with BRAM; with Device; use Device; with CACTI; package body Memory.SPM is MIN_WORD_COUNT : constant := 64; function Create_SPM(mem : access Memory_Type'Class; size : Natural; latency : Time_Type := 1) return SPM_Pointer is result : constant SPM_Pointer := new SPM_Type; begin Set_Memory(result.all, mem); result.size := size; result.latency := latency; return result; end Create_SPM; function Random_SPM(next : access Memory_Type'Class; generator : Distribution_Type; max_cost : Cost_Type) return Memory_Pointer is result : SPM_Pointer := new SPM_Type; begin Set_Memory(result.all, next); result.size := Get_Word_Size(next.all) * MIN_WORD_COUNT; for i in 1 .. Random(generator) mod 16 loop result.size := result.size * 2; if Get_Cost(result.all) > max_cost then result.size := result.size / 2; exit; end if; exit when Get_Cost(result.all) >= max_cost; end loop; if Get_Cost(result.all) > max_cost then Set_Memory(result.all, null); Destroy(Memory_Pointer(result)); return Memory_Pointer(next); else declare cost : constant Cost_Type := Get_Cost(result.all); begin loop result.size := result.size * 2; exit when Get_Cost(result.all) /= cost; end loop; result.size := result.size / 2; end; if Get_Device = ASIC then result.latency := CACTI.Get_Time(result.all); else result.latency := 2; end if; return Memory_Pointer(result); end if; end Random_SPM; function Clone(mem : SPM_Type) return Memory_Pointer is result : constant SPM_Pointer := new SPM_Type'(mem); begin return Memory_Pointer(result); end Clone; procedure Permute(mem : in out SPM_Type; generator : in Distribution_Type; max_cost : in Cost_Type) is wsize : constant Natural := Get_Word_Size(mem); cost : constant Cost_Type := Get_Cost(mem); size : constant Natural := mem.size; action : Natural := Random(generator) mod 2; begin for i in 1 .. 2 loop if action = 0 then -- Increase size. loop mem.size := mem.size * 2; exit when Get_Cost(mem) /= cost; end loop; exit when Get_Cost(mem) <= max_cost; mem.size := size; elsif mem.size > wsize * MIN_WORD_COUNT then -- Decrease size. loop mem.size := mem.size / 2; exit when Get_Cost(mem) /= cost; end loop; exit when mem.size > wsize; mem.size := size; end if; action := (action + 1) mod 2; end loop; -- Use up as much of this block ram as possible. declare new_cost : constant Cost_Type := Get_Cost(mem); begin loop mem.size := mem.size * 2; exit when Get_Cost(mem) /= new_cost; end loop; mem.size := mem.size / 2; end; if Get_Device = ASIC then mem.latency := CACTI.Get_Time(mem); else mem.latency := 2; end if; end Permute; procedure Read(mem : in out SPM_Type; address : in Address_Type; size : in Positive) is begin if address >= Address_Type(mem.size) then Read(Container_Type(mem), address, size); elsif address + Address_Type(size) > Address_Type(mem.size) then declare naddr : constant Address_Type := Address_Type(mem.size); last : constant Address_Type := address + Address_Type(size); nsize : constant Positive := Positive(last - naddr); begin Read(Container_Type(mem), naddr, nsize); end; else Advance(mem, mem.latency); end if; end Read; procedure Write(mem : in out SPM_Type; address : in Address_Type; size : in Positive) is begin if address >= Address_Type(mem.size) then Write(Container_Type(mem), address, size); elsif address + Address_Type(size) > Address_Type(mem.size) then declare naddr : constant Address_Type := Address_Type(mem.size); nsize : constant Positive := Positive(naddr - address); begin Write(Container_Type(mem), naddr, nsize); end; else Advance(mem, mem.latency); end if; end Write; function To_String(mem : SPM_Type) return Unbounded_String is result : Unbounded_String; begin Append(result, "(spm "); Append(result, "(size" & Natural'Image(mem.size) & ")"); Append(result, "(latency" & Time_Type'Image(mem.latency) & ")"); Append(result, "(memory "); Append(result, To_String(Container_Type(mem))); Append(result, ")"); Append(result, ")"); return result; end To_String; function Get_Cost(mem : SPM_Type) return Cost_Type is wsize : constant Positive := Get_Word_Size(mem); width : constant Natural := wsize * 8; depth : constant Natural := mem.size / wsize; result : Cost_Type := 0; begin if Get_Device = ASIC then result := CACTI.Get_Area(mem); else result := Cost_Type(BRAM.Get_Count(width, depth)); end if; result := result + Get_Cost(Container_Type(mem)); return result; end Get_Cost; function Get_Path_Length(mem : SPM_Type) return Natural is asize : constant Natural := Get_Address_Bits; begin return asize + Get_Path_Length(Container_Type(mem)); end Get_Path_Length; procedure Generate(mem : in SPM_Type; sigs : in out Unbounded_String; code : in out Unbounded_String) is other : constant Memory_Pointer := Get_Memory(mem); word_bits : constant Natural := 8 * Get_Word_Size(mem); name : constant String := "m" & To_String(Get_ID(mem)); oname : constant String := "m" & To_String(Get_ID(other.all)); size : constant Natural := (8 * mem.size) / word_bits; begin Generate(other.all, sigs, code); Declare_Signals(sigs, name, word_bits); Line(code, name & "_inst : entity work.spm"); Line(code, " generic map ("); Line(code, " ADDR_WIDTH => ADDR_WIDTH,"); Line(code, " WORD_WIDTH => " & To_String(word_bits) & ","); Line(code, " SIZE_BITS => " & To_String(Log2(size) - 1)); Line(code, " )"); Line(code, " port map ("); Line(code, " clk => clk,"); Line(code, " rst => rst,"); Line(code, " addr => " & name & "_addr,"); Line(code, " din => " & name & "_din,"); Line(code, " dout => " & name & "_dout,"); Line(code, " re => " & name & "_re,"); Line(code, " we => " & name & "_we,"); Line(code, " mask => " & name & "_mask,"); Line(code, " ready => " & name & "_ready,"); Line(code, " maddr => " & oname & "_addr,"); Line(code, " min => " & oname & "_dout,"); Line(code, " mout => " & oname & "_din,"); Line(code, " mre => " & oname & "_re,"); Line(code, " mwe => " & oname & "_we,"); Line(code, " mmask => " & oname & "_mask,"); Line(code, " mready => " & oname & "_ready"); Line(code, " );"); end Generate; function Get_Size(mem : SPM_Type) return Natural is begin return mem.size; end Get_Size; end Memory.SPM;
stcarrez/ada-asf
Ada
5,118
adb
----------------------------------------------------------------------- -- Facelet Tests - Unit tests for ASF.Views.Facelet -- Copyright (C) 2009, 2010, 2011, 2018, 2022 Stephane Carrez -- Written by Stephane Carrez ([email protected]) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance with the License. -- You may obtain a copy of the License at -- -- http://www.apache.org/licenses/LICENSE-2.0 -- -- Unless required by applicable law or agreed to in writing, software -- distributed under the License is distributed on an "AS IS" BASIS, -- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -- See the License for the specific language governing permissions and -- limitations under the License. ----------------------------------------------------------------------- with Util.Test_Caller; with EL.Objects; with ASF.Converters; with ASF.Validators; with ASF.Contexts.Facelets; package body ASF.Views.Facelets.Tests is use ASF.Contexts.Facelets; type Facelet_Context is new ASF.Contexts.Facelets.Facelet_Context with null record; -- Get a converter from a name. -- Returns the converter object or null if there is no converter. overriding function Get_Converter (Context : in Facelet_Context; Name : in EL.Objects.Object) return ASF.Converters.Converter_Access; -- Get a validator from a name. -- Returns the validator object or null if there is no validator. overriding function Get_Validator (Context : in Facelet_Context; Name : in EL.Objects.Object) return ASF.Validators.Validator_Access; -- ------------------------------ -- Get a converter from a name. -- Returns the converter object or null if there is no converter. -- ------------------------------ overriding function Get_Converter (Context : in Facelet_Context; Name : in EL.Objects.Object) return ASF.Converters.Converter_Access is pragma Unreferenced (Context, Name); begin return null; end Get_Converter; -- ------------------------------ -- Get a validator from a name. -- Returns the validator object or null if there is no validator. -- ------------------------------ overriding function Get_Validator (Context : in Facelet_Context; Name : in EL.Objects.Object) return ASF.Validators.Validator_Access is pragma Unreferenced (Context, Name); begin return null; end Get_Validator; -- ------------------------------ -- Set up performed before each test case -- ------------------------------ overriding procedure Set_Up (T : in out Test) is begin null; end Set_Up; -- ------------------------------ -- Tear down performed after each test case -- ------------------------------ overriding procedure Tear_Down (T : in out Test) is begin null; end Tear_Down; -- ------------------------------ -- Test loading of facelet file -- ------------------------------ procedure Test_Load_Facelet (T : in out Test) is Factory : ASF.Views.Facelets.Facelet_Factory; Components : aliased ASF.Factory.Component_Factory; View : ASF.Views.Facelets.Facelet; Ctx : Facelet_Context; begin Initialize (Factory, Components'Unchecked_Access, "regtests/files/views;.", True, True, True); Find_Facelet (Factory, "text.xhtml", Ctx, View); T.Assert (Condition => not Is_Null (View), Message => "Loading an existing facelet should return a view"); end Test_Load_Facelet; -- ------------------------------ -- Test loading of an unknown file -- ------------------------------ procedure Test_Load_Unknown_Facelet (T : in out Test) is Factory : ASF.Views.Facelets.Facelet_Factory; Components : aliased ASF.Factory.Component_Factory; View : ASF.Views.Facelets.Facelet; Ctx : Facelet_Context; begin Initialize (Factory, Components'Unchecked_Access, "regtests/files;.", True, True, True); Find_Facelet (Factory, "not-found-file.xhtml", Ctx, View); T.Assert (Condition => Is_Null (View), Message => "Loading a missing facelet should not raise any exception"); end Test_Load_Unknown_Facelet; package Caller is new Util.Test_Caller (Test, "Views.Facelets"); procedure Add_Tests (Suite : in Util.Tests.Access_Test_Suite) is begin -- To document what is tested, register the test methods for each -- operation that is tested. Caller.Add_Test (Suite, "Test ASF.Views.Facelets.Find_Facelet", Test_Load_Facelet'Access); Caller.Add_Test (Suite, "Test ASF.Views.Facelets.Find_Facelet", Test_Load_Unknown_Facelet'Access); end Add_Tests; end ASF.Views.Facelets.Tests;
AdaCore/libadalang
Ada
215
adb
procedure Testaccacc is type A is access all Integer; type AA is access all A; Inst : AA := new A'(new Integer'(12)); O : Integer; begin O := Inst.all.all; pragma Test_Statement; end Testaccacc;
zhmu/ananas
Ada
380
adb
package body Range_Check3_Pkg is function One return Positive is begin return 1; end One; function Zero return Natural is begin return 0; end Zero; function Allocate return Array_Access is begin return new Array_Type (Positive (One) .. Positive (Zero)); -- Failed range check end Allocate; end Range_Check3_Pkg;
reznikmm/matreshka
Ada
5,000
ads
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- Ada Modeling Framework -- -- -- -- Runtime Library Component -- -- -- ------------------------------------------------------------------------------ -- -- -- Copyright © 2012, Vadim Godunko <[email protected]> -- -- 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.Generic_Collections; package AMF.Utp.Literal_Anies.Collections is pragma Preelaborate; package Utp_Literal_Any_Collections is new AMF.Generic_Collections (Utp_Literal_Any, Utp_Literal_Any_Access); type Set_Of_Utp_Literal_Any is new Utp_Literal_Any_Collections.Set with null record; Empty_Set_Of_Utp_Literal_Any : constant Set_Of_Utp_Literal_Any; type Ordered_Set_Of_Utp_Literal_Any is new Utp_Literal_Any_Collections.Ordered_Set with null record; Empty_Ordered_Set_Of_Utp_Literal_Any : constant Ordered_Set_Of_Utp_Literal_Any; type Bag_Of_Utp_Literal_Any is new Utp_Literal_Any_Collections.Bag with null record; Empty_Bag_Of_Utp_Literal_Any : constant Bag_Of_Utp_Literal_Any; type Sequence_Of_Utp_Literal_Any is new Utp_Literal_Any_Collections.Sequence with null record; Empty_Sequence_Of_Utp_Literal_Any : constant Sequence_Of_Utp_Literal_Any; private Empty_Set_Of_Utp_Literal_Any : constant Set_Of_Utp_Literal_Any := (Utp_Literal_Any_Collections.Set with null record); Empty_Ordered_Set_Of_Utp_Literal_Any : constant Ordered_Set_Of_Utp_Literal_Any := (Utp_Literal_Any_Collections.Ordered_Set with null record); Empty_Bag_Of_Utp_Literal_Any : constant Bag_Of_Utp_Literal_Any := (Utp_Literal_Any_Collections.Bag with null record); Empty_Sequence_Of_Utp_Literal_Any : constant Sequence_Of_Utp_Literal_Any := (Utp_Literal_Any_Collections.Sequence with null record); end AMF.Utp.Literal_Anies.Collections;
reznikmm/matreshka
Ada
6,780
adb
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- Open Document Toolkit -- -- -- -- Runtime Library Component -- -- -- ------------------------------------------------------------------------------ -- -- -- Copyright © 2014, Vadim Godunko <[email protected]> -- -- 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.DOM_Documents; with Matreshka.ODF_String_Constants; with ODF.DOM.Iterators; with ODF.DOM.Visitors; package body Matreshka.ODF_Draw.Marker_Elements is ------------ -- Create -- ------------ overriding function Create (Parameters : not null access Matreshka.DOM_Elements.Element_L2_Parameters) return Draw_Marker_Element_Node is begin return Self : Draw_Marker_Element_Node do Matreshka.ODF_Draw.Constructors.Initialize (Self'Unchecked_Access, Parameters.Document, Matreshka.ODF_String_Constants.Draw_Prefix); end return; end Create; ---------------- -- Enter_Node -- ---------------- overriding procedure Enter_Node (Self : not null access Draw_Marker_Element_Node; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Control : in out XML.DOM.Visitors.Traverse_Control) is begin if Visitor in ODF.DOM.Visitors.Abstract_ODF_Visitor'Class then ODF.DOM.Visitors.Abstract_ODF_Visitor'Class (Visitor).Enter_Draw_Marker (ODF.DOM.Draw_Marker_Elements.ODF_Draw_Marker_Access (Self), Control); else Matreshka.DOM_Elements.Abstract_Element_Node (Self.all).Enter_Node (Visitor, Control); end if; end Enter_Node; -------------------- -- Get_Local_Name -- -------------------- overriding function Get_Local_Name (Self : not null access constant Draw_Marker_Element_Node) return League.Strings.Universal_String is pragma Unreferenced (Self); begin return Matreshka.ODF_String_Constants.Marker_Element; end Get_Local_Name; ---------------- -- Leave_Node -- ---------------- overriding procedure Leave_Node (Self : not null access Draw_Marker_Element_Node; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Control : in out XML.DOM.Visitors.Traverse_Control) is begin if Visitor in ODF.DOM.Visitors.Abstract_ODF_Visitor'Class then ODF.DOM.Visitors.Abstract_ODF_Visitor'Class (Visitor).Leave_Draw_Marker (ODF.DOM.Draw_Marker_Elements.ODF_Draw_Marker_Access (Self), Control); else Matreshka.DOM_Elements.Abstract_Element_Node (Self.all).Leave_Node (Visitor, Control); end if; end Leave_Node; ---------------- -- Visit_Node -- ---------------- overriding procedure Visit_Node (Self : not null access Draw_Marker_Element_Node; Iterator : in out XML.DOM.Visitors.Abstract_Iterator'Class; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Control : in out XML.DOM.Visitors.Traverse_Control) is begin if Iterator in ODF.DOM.Iterators.Abstract_ODF_Iterator'Class then ODF.DOM.Iterators.Abstract_ODF_Iterator'Class (Iterator).Visit_Draw_Marker (Visitor, ODF.DOM.Draw_Marker_Elements.ODF_Draw_Marker_Access (Self), Control); else Matreshka.DOM_Elements.Abstract_Element_Node (Self.all).Visit_Node (Iterator, Visitor, Control); end if; end Visit_Node; begin Matreshka.DOM_Documents.Register_Element (Matreshka.ODF_String_Constants.Draw_URI, Matreshka.ODF_String_Constants.Marker_Element, Draw_Marker_Element_Node'Tag); end Matreshka.ODF_Draw.Marker_Elements;
persan/a-cups
Ada
2,890
ads
pragma Ada_2005; pragma Style_Checks (Off); with Interfaces.C; use Interfaces.C; with Interfaces.C.Strings; with CUPS.cups_language_h; private package CUPS.cups_transcode_h is CUPS_MAX_USTRING : constant := 8192; -- cups/transcode.h:36 -- * "$Id: transcode.h 10996 2013-05-29 11:51:34Z msweet $" -- * -- * Transcoding definitions for CUPS. -- * -- * Copyright 2007-2011 by Apple Inc. -- * Copyright 1997-2006 by Easy Software Products. -- * -- * These coded instructions, statements, and computer programs are the -- * property of Apple Inc. and are protected by Federal copyright -- * law. Distribution and use rights are outlined in the file "LICENSE.txt" -- * which should have been included with this file. If this file is -- * file is missing or damaged, see the license at "http://www.cups.org/". -- * -- * This file is subject to the Apple OS-Developed Software exception. -- -- * Include necessary headers... -- -- * Constants... -- -- * Types... -- -- UTF-8 Unicode/ISO-10646 unit subtype cups_utf8_t is unsigned_char; -- cups/transcode.h:43 -- UTF-32 Unicode/ISO-10646 unit subtype cups_utf32_t is unsigned_long; -- cups/transcode.h:44 -- UCS-2 Unicode/ISO-10646 unit subtype cups_ucs2_t is unsigned_short; -- cups/transcode.h:45 -- UCS-4 Unicode/ISO-10646 unit subtype cups_ucs4_t is unsigned_long; -- cups/transcode.h:46 -- SBCS Legacy 8-bit unit subtype cups_sbcs_t is unsigned_char; -- cups/transcode.h:47 -- DBCS Legacy 16-bit unit subtype cups_dbcs_t is unsigned_short; -- cups/transcode.h:48 -- VBCS Legacy 32-bit unit subtype cups_vbcs_t is unsigned_long; -- cups/transcode.h:49 -- EUC uses 8, 16, 24, 32-bit -- * Prototypes... -- function cupsCharsetToUTF8 (dest : access cups_utf8_t; src : Interfaces.C.Strings.chars_ptr; maxout : int; encoding : CUPS.cups_language_h.cups_encoding_t) return int; -- cups/transcode.h:57 pragma Import (C, cupsCharsetToUTF8, "cupsCharsetToUTF8"); function cupsUTF8ToCharset (dest : Interfaces.C.Strings.chars_ptr; src : access cups_utf8_t; maxout : int; encoding : CUPS.cups_language_h.cups_encoding_t) return int; -- cups/transcode.h:61 pragma Import (C, cupsUTF8ToCharset, "cupsUTF8ToCharset"); function cupsUTF8ToUTF32 (dest : access cups_utf32_t; src : access cups_utf8_t; maxout : int) return int; -- cups/transcode.h:65 pragma Import (C, cupsUTF8ToUTF32, "cupsUTF8ToUTF32"); function cupsUTF32ToUTF8 (dest : access cups_utf8_t; src : access cups_utf32_t; maxout : int) return int; -- cups/transcode.h:68 pragma Import (C, cupsUTF32ToUTF8, "cupsUTF32ToUTF8"); -- * End of "$Id: transcode.h 10996 2013-05-29 11:51:34Z msweet $" -- end CUPS.cups_transcode_h;
charlie5/cBound
Ada
1,657
ads
-- This file is generated by SWIG. Please do not modify by hand. -- with Interfaces; with Interfaces.C; with Interfaces.C.Pointers; package xcb.xcb_image_text_8_request_t is -- Item -- type Item is record major_opcode : aliased Interfaces.Unsigned_8; string_len : aliased Interfaces.Unsigned_8; length : aliased Interfaces.Unsigned_16; drawable : aliased xcb.xcb_drawable_t; gc : aliased xcb.xcb_gcontext_t; x : aliased Interfaces.Integer_16; y : aliased Interfaces.Integer_16; end record; -- Item_Array -- type Item_Array is array (Interfaces.C.size_t range <>) of aliased xcb.xcb_image_text_8_request_t .Item; -- Pointer -- package C_Pointers is new Interfaces.C.Pointers (Index => Interfaces.C.size_t, Element => xcb.xcb_image_text_8_request_t.Item, Element_Array => xcb.xcb_image_text_8_request_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_image_text_8_request_t .Pointer; -- Pointer_Pointer -- package C_Pointer_Pointers is new Interfaces.C.Pointers (Index => Interfaces.C.size_t, Element => xcb.xcb_image_text_8_request_t.Pointer, Element_Array => xcb.xcb_image_text_8_request_t.Pointer_Array, Default_Terminator => null); subtype Pointer_Pointer is C_Pointer_Pointers.Pointer; end xcb.xcb_image_text_8_request_t;
reznikmm/matreshka
Ada
3,529
ads
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- Web Framework -- -- -- -- Runtime Library Component -- -- -- ------------------------------------------------------------------------------ -- -- -- Copyright © 2017, Vadim Godunko <[email protected]> -- -- 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 Core.Connectables.Slots_0.Slots_1.Generic_Emitters; package WUI.Slots.Strings.Emitters is new WUI.Slots.Strings.Generic_Emitters; pragma Preelaborate (WUI.Slots.Strings.Emitters);
annexi-strayline/AURA
Ada
7,574
ads
------------------------------------------------------------------------------ -- -- -- Ada User Repository Annex (AURA) -- -- Reference Implementation -- -- -- -- ------------------------------------------------------------------------ -- -- -- -- Copyright (C) 2020-2023, ANNEXI-STRAYLINE Trans-Human Ltd. -- -- All rights reserved. -- -- -- -- Original Contributors: -- -- * Richard Wai (ANNEXI-STRAYLINE) -- -- -- -- Redistribution and use in source and binary forms, with or without -- -- modification, are permitted provided that the following conditions are -- -- met: -- -- -- -- * Redistributions of source code must retain the above copyright -- -- notice, this list of conditions and the following disclaimer. -- -- -- -- * Redistributions in binary form must reproduce the above copyright -- -- notice, this list of conditions and the following disclaimer in -- -- the documentation and/or other materials provided with the -- -- distribution. -- -- -- -- * Neither the name of the copyright holder nor the names of its -- -- contributors may be used to endorse or promote products derived -- -- from this software without specific prior written permission. -- -- -- -- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -- -- "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -- -- LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A -- -- PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -- -- OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -- -- SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -- -- LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -- -- DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -- -- THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -- -- (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -- -- OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -- -- -- ------------------------------------------------------------------------------ -- This package handles the checkout specification files, as well as the -- checkout action (copying from the cache) with Progress; with Registrar.Subsystems; package Checkout is ------------------- -- Checkout_Pass -- ------------------- procedure Checkout_Pass; Checkout_Pass_Progress: aliased Progress.Progress_Tracker; -- Should be called only after: -- * The project has been entered to the Registrar, -- * Repositories have been initialized. -- -- This operation interates through all "Requested" AURA Subsystems and -- dispatches to a work order per subsystem that completes one of the -- following actions, entering all units of the subsystem's root if aquired: -- -- * Checkout spec is available, relevent source directory exists: -- -- The subsystem's Source_Repository is set to that specified by the -- Checkout spec. If that index is not valid, the the process fails. -- The source contents (exluding subdirectories) are then entered -- into the Registrar, and the Subsystem's state is promoted to "Aquired" -- -- * Checkout spec is available, relevent source directory does not exist: -- -- This case is where a checkout operation is actually triggered -- -- The subsystem's Source_Repository is set to that specified by the -- Checkout spec. If that index is not valid, the the process fails. -- -- == Source_Repository is not the "root repository": -- -- If Cache_State of Available, the relevent subdirectory is copied -- out of the cache (checked-out), and the copied directory is entered -- with the Registrar (not including sub-directories). -- -- If the cache does not contain the expected directory, checkout of -- the subsystem fails. -- -- If the relevant Repository is not Cached, it is marked as -- Requested, and will be checked-out in the next cycle. -- -- == Source_Repository is the "root repository": -- -- All cached repositories starting from index 2 are scanned for the -- subsystem, until it is found, the index is not cached, or the index -- reaches the end of all repositories. -- -- If the subsystem is found, the repository is set to the index of -- the hit, and the checkout spec is written. If the subsystem is not -- found, but there remain uncached repositories, then all remaining -- uncached repositories are marked as requested. -- -- If all repositories are cached, and the subsystem cannot be found, -- the checkout of the subsystem fails -- -- If the checkout was successful, the subsystem's state is promoted -- to "Aquired" -- -- * Checkout spec is not available, relevant source directory exists: -- -- The subsystem's Source_Repository is set to the default "project -- local" index of 1, a Checkout spec is generated. The source contents -- (exluding subdirectories) are then entered into the Registrar, and the -- Subsystem's state is promoted to "Aquired" -- -- * Checkout spec is not available, relevant source directory does not -- exist: -- -- The subsystem's Source_Repository is set to the default "project -- local" index of 1, and a Checkout spec is generated. The Subsystem's -- state is not modified (remains "Requested"). This means that the -- next checkout pass will search for an approprite repository -- -- The Checkout_Pass_Progress tracker progress of each candidate checkout -- (Requested Subsystem). ------------------------- -- Write_Checkout_Spec -- ------------------------- procedure Write_Checkout_Spec (SS: in Registrar.Subsystems.Subsystem); -- Writes (or regenerates) the checkout spec file for SS. This is a -- sequential operation. -- -- This procedure should be invoked if the Source_Repository value of -- a subsystem is changed. -- -- If the spec already exists (the unit is registered), then it is -- re-written. If the spec has not been registered, it is entered -- to the registrar after generation. end Checkout;
AdaCore/libadalang
Ada
3,665
adb
procedure Callp is function Function_With_All_Default_Params (p1 : in Integer := 0; p2 : in Integer := 0; p3 : in Integer := 0) return Integer is begin return p1 + p2 + p3; end Function_With_All_Default_Params; function Function_With_All_Default_Params2 (p1, p2 : in Integer := 0; p3 : in Integer := 0) return Integer is begin return p1 + p2 + p3; end Function_With_All_Default_Params2; function Function_With_All_Default_Params3 (p1 : in Integer := 0; p2, p3 : in Integer := 0) return Integer is begin return p1 + p2 + p3; end Function_With_All_Default_Params3; function Function_With_All_Default_Params4 (p1 : in Integer := 0; p2, p3 : in Integer := 0) return Integer is (p1 + p2 + p3); function Function_With_Default_Params (p1 : Integer; p2, p3 : in Integer := 0) return Integer is (p1 + p2 + p3); X : Integer; begin X := Function_With_All_Default_Params; --% node.f_expr.p_call_params X := Function_With_All_Default_Params(0,1,2); --% node.f_expr.p_call_params X := Function_With_All_Default_Params(2); --% node.f_expr.p_call_params X := Function_With_All_Default_Params(p1 => 0, p2 => 1, p3 => 2); --% node.f_expr.p_call_params X := Function_With_All_Default_Params(0, p2 => 1, p3 => 2); --% node.f_expr.p_call_params X := Function_With_All_Default_Params(0, p3 => 0, p2 => 2); --% node.f_expr.p_call_params X := Function_With_All_Default_Params(p2 => 0, p3 => 1); --% node.f_expr.p_call_params X := Function_With_All_Default_Params2; --% node.f_expr.p_call_params X := Function_With_All_Default_Params2(0,1,2); --% node.f_expr.p_call_params X := Function_With_All_Default_Params2(2); --% node.f_expr.p_call_params X := Function_With_All_Default_Params2(p1 => 0, p2 => 1, p3 => 2); --% node.f_expr.p_call_params X := Function_With_All_Default_Params2(0, p2 => 1, p3 => 2); --% node.f_expr.p_call_params X := Function_With_All_Default_Params2(0, p3 => 0, p2 => 2); --% node.f_expr.p_call_params X := Function_With_All_Default_Params2(p2 => 0, p3 => 1); --% node.f_expr.p_call_params X := Function_With_All_Default_Params3; --% node.f_expr.p_call_params X := Function_With_All_Default_Params3(0,1,2); --% node.f_expr.p_call_params X := Function_With_All_Default_Params3(2); --% node.f_expr.p_call_params X := Function_With_All_Default_Params3(p1 => 0, p2 => 1, p3 => 2); --% node.f_expr.p_call_params X := Function_With_All_Default_Params3(0, p2 => 1, p3 => 2); --% node.f_expr.p_call_params X := Function_With_All_Default_Params3(0, p3 => 0, p2 => 2); --% node.f_expr.p_call_params X := Function_With_All_Default_Params3(p2 => 0, p3 => 1); --% node.f_expr.p_call_params X := Function_With_All_Default_Params4; --% node.f_expr.p_call_params X := Function_With_All_Default_Params4(0,1,2); --% node.f_expr.p_call_params X := Function_With_All_Default_Params4(2); --% node.f_expr.p_call_params X := Function_With_All_Default_Params4(p1 => 0, p2 => 1, p3 => 2); --% node.f_expr.p_call_params X := Function_With_All_Default_Params4(0, p2 => 1, p3 => 2); --% node.f_expr.p_call_params X := Function_With_All_Default_Params4(0, p3 => 0, p2 => 2); --% node.f_expr.p_call_params X := Function_With_All_Default_Params4(p2 => 0, p3 => 1); --% node.f_expr.p_call_params X := Function_With_Default_Params(0, p3 => 0, p2 => 2); --% node.f_expr.p_call_params X := Function_With_Default_Params(0, p3 => 1); --% node.f_expr.p_call_params end Callp;
reznikmm/matreshka
Ada
3,967
ads
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- Web Framework -- -- -- -- Runtime Library Component -- -- -- ------------------------------------------------------------------------------ -- -- -- Copyright © 2012, Vadim Godunko <[email protected]> -- -- All rights reserved. -- -- -- -- Redistribution and use in source and binary forms, with or without -- -- modification, are permitted provided that the following conditions -- -- are met: -- -- -- -- * Redistributions of source code must retain the above copyright -- -- notice, this list of conditions and the following disclaimer. -- -- -- -- * Redistributions in binary form must reproduce the above copyright -- -- notice, this list of conditions and the following disclaimer in the -- -- documentation and/or other materials provided with the distribution. -- -- -- -- * Neither the name of the Vadim Godunko, IE nor the names of its -- -- contributors may be used to endorse or promote products derived from -- -- this software without specific prior written permission. -- -- -- -- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -- -- "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -- -- LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -- -- A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -- -- HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -- -- SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED -- -- TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -- -- PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -- -- LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -- -- NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -- -- SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -- -- -- ------------------------------------------------------------------------------ -- $Revision$ $Date$ ------------------------------------------------------------------------------ -- This package provides entry point to handle SOAP requests received from -- HTTP server. ------------------------------------------------------------------------------ with Ada.Streams; with League.Strings; with Web_Services.SOAP.Reply_Streams; package Web_Services.SOAP.Dispatcher is procedure Dispatch (Input_Data : Ada.Streams.Stream_Element_Array; SOAP_Action : League.Strings.Universal_String; Stream : Web_Services.SOAP.Reply_Streams.Reply_Stream_Access); -- Dispatch SOAP request represented as Input_Data. Use Stream to return -- SOAP replies. end Web_Services.SOAP.Dispatcher;
BrickBot/Bound-T-H8-300
Ada
4,952
ads
-- Symbols.Opt (decl) -- -- Command-line options that control the handling of symbol tables -- that connect the target-program source code and the object code. -- -- A component of the Bound-T Worst-Case Execution Time Tool. -- ------------------------------------------------------------------------------- -- Copyright (c) 1999 .. 2015 Tidorum Ltd -- 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. -- -- This software is provided by the copyright holders and contributors "as is" and -- any express or implied warranties, including, but not limited to, the implied -- warranties of merchantability and fitness for a particular purpose are -- disclaimed. In no event shall the copyright owner or contributors be liable for -- any direct, indirect, incidental, special, exemplary, or consequential damages -- (including, but not limited to, procurement of substitute goods or services; -- loss of use, data, or profits; or business interruption) however caused and -- on any theory of liability, whether in contract, strict liability, or tort -- (including negligence or otherwise) arising in any way out of the use of this -- software, even if advised of the possibility of such damage. -- -- Other modules (files) of this software composition should contain their -- own copyright statements, which may have different copyright and usage -- conditions. The above conditions apply to this file. ------------------------------------------------------------------------------- -- -- $Revision: 1.9 $ -- $Date: 2015/10/24 19:36:53 $ -- -- $Log: symbols-opt.ads,v $ -- Revision 1.9 2015/10/24 19:36:53 niklas -- Moved to free licence. -- -- Revision 1.8 2011-09-01 21:30:42 niklas -- Using File_Sets for -symbols, instread of String_Sets. -- -- Revision 1.7 2011-08-31 04:23:34 niklas -- BT-CH-0222: Option registry. Option -dump. External help files. -- -- Revision 1.6 2008/10/11 08:16:14 niklas -- BT-CH-0148: Symbols from text files and the -symbols option. -- -- Revision 1.5 2007/08/13 09:01:34 niklas -- BT-CH-0070: Tracing symbol scopes. Warn re duplicated symbol. -- -- Revision 1.4 2007/04/26 11:28:05 niklas -- BT-CH-0059. -- -- Revision 1.3 2007/02/24 09:51:52 niklas -- BT-CH-0046. -- -- Revision 1.2 2003/02/27 14:38:09 holsti -- Added option Warn_Duplicated_Symbol. -- -- Revision 1.1 2000/05/05 12:09:48 holsti -- Option -trace and Symbols.Opt added. -- with Options.Bool; with Options.File_Sets; with Options.String_Sets; package Symbols.Opt is pragma Elaborate_Body; Symbol_File_Names_Opt : aliased Options.File_Sets.Option_T; -- -- The names of the symbol files, if given. -- Symbol_File_Names : Options.String_Sets.String_Set_T renames Symbol_File_Names_Opt.Value; Trace_Opt : aliased Options.Bool.Option_T (Default => False); -- -- Whether to trace on standard output certain symbol table -- actions. The traced actions are defined in Symbols, but -- include e.g. declaration (insertion) of symbols. -- Trace : Boolean renames Trace_Opt.Value; Trace_Scopes_Opt : aliased Options.Bool.Option_T (Default => False); -- -- Whether to trace on standard output the creation of permanent -- symbol scope objects (Scope_T). The transient creation of dynamic -- scopes (Scope_Stack_T) is not traced. -- Trace_Scopes : Boolean renames Trace_Scopes_Opt.Value; Trace_Insertion_Opt : aliased Options.Bool.Option_T (Default => False); -- -- Whether to trace on standard output the detailed steps for -- insert a symbol in the symbol table (the resolution of the -- optional prefixes). -- Trace_Insertion : Boolean renames Trace_Insertion_Opt.Value; Warn_Duplicated_Symbol_Opt : aliased Options.Bool.Option_T (Default => True); -- -- Whether to emit a warning message when a multiple declarations -- of the same symbol are found in the target program. -- Warn_Duplicated_Symbol : Boolean renames Warn_Duplicated_Symbol_Opt.Value; Warn_Shallow_Line_Scope_Opt : aliased Options.Bool.Option_T ( Default => False); -- -- Whether to emit a warning message when a Line Number connection -- is defined with only one scope level. -- Warn_Shallow_Line_Scope : Boolean renames Warn_Shallow_Line_Scope_Opt.Value; Deallocate_In_Stacks : Boolean renames Symbols.Deallocate_In_Stacks; -- -- Whether to use Unchecked_Deallocation to release unused -- heap memory in Scope Stacks. end Symbols.Opt;
egustafson/sandbox
Ada
1,005
adb
with Ada.Text_IO; use Ada.Text_IO; -- with Ada.Integer_Text_IO; use Ada.Integer_Text_IO; with Ada.Finalization; use Ada.Finalization; package body Obj is Master_Serial : Integer := 1; function New_Obj( I : in Integer ) return Obj_T is Obj : Obj_T; begin Obj.X := I; return Obj; end New_Obj; procedure Put( O : Obj_T ) is begin Put("( " & Integer'Image(O.X) & "[" & Integer'Image(O.Serial) & "] )"); end Put; procedure Initialize( Object: in out Obj_T ) is begin Object.Serial := Master_Serial; Master_Serial := Master_Serial + 1; Put("Initializing: "); Put( Object ); New_Line; end Initialize; procedure Adjust( Object: in out Obj_T ) is begin Put("Adjusting: "); Put( Object ); New_Line; end Adjust; procedure Finalize( Object: in out Obj_T ) is begin Put("Finalizing: "); Put( Object ); New_Line; end Finalize; end Obj;