ITS
NativeInteger.c File Reference
#include <asn_internal.h>
#include <NativeInteger.h>
Include dependency graph for NativeInteger.c:

Go to the source code of this file.

Functions

asn_dec_rval_t NativeInteger_decode_ber (asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, void **nint_ptr, const void *buf_ptr, size_t size, int tag_mode)
 
asn_enc_rval_t NativeInteger_encode_der (asn_TYPE_descriptor_t *sd, void *ptr, int tag_mode, ber_tlv_tag_t tag, asn_app_consume_bytes_f *cb, void *app_key)
 
asn_dec_rval_t NativeInteger_decode_xer (asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, void **sptr, const char *opt_mname, const void *buf_ptr, size_t size)
 
asn_enc_rval_t NativeInteger_encode_xer (asn_TYPE_descriptor_t *td, void *sptr, int ilevel, enum xer_encoder_flags_e flags, asn_app_consume_bytes_f *cb, void *app_key)
 
asn_dec_rval_t NativeInteger_decode_uper (asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, asn_per_constraints_t *constraints, void **sptr, asn_per_data_t *pd)
 
asn_enc_rval_t NativeInteger_encode_uper (asn_TYPE_descriptor_t *td, asn_per_constraints_t *constraints, void *sptr, asn_per_outp_t *po)
 
int NativeInteger_print (asn_TYPE_descriptor_t *td, const void *sptr, int ilevel, asn_app_consume_bytes_f *cb, void *app_key)
 
void NativeInteger_free (asn_TYPE_descriptor_t *td, void *ptr, int contents_only)
 

Variables

static ber_tlv_tag_t asn_DEF_NativeInteger_tags []
 
asn_TYPE_descriptor_t asn_DEF_NativeInteger
 

Function Documentation

◆ NativeInteger_decode_ber()

asn_dec_rval_t NativeInteger_decode_ber ( asn_codec_ctx_t opt_codec_ctx,
asn_TYPE_descriptor_t td,
void **  nint_ptr,
const void *  buf_ptr,
size_t  size,
int  tag_mode 
)

Definition at line 48 of file NativeInteger.c.

References ASN_DEBUG(), asn_INTEGER2long(), asn_INTEGER2ulong(), ber_check_tags(), ASN__PRIMITIVE_TYPE_s::buf, CALLOC, asn_dec_rval_s::code, asn_dec_rval_s::consumed, asn_INTEGER_specifics_s::field_unsigned, asn_TYPE_descriptor_s::name, RC_FAIL, RC_OK, RC_WMORE, ASN__PRIMITIVE_TYPE_s::size, and asn_TYPE_descriptor_s::specifics.

Here is the call graph for this function:

◆ NativeInteger_decode_uper()

asn_dec_rval_t NativeInteger_decode_uper ( asn_codec_ctx_t opt_codec_ctx,
asn_TYPE_descriptor_t td,
asn_per_constraints_t constraints,
void **  sptr,
asn_per_data_t pd 
)

Definition at line 235 of file NativeInteger.c.

References _ASN_DECODE_FAILED, ASN_DEBUG(), asn_DEF_INTEGER, asn_INTEGER2long(), asn_INTEGER2ulong(), ASN_STRUCT_FREE_CONTENTS_ONLY, CALLOC, asn_INTEGER_specifics_s::field_unsigned, INTEGER_decode_uper, asn_TYPE_descriptor_s::name, RC_FAIL, RC_OK, and asn_TYPE_descriptor_s::specifics.

Here is the call graph for this function:

◆ NativeInteger_decode_xer()

asn_dec_rval_t NativeInteger_decode_xer ( asn_codec_ctx_t opt_codec_ctx,
asn_TYPE_descriptor_t td,
void **  sptr,
const char *  opt_mname,
const void *  buf_ptr,
size_t  size 
)

Definition at line 170 of file NativeInteger.c.

References _ASN_DECODE_FAILED, asn_DEF_INTEGER, asn_INTEGER2long(), asn_INTEGER2ulong(), ASN_STRUCT_FREE_CONTENTS_ONLY, CALLOC, asn_INTEGER_specifics_s::field_unsigned, INTEGER_decode_xer, RC_FAIL, RC_OK, and asn_TYPE_descriptor_s::specifics.

Here is the call graph for this function:

◆ NativeInteger_encode_der()

asn_enc_rval_t NativeInteger_encode_der ( asn_TYPE_descriptor_t sd,
void *  ptr,
int  tag_mode,
ber_tlv_tag_t  tag,
asn_app_consume_bytes_f cb,
void *  app_key 
)

◆ NativeInteger_encode_uper()

asn_enc_rval_t NativeInteger_encode_uper ( asn_TYPE_descriptor_t td,
asn_per_constraints_t constraints,
void *  sptr,
asn_per_outp_t po 
)

Definition at line 271 of file NativeInteger.c.

References _ASN_ENCODE_FAILED, ASN_DEBUG(), asn_DEF_INTEGER, asn_long2INTEGER(), ASN_STRUCT_FREE_CONTENTS_ONLY, asn_ulong2INTEGER(), asn_INTEGER_specifics_s::field_unsigned, INTEGER_encode_uper, asn_TYPE_descriptor_s::name, and asn_TYPE_descriptor_s::specifics.

Here is the call graph for this function:

◆ NativeInteger_encode_xer()

asn_enc_rval_t NativeInteger_encode_xer ( asn_TYPE_descriptor_t td,
void *  sptr,
int  ilevel,
enum xer_encoder_flags_e  flags,
asn_app_consume_bytes_f cb,
void *  app_key 
)

◆ NativeInteger_free()

void NativeInteger_free ( asn_TYPE_descriptor_t td,
void *  ptr,
int  contents_only 
)

Definition at line 320 of file NativeInteger.c.

References ASN_DEBUG(), FREEMEM, and asn_TYPE_descriptor_s::name.

Here is the call graph for this function:

◆ NativeInteger_print()

int NativeInteger_print ( asn_TYPE_descriptor_t td,
const void *  sptr,
int  ilevel,
asn_app_consume_bytes_f cb,
void *  app_key 
)

Variable Documentation

◆ asn_DEF_NativeInteger

asn_TYPE_descriptor_t asn_DEF_NativeInteger
Initial value:
= {
"INTEGER",
"INTEGER",
0,
0,
0, 0,
0
}
static ber_tlv_tag_t asn_DEF_NativeInteger_tags[]
Definition: NativeInteger.c:19
asn_dec_rval_t NativeInteger_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, asn_per_constraints_t *constraints, void **sptr, asn_per_data_t *pd)
asn_enc_rval_t NativeInteger_encode_uper(asn_TYPE_descriptor_t *td, asn_per_constraints_t *constraints, void *sptr, asn_per_outp_t *po)
asn_dec_rval_t NativeInteger_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, void **nint_ptr, const void *buf_ptr, size_t size, int tag_mode)
Definition: NativeInteger.c:48
void NativeInteger_free(asn_TYPE_descriptor_t *td, void *ptr, int contents_only)
asn_constr_check_f asn_generic_no_constraint
Definition: constraints.h:51
asn_enc_rval_t NativeInteger_encode_der(asn_TYPE_descriptor_t *sd, void *ptr, int tag_mode, ber_tlv_tag_t tag, asn_app_consume_bytes_f *cb, void *app_key)
asn_enc_rval_t NativeInteger_encode_xer(asn_TYPE_descriptor_t *td, void *sptr, int ilevel, enum xer_encoder_flags_e flags, asn_app_consume_bytes_f *cb, void *app_key)
int NativeInteger_print(asn_TYPE_descriptor_t *td, const void *sptr, int ilevel, asn_app_consume_bytes_f *cb, void *app_key)
asn_dec_rval_t NativeInteger_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, void **sptr, const char *opt_mname, const void *buf_ptr, size_t size)

Definition at line 22 of file NativeInteger.c.

Referenced by AccelerationConfidence_1_inherit_TYPE_descriptor(), AccidentSubCauseCode_1_inherit_TYPE_descriptor(), AdverseWeatherCondition_AdhesionSubCauseCode_1_inherit_TYPE_descriptor(), AdverseWeatherCondition_ExtremeWeatherConditionSubCauseCode_1_inherit_TYPE_descriptor(), AdverseWeatherCondition_PrecipitationSubCauseCode_1_inherit_TYPE_descriptor(), AdverseWeatherCondition_VisibilitySubCauseCode_1_inherit_TYPE_descriptor(), AltitudeValue_1_inherit_TYPE_descriptor(), CauseCodeType_1_inherit_TYPE_descriptor(), CollisionRiskSubCauseCode_1_inherit_TYPE_descriptor(), CurvatureValue_1_inherit_TYPE_descriptor(), DangerousEndOfQueueSubCauseCode_1_inherit_TYPE_descriptor(), DangerousSituationSubCauseCode_1_inherit_TYPE_descriptor(), DeltaAltitude_1_inherit_TYPE_descriptor(), DeltaLatitude_1_inherit_TYPE_descriptor(), DeltaLongitude_1_inherit_TYPE_descriptor(), EccPointType_1_inherit_TYPE_descriptor(), EmergencyVehicleApproachingSubCauseCode_1_inherit_TYPE_descriptor(), GenerationDeltaTime_1_inherit_TYPE_descriptor(), HazardousLocation_AnimalOnTheRoadSubCauseCode_1_inherit_TYPE_descriptor(), HazardousLocation_DangerousCurveSubCauseCode_1_inherit_TYPE_descriptor(), HazardousLocation_ObstacleOnTheRoadSubCauseCode_1_inherit_TYPE_descriptor(), HazardousLocation_SurfaceConditionSubCauseCode_1_inherit_TYPE_descriptor(), HeaderFieldType_1_inherit_TYPE_descriptor(), HeadingConfidence_1_inherit_TYPE_descriptor(), HeadingValue_1_inherit_TYPE_descriptor(), HeightLonCarr_1_inherit_TYPE_descriptor(), HumanPresenceOnTheRoadSubCauseCode_1_inherit_TYPE_descriptor(), HumanProblemSubCauseCode_1_inherit_TYPE_descriptor(), InformationQuality_1_inherit_TYPE_descriptor(), INT15_1_inherit_TYPE_descriptor(), INT32_1_inherit_TYPE_descriptor(), IntX_1_inherit_TYPE_descriptor(), IntX_constraint(), LanePosition_1_inherit_TYPE_descriptor(), LateralAccelerationValue_1_inherit_TYPE_descriptor(), Latitude_1_inherit_TYPE_descriptor(), Longitude_1_inherit_TYPE_descriptor(), LongitudinalAccelerationValue_1_inherit_TYPE_descriptor(), NumberOfOccupants_1_inherit_TYPE_descriptor(), PathDeltaTime_1_inherit_TYPE_descriptor(), PayloadType_1_inherit_TYPE_descriptor(), PerformanceClass_1_inherit_TYPE_descriptor(), PosCentMass_1_inherit_TYPE_descriptor(), PosFrontAx_1_inherit_TYPE_descriptor(), PosLonCarr_1_inherit_TYPE_descriptor(), PosPillar_1_inherit_TYPE_descriptor(), PostCrashSubCauseCode_1_inherit_TYPE_descriptor(), ProtectedZoneID_1_inherit_TYPE_descriptor(), ProtectedZoneRadius_1_inherit_TYPE_descriptor(), PtActivationType_1_inherit_TYPE_descriptor(), PublicKeyAlgorithm_1_inherit_TYPE_descriptor(), RegionDictionary_1_inherit_TYPE_descriptor(), RegionType_1_inherit_TYPE_descriptor(), RescueAndRecoveryWorkInProgressSubCauseCode_1_inherit_TYPE_descriptor(), RoadworksSubCauseCode_1_inherit_TYPE_descriptor(), SemiAxisLength_1_inherit_TYPE_descriptor(), SequenceNumber_1_inherit_TYPE_descriptor(), SignalViolationSubCauseCode_1_inherit_TYPE_descriptor(), SignerInfoType_1_inherit_TYPE_descriptor(), SlowVehicleSubCauseCode_1_inherit_TYPE_descriptor(), SpeedConfidence_1_inherit_TYPE_descriptor(), SpeedLimit_1_inherit_TYPE_descriptor(), SpeedValue_1_inherit_TYPE_descriptor(), StationaryVehicleSubCauseCode_1_inherit_TYPE_descriptor(), StationID_1_inherit_TYPE_descriptor(), StationType_1_inherit_TYPE_descriptor(), SteeringWheelAngleConfidence_1_inherit_TYPE_descriptor(), SteeringWheelAngleValue_1_inherit_TYPE_descriptor(), SubCauseCodeType_1_inherit_TYPE_descriptor(), SubjectAttributeType_1_inherit_TYPE_descriptor(), SubjectType_1_inherit_TYPE_descriptor(), SymmetricAlgorithm_1_inherit_TYPE_descriptor(), Temperature_1_inherit_TYPE_descriptor(), TrafficConditionSubCauseCode_1_inherit_TYPE_descriptor(), TrailerFieldType_1_inherit_TYPE_descriptor(), TransmissionInterval_1_inherit_TYPE_descriptor(), TurningRadius_1_inherit_TYPE_descriptor(), UINT10_1_inherit_TYPE_descriptor(), UINT16_1_inherit_TYPE_descriptor(), UINT1_1_inherit_TYPE_descriptor(), UINT32_1_inherit_TYPE_descriptor(), UINT4_1_inherit_TYPE_descriptor(), UINT6_1_inherit_TYPE_descriptor(), UINT8_1_inherit_TYPE_descriptor(), ValidityDuration_1_inherit_TYPE_descriptor(), ValidityRestrictionType_1_inherit_TYPE_descriptor(), VehicleBreakdownSubCauseCode_1_inherit_TYPE_descriptor(), VehicleLengthValue_1_inherit_TYPE_descriptor(), VehicleMass_1_inherit_TYPE_descriptor(), VehicleWidth_1_inherit_TYPE_descriptor(), VerticalAccelerationValue_1_inherit_TYPE_descriptor(), WheelBaseVehicle_1_inherit_TYPE_descriptor(), WrongWayDrivingSubCauseCode_1_inherit_TYPE_descriptor(), and YawRateValue_1_inherit_TYPE_descriptor().

◆ asn_DEF_NativeInteger_tags

ber_tlv_tag_t asn_DEF_NativeInteger_tags[]
static
Initial value:

Definition at line 19 of file NativeInteger.c.