ASN1C C/C++ Common Runtime  ASN1C v7.6.x
Functions
Comparison to Standard Output Functions

Functions

OSBOOL rtCmpToStdoutBoolean (const char *name, OSBOOL value, OSBOOL compValue)
 
OSBOOL rtCmpToStdoutInteger (const char *name, OSINT32 value, OSINT32 compValue)
 
OSBOOL rtCmpToStdoutInt64 (const char *name, OSINT64 value, OSINT64 compValue)
 
OSBOOL rtCmpToStdoutUnsigned (const char *name, OSUINT32 value, OSUINT32 compValue)
 
OSBOOL rtCmpToStdoutUInt64 (const char *name, OSUINT64 value, OSUINT64 compValue)
 
OSBOOL rtCmpToStdoutBitStr (const char *name, OSSIZE numbits, const OSOCTET *data, OSSIZE compNumbits, const OSOCTET *compData)
 
OSBOOL rtCmpToStdoutOctStr (const char *name, OSSIZE numocts, const OSOCTET *data, OSSIZE compNumocts, const OSOCTET *compData)
 
OSBOOL rtCmpToStdoutCharStr (const char *name, const char *cstring, const char *compCstring)
 
OSBOOL rtCmpToStdout16BitCharStr (const char *name, Asn116BitCharString *bstring, Asn116BitCharString *compBstring)
 
OSBOOL rtCmpToStdout32BitCharStr (const char *name, Asn132BitCharString *bstring, Asn132BitCharString *compBstring)
 
OSBOOL rtCmpToStdoutReal (const char *name, OSREAL value, OSREAL compValue)
 
OSBOOL rtCmpToStdoutOID (const char *name, ASN1OBJID *pOID, ASN1OBJID *pcompOID)
 
OSBOOL rtCmpToStdoutOIDValue (const char *name, ASN1OBJID *pOID, ASN1OBJID *pcompOID)
 
OSBOOL rtCmpToStdoutOID64 (const char *name, ASN1OID64 *pOID, ASN1OID64 *pcompOID)
 
OSBOOL rtCmpToStdoutOID64Value (const char *name, ASN1OID64 *pOID, ASN1OID64 *pcompOID)
 
OSBOOL rtCmpToStdoutOpenType (const char *name, OSSIZE numocts, const OSOCTET *data, OSSIZE compNumocts, const OSOCTET *compData)
 
OSBOOL rtCmpToStdoutOpenTypeExt (const char *name, OSRTDList *pElemList, OSRTDList *pCompElemList)
 
OSBOOL rtCmpToStdoutTag (const char *name, int tag, int compTag)
 
OSBOOL rtCmpToStdoutSeqOfElements (const char *name, OSSIZE noOfElems, OSSIZE compNoOfElems)
 
OSBOOL rtCmpToStdoutOptional (const char *name, unsigned presentBit, unsigned compPresentBit)
 

Detailed Description

cmp

The rtCmpToStdout<type> functions do the same actions as the rtCmp<type> ones, but they print the comparison results to stdout instead of putting it into the buffer. The prototypes of these functions are almost the same as for the rtCmp<type> except the last two parameters - they re absent in the rtCmpToStdout<type> functions.

Function Documentation

◆ rtCmpToStdout16BitCharStr()

OSBOOL rtCmpToStdout16BitCharStr ( const char *  name,
Asn116BitCharString bstring,
Asn116BitCharString compBstring 
)
Parameters
nameThe name of value.
bstringThe first value to compare.
compBstringThe second value to compare.

◆ rtCmpToStdout32BitCharStr()

OSBOOL rtCmpToStdout32BitCharStr ( const char *  name,
Asn132BitCharString bstring,
Asn132BitCharString compBstring 
)
Parameters
nameThe name of value.
bstringThe first value to compare.
compBstringThe second value to compare.

◆ rtCmpToStdoutBitStr()

OSBOOL rtCmpToStdoutBitStr ( const char *  name,
OSSIZE  numbits,
const OSOCTET *  data,
OSSIZE  compNumbits,
const OSOCTET *  compData 
)
Parameters
nameThe name of value.
numbitsThe first value to compare.
dataThe pointer to the first value.
compNumbitsThe second value to compare.
compDataThe pointer to the second value.

◆ rtCmpToStdoutBoolean()

OSBOOL rtCmpToStdoutBoolean ( const char *  name,
OSBOOL  value,
OSBOOL  compValue 
)
Parameters
nameThe name of value.
valueThe first value to compare.
compValueThe second value to compare.

◆ rtCmpToStdoutCharStr()

OSBOOL rtCmpToStdoutCharStr ( const char *  name,
const char *  cstring,
const char *  compCstring 
)
Parameters
nameThe name of value.
cstringThe first value to compare.
compCstringThe second value to compare.

◆ rtCmpToStdoutInt64()

OSBOOL rtCmpToStdoutInt64 ( const char *  name,
OSINT64  value,
OSINT64  compValue 
)
Parameters
nameThe name of value.
valueThe first value to compare.
compValueThe second value to compare.

◆ rtCmpToStdoutInteger()

OSBOOL rtCmpToStdoutInteger ( const char *  name,
OSINT32  value,
OSINT32  compValue 
)
Parameters
nameThe name of value.
valueThe first value to compare.
compValueThe second value to compare.

◆ rtCmpToStdoutOctStr()

OSBOOL rtCmpToStdoutOctStr ( const char *  name,
OSSIZE  numocts,
const OSOCTET *  data,
OSSIZE  compNumocts,
const OSOCTET *  compData 
)
Parameters
nameThe name of value.
numoctsThe first value to compare.
dataThe pointer to the data of the first value.
compNumoctsThe second value to compare.
compDataThe pointer to the data of the second value.

◆ rtCmpToStdoutOID()

OSBOOL rtCmpToStdoutOID ( const char *  name,
ASN1OBJID pOID,
ASN1OBJID pcompOID 
)
Parameters
nameThe name of value.
pOIDThe first value to compare.
pcompOIDThe second value to compare.

◆ rtCmpToStdoutOID64()

OSBOOL rtCmpToStdoutOID64 ( const char *  name,
ASN1OID64 pOID,
ASN1OID64 pcompOID 
)
Parameters
nameThe name of value.
pOIDThe first value to compare.
pcompOIDThe second value to compare.

◆ rtCmpToStdoutOID64Value()

OSBOOL rtCmpToStdoutOID64Value ( const char *  name,
ASN1OID64 pOID,
ASN1OID64 pcompOID 
)
Parameters
nameThe name of value.
pOIDThe first value to compare.
pcompOIDThe second value to compare.

◆ rtCmpToStdoutOIDValue()

OSBOOL rtCmpToStdoutOIDValue ( const char *  name,
ASN1OBJID pOID,
ASN1OBJID pcompOID 
)
Parameters
nameThe name of value.
pOIDThe first value to compare.
pcompOIDThe second value to compare.

◆ rtCmpToStdoutOpenType()

OSBOOL rtCmpToStdoutOpenType ( const char *  name,
OSSIZE  numocts,
const OSOCTET *  data,
OSSIZE  compNumocts,
const OSOCTET *  compData 
)
Parameters
nameThe name of value.
numoctsThe number of octets in the first value to compare.
dataThe pointer to the data in the frist value to compare.
compNumoctsThe number of octets in the second value to compare.
compDataThe pointer to the data in the second value to compare.

◆ rtCmpToStdoutOpenTypeExt()

OSBOOL rtCmpToStdoutOpenTypeExt ( const char *  name,
OSRTDList pElemList,
OSRTDList pCompElemList 
)
Parameters
nameThe name of value.
pElemListThe first value to compare.
pCompElemListThe second value to compare.

◆ rtCmpToStdoutOptional()

OSBOOL rtCmpToStdoutOptional ( const char *  name,
unsigned  presentBit,
unsigned  compPresentBit 
)
Parameters
nameThe name of value.
presentBitThe first value to compare.
compPresentBitThe second value to compare.

◆ rtCmpToStdoutReal()

OSBOOL rtCmpToStdoutReal ( const char *  name,
OSREAL  value,
OSREAL  compValue 
)
Parameters
nameThe name of value.
valueThe first value to compare.
compValueThe second value to compare.

◆ rtCmpToStdoutSeqOfElements()

OSBOOL rtCmpToStdoutSeqOfElements ( const char *  name,
OSSIZE  noOfElems,
OSSIZE  compNoOfElems 
)
Parameters
nameThe name of value.
noOfElemsThe first value to compare.
compNoOfElemsThe second value to compare.

◆ rtCmpToStdoutTag()

OSBOOL rtCmpToStdoutTag ( const char *  name,
int  tag,
int  compTag 
)
Parameters
nameThe name of value.
tagThe first value to compare.
compTagThe second value to compare.

◆ rtCmpToStdoutUInt64()

OSBOOL rtCmpToStdoutUInt64 ( const char *  name,
OSUINT64  value,
OSUINT64  compValue 
)
Parameters
nameThe name of value.
valueThe first value to compare.
compValueThe second value to compare.

◆ rtCmpToStdoutUnsigned()

OSBOOL rtCmpToStdoutUnsigned ( const char *  name,
OSUINT32  value,
OSUINT32  compValue 
)
Parameters
nameThe name of value.
valueThe first value to compare.
compValueThe second value to compare.