DataMuseum.dk

Presents historical artifacts from the history of:

Rational R1000/400

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about Rational R1000/400

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - download

⟦2d1c240bc⟧ Ada Source

    Length: 8192 (0x2000)
    Types: Ada Source
    Notes: 03_class, FILE, R1k_Segment, e3_tag, package Vstring_Equal, seg_005838

Derivation

└─⟦8527c1e9b⟧ Bits:30000544 8mm tape, Rational 1000, Arrival backup of disks in PAM's R1000
    └─ ⟦cfc2e13cd⟧ »Space Info Vol 2« 
        └─⟦this⟧ 

E3 Source Code



with Arithmetic;
use Arithmetic;
with Vstring_Type;
use Vstring_Type;

package Vstring_Equal is
------------------------------------------------------------------------------
-- VString Equality Tests
------------------------------------------------------------------------------
-- Copyright 1988 - 1991 by Rational, Santa Clara, California.
--
--                  All Rights Reserved.
--
-- Permission to use, copy, modify, and distribute this software and its
-- documentation for any purpose and without fee is hereby granted,
-- provided that the above copyright notice(s) appear in all copies and that
-- both that copyright notice(s) and this permission notice appear in
-- supporting documentation, and that the name of Rational not be used in
-- advertising or publicity pertaining to distribution of the software
-- without specific, written prior permission.
--
-- Rational disclaims all warranties with regard to this software, including
-- all implied warranties of merchantability and fitness, in no event shall
-- Rational be liable for any special, 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.
------------------------------------------------------------------------------

    function Equal (Vstr1 : Vstring_Data; Vstr2 : Vstring_Data) return Boolean;
    function Equal (Vstr1 : Vstring_Data; Vstr2 : Vstring)      return Boolean;
    function Equal (Vstr1 : Vstring; Vstr2 : Vstring_Data)      return Boolean;
    function Equal (Vstr1 : Vstring; Vstr2 : Vstring)           return Boolean;
    ----Check for equality (same Vstr.Length and same Vstr.Chars(1..Vstr.Length)
    --  contents).

    function Equal (Vstr1 : Vstring_Data; Vstr2 : E_String)  return Boolean;
    function Equal (Vstr1 : Vstring_Data; Vstr2 : Character) return Boolean;
    function Equal (Vstr1  : Vstring_Data;  
                    Vstr2  : Character;  
                    Copies : S_Natural)                      return Boolean;
    function Equal (Vstr1 : Vstring; Vstr2 : E_String)       return Boolean;
    function Equal (Vstr1 : Vstring; Vstr2 : Character)      return Boolean;
    function Equal (Vstr1  : Vstring;  
                    Vstr2  : Character;  
                    Copies : S_Natural)                      return Boolean;
    ----Check for equality between a Vstring and a string/character/N-characters.

    function Uc_Equal (Vstr1 : Vstring_Data;  
                       Vstr2 : Vstring_Data)                  return Boolean;
    function Uc_Equal (Vstr1 : Vstring_Data; Vstr2 : Vstring) return Boolean;
    function Uc_Equal (Vstr1 : Vstring; Vstr2 : Vstring_Data) return Boolean;
    function Uc_Equal (Vstr1 : Vstring; Vstr2 : Vstring)      return Boolean;
    ----Check for equality (same Vstr.Length and same Vstr.Chars(1..Vstr.Length)
    --  contents).

    function Uc_Equal (Vstr1 : Vstring_Data; Vstr2 : E_String)  return Boolean;
    function Uc_Equal (Vstr1 : Vstring_Data; Vstr2 : Character) return Boolean;
    function Uc_Equal (Vstr1  : Vstring_Data;  
                       Vstr2  : Character;  
                       Copies : S_Natural)                      return Boolean;
    function Uc_Equal (Vstr1 : Vstring; Vstr2 : E_String)       return Boolean;
    function Uc_Equal (Vstr1 : Vstring; Vstr2 : Character)      return Boolean;
    function Uc_Equal (Vstr1  : Vstring;  
                       Vstr2  : Character;  
                       Copies : S_Natural)                      return Boolean;
    ----Check for equality between a Vstring and a string/character/N-characters.

    function Equal_Prefix    (Vstr1 : Vstring_Data;  
                              Vstr2 : E_String) return Boolean;
    function Equal_Prefix    (Vstr1 : Vstring;  
                              Vstr2 : E_String) return Boolean;
    function Uc_Equal_Prefix (Vstr1 : Vstring_Data;  
                              Vstr2 : E_String) return Boolean;
    function Uc_Equal_Prefix (Vstr1 : Vstring;  
                              Vstr2 : E_String) return Boolean;
    ----Check for equality between the first N characters of Vstr1 with the
    --  full length of Vstr2.  N = Vstr2.Length.

end Vstring_Equal;

E3 Meta Data

    nblk1=7
    nid=0
    hdr6=e
        [0x00] rec0=18 rec1=00 rec2=01 rec3=028
        [0x01] rec0=0f rec1=00 rec2=02 rec3=066
        [0x02] rec0=00 rec1=00 rec2=07 rec3=02a
        [0x03] rec0=10 rec1=00 rec2=03 rec3=07a
        [0x04] rec0=03 rec1=00 rec2=06 rec3=03a
        [0x05] rec0=10 rec1=00 rec2=04 rec3=04e
        [0x06] rec0=08 rec1=00 rec2=05 rec3=000
    tail 0x21700ab4081978f03a36b 0x42a00088462063203