|
|
DataMuseum.dkPresents historical artifacts from the history of: Rational R1000/400 |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about Rational R1000/400 Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - download
Length: 11264 (0x2c00)
Types: Ada Source
Notes: 03_class, FILE, R1k_Segment, e3_tag, package Vstring_Assign, seg_005832
└─⟦8527c1e9b⟧ Bits:30000544 8mm tape, Rational 1000, Arrival backup of disks in PAM's R1000
└─⟦cfc2e13cd⟧ »Space Info Vol 2«
└─⟦this⟧
with Arithmetic;
use Arithmetic;
with Vstring_Type;
use Vstring_Type;
package Vstring_Assign is
------------------------------------------------------------------------------
-- VString Assignment and Concatenation operations.
------------------------------------------------------------------------------
-- 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.
------------------------------------------------------------------------------
procedure Assign (Vstr1 : in out Vstring_Data; Vstr2 : Vstring_Data);
procedure Assign (Vstr1 : in out Vstring_Data; Vstr2 : Vstring);
procedure Assign (Vstr1 : in out Vstring_Data; Vstr2 : E_String);
procedure Assign (Vstr1 : in out Vstring_Data; Vstr2 : Character);
procedure Assign (Vstr1 : in out Vstring_Data;
Vstr2 : Character;
Copies : S_Natural);
procedure Assign (Vstr1 : Vstring; Vstr2 : Vstring_Data);
procedure Assign (Vstr1 : Vstring; Vstr2 : Vstring);
procedure Assign (Vstr1 : Vstring; Vstr2 : E_String);
procedure Assign (Vstr1 : Vstring; Vstr2 : Character);
procedure Assign (Vstr1 : Vstring;
Vstr2 : Character;
Copies : S_Natural);
procedure Assign_Resize (Vstr1 : in out Vstring;
Vstr2 : E_String;
Resize_Amount : S_Positive := 256);
procedure Assign_Resize (Vstr1 : in out Vstring;
Vstr2 : Vstring_Data;
Resize_Amount : S_Positive := 256);
procedure Assign_Resize (Vstr1 : in out Vstring;
Vstr2 : Vstring;
Resize_Amount : S_Positive := 256);
----Assign a string, a character, or a sequence of N identical characters
-- to a Vstring. If the source's length is greater than the destination's
-- Maximum_Length then the copy will be truncated on the end.
-- A := B;
procedure Assign_New (Vstr1 : out Vstring; Vstr2 : Vstring_Data);
procedure Assign_New (Vstr1 : out Vstring; Vstr2 : Vstring);
procedure Assign_New (Vstr1 : out Vstring; Vstr2 : E_String);
procedure Assign_New (Vstr1 : out Vstring; Vstr2 : Character);
procedure Assign_New (Vstr1 : out Vstring;
Vstr2 : Character;
Copies : S_Natural);
----Assign a string, a character, or a sequence of N identical characters
-- to a newly allocated Vstring of exactly the right size. The
-- Destination will be allocated to have a Maximum_Length = Length(Source).
procedure Append (Vstr1 : in out Vstring_Data; Vstr2 : Vstring_Data);
procedure Append (Vstr1 : in out Vstring_Data; Vstr2 : Vstring);
procedure Append (Vstr1 : in out Vstring_Data; Vstr2 : E_String);
procedure Append (Vstr1 : in out Vstring_Data; Vstr2 : Character);
procedure Append (Vstr1 : in out Vstring_Data;
Vstr2 : Character;
Copies : S_Natural);
procedure Append (Vstr1 : Vstring; Vstr2 : Vstring_Data);
procedure Append (Vstr1 : Vstring; Vstr2 : Vstring);
procedure Append (Vstr1 : Vstring; Vstr2 : E_String);
procedure Append (Vstr1 : Vstring; Vstr2 : Character);
procedure Append (Vstr1 : Vstring;
Vstr2 : Character;
Copies : S_Natural);
----Append a string, a character, or a sequence of N identical characters
-- onto the end of a Vstring. If the source's length is greater than the
-- destination's Length_Left then the new data will be truncated on the
-- end.
-- A := A & B;
procedure Append_Resize (Vstr1 : in out Vstring;
Vstr2 : E_String;
Resize_Amount : S_Positive := 256);
procedure Append_Resize (Vstr1 : in out Vstring;
Vstr2 : Character;
Resize_Amount : S_Positive := 256);
procedure Append_Resize (Vstr1 : in out Vstring;
Vstr2 : Character;
Copies : S_Natural;
Resize_Amount : S_Positive := 256);
procedure Append_Resize (Vstr1 : in out Vstring;
Vstr2 : Vstring_Data;
Resize_Amount : S_Positive := 256);
procedure Append_Resize (Vstr1 : in out Vstring;
Vstr2 : Vstring;
Resize_Amount : S_Positive := 256);
----Just line Append except that Vstr1 is resized upwards if necessary to
-- hold all of Vstr1&Vstr2.
procedure Prepend (Vstr1 : in out Vstring_Data; Vstr2 : Vstring_Data);
procedure Prepend (Vstr1 : in out Vstring_Data; Vstr2 : Vstring);
procedure Prepend (Vstr1 : in out Vstring_Data; Vstr2 : E_String);
procedure Prepend (Vstr1 : in out Vstring_Data; Vstr2 : Character);
procedure Prepend (Vstr1 : in out Vstring_Data;
Vstr2 : Character;
Copies : S_Natural);
procedure Prepend (Vstr1 : Vstring; Vstr2 : Vstring_Data);
procedure Prepend (Vstr1 : Vstring; Vstr2 : Vstring);
procedure Prepend (Vstr1 : Vstring; Vstr2 : E_String);
procedure Prepend (Vstr1 : Vstring; Vstr2 : Character);
procedure Prepend (Vstr1 : Vstring;
Vstr2 : Character;
Copies : S_Natural);
----Prepend a string, a character, or a sequence of N identical characters
-- onto the start of a Vstring. If the source's length is greater than the
-- destination's Maximum_Length then this is equivalent to an assignment.
-- If the source's length plus the destination's original length is
-- greater than the destination's Maximum_Length then the result will
-- contain the source's data plus a truncated portion from the start of
-- the destination's original data.
-- A := B & A;
end Vstring_Assign;
nblk1=a
nid=0
hdr6=14
[0x00] rec0=17 rec1=00 rec2=01 rec3=090
[0x01] rec0=0f rec1=00 rec2=02 rec3=048
[0x02] rec0=01 rec1=00 rec2=0a rec3=038
[0x03] rec0=0f rec1=00 rec2=03 rec3=09a
[0x04] rec0=01 rec1=00 rec2=09 rec3=042
[0x05] rec0=11 rec1=00 rec2=04 rec3=076
[0x06] rec0=13 rec1=00 rec2=05 rec3=05c
[0x07] rec0=0f rec1=00 rec2=06 rec3=03e
[0x08] rec0=12 rec1=00 rec2=07 rec3=006
[0x09] rec0=09 rec1=00 rec2=08 rec3=000
tail 0x21700ab3481978ee92e18 0x42a00088462063203