Mercurial > hg > CbC > CbC_gcc
comparison gcc/ada/libgnat/s-casuti.ads @ 131:84e7813d76e9
gcc-8.2
author | mir3636 |
---|---|
date | Thu, 25 Oct 2018 07:37:49 +0900 |
parents | 04ced10e8804 |
children | 1830386684a0 |
comparison
equal
deleted
inserted
replaced
111:04ced10e8804 | 131:84e7813d76e9 |
---|---|
4 -- -- | 4 -- -- |
5 -- S Y S T E M . C A S E _ U T I L -- | 5 -- S Y S T E M . C A S E _ U T I L -- |
6 -- -- | 6 -- -- |
7 -- S p e c -- | 7 -- S p e c -- |
8 -- -- | 8 -- -- |
9 -- Copyright (C) 1995-2017, Free Software Foundation, Inc. -- | 9 -- Copyright (C) 1995-2018, Free Software Foundation, Inc. -- |
10 -- -- | 10 -- -- |
11 -- GNAT is free software; you can redistribute it and/or modify it under -- | 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- -- | 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- -- | 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- -- | 14 -- sion. GNAT is distributed in the hope that it will be useful, but WITH- -- |
47 function To_Upper (A : Character) return Character; | 47 function To_Upper (A : Character) return Character; |
48 -- Converts A to upper case if it is a lower case letter, otherwise | 48 -- Converts A to upper case if it is a lower case letter, otherwise |
49 -- returns the input argument unchanged. | 49 -- returns the input argument unchanged. |
50 | 50 |
51 procedure To_Upper (A : in out String); | 51 procedure To_Upper (A : in out String); |
52 function To_Upper (A : String) return String; | |
52 -- Folds all characters of string A to upper case | 53 -- Folds all characters of string A to upper case |
53 | 54 |
54 function To_Lower (A : Character) return Character; | 55 function To_Lower (A : Character) return Character; |
55 -- Converts A to lower case if it is an upper case letter, otherwise | 56 -- Converts A to lower case if it is an upper case letter, otherwise |
56 -- returns the input argument unchanged. | 57 -- returns the input argument unchanged. |
57 | 58 |
58 procedure To_Lower (A : in out String); | 59 procedure To_Lower (A : in out String); |
60 function To_Lower (A : String) return String; | |
59 -- Folds all characters of string A to lower case | 61 -- Folds all characters of string A to lower case |
60 | 62 |
61 procedure To_Mixed (A : in out String); | 63 procedure To_Mixed (A : in out String); |
64 function To_Mixed (A : String) return String; | |
62 -- Converts A to mixed case (i.e. lower case, except for initial | 65 -- Converts A to mixed case (i.e. lower case, except for initial |
63 -- character and any character after an underscore, which are | 66 -- character and any character after an underscore, which are |
64 -- converted to upper case. | 67 -- converted to upper case. |
65 | 68 |
66 end System.Case_Util; | 69 end System.Case_Util; |