OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [ada/] [a-wtmoau.ads] - Blame information for rev 753

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 706 jeremybenn
------------------------------------------------------------------------------
2
--                                                                          --
3
--                         GNAT RUN-TIME COMPONENTS                         --
4
--                                                                          --
5
--         A D A . W I D E _ T E X T _ I O . M O D U L A R _ A U X          --
6
--                                                                          --
7
--                                 S p e c                                  --
8
--                                                                          --
9
--          Copyright (C) 1992-2009, Free Software Foundation, Inc.         --
10
--                                                                          --
11
-- GNAT is free software;  you can  redistribute it  and/or modify it under --
12
-- terms of the  GNU General Public License as published  by the Free Soft- --
13
-- ware  Foundation;  either version 3,  or (at your option) any later ver- --
14
-- sion.  GNAT is distributed in the hope that it will be useful, but WITH- --
15
-- OUT ANY WARRANTY;  without even the  implied warranty of MERCHANTABILITY --
16
-- or FITNESS FOR A PARTICULAR PURPOSE.                                     --
17
--                                                                          --
18
-- As a special exception under Section 7 of GPL version 3, you are granted --
19
-- additional permissions described in the GCC Runtime Library Exception,   --
20
-- version 3.1, as published by the Free Software Foundation.               --
21
--                                                                          --
22
-- You should have received a copy of the GNU General Public License and    --
23
-- a copy of the GCC Runtime Library Exception along with this program;     --
24
-- see the files COPYING3 and COPYING.RUNTIME respectively.  If not, see    --
25
-- <http://www.gnu.org/licenses/>.                                          --
26
--                                                                          --
27
-- GNAT was originally developed  by the GNAT team at  New York University. --
28
-- Extensive contributions were provided by Ada Core Technologies Inc.      --
29
--                                                                          --
30
------------------------------------------------------------------------------
31
 
32
--  This package contains the routines for Ada.Wide_Text_IO.Modular_IO that
33
--  are shared among separate instantiations of this package. The routines
34
--  in this package are identical semantically to those in Modular_IO itself,
35
--  except that the generic parameter Num has been replaced by Unsigned or
36
--  Long_Long_Unsigned, and the default parameters have been removed because
37
--  they are supplied explicitly by the calls from within the generic template.
38
 
39
with System.Unsigned_Types;
40
 
41
private package Ada.Wide_Text_IO.Modular_Aux is
42
 
43
   package U renames System.Unsigned_Types;
44
 
45
   procedure Get_Uns
46
     (File  : File_Type;
47
      Item  : out U.Unsigned;
48
      Width : Field);
49
 
50
   procedure Get_LLU
51
     (File  : File_Type;
52
      Item  : out U.Long_Long_Unsigned;
53
      Width : Field);
54
 
55
   procedure Gets_Uns
56
     (From : String;
57
      Item : out U.Unsigned;
58
      Last : out Positive);
59
 
60
   procedure Gets_LLU
61
     (From : String;
62
      Item : out U.Long_Long_Unsigned;
63
      Last : out Positive);
64
 
65
   procedure Put_Uns
66
     (File  : File_Type;
67
      Item  : U.Unsigned;
68
      Width : Field;
69
      Base  : Number_Base);
70
 
71
   procedure Put_LLU
72
     (File  : File_Type;
73
      Item  : U.Long_Long_Unsigned;
74
      Width : Field;
75
      Base  : Number_Base);
76
 
77
   procedure Puts_Uns
78
     (To   : out String;
79
      Item : U.Unsigned;
80
      Base : Number_Base);
81
 
82
   procedure Puts_LLU
83
     (To   : out String;
84
      Item : U.Long_Long_Unsigned;
85
      Base : Number_Base);
86
 
87
end Ada.Wide_Text_IO.Modular_Aux;

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.