2 /*** <<< INCLUDES [UnconstrainedREAL] >>> ***/
4 #include <NativeReal.h>
6 /*** <<< TYPE-DECLS [UnconstrainedREAL] >>> ***/
8 typedef double UnconstrainedREAL_t;
10 /*** <<< FUNC-DECLS [UnconstrainedREAL] >>> ***/
12 extern asn_TYPE_descriptor_t asn_DEF_UnconstrainedREAL;
13 asn_struct_free_f UnconstrainedREAL_free;
14 asn_struct_print_f UnconstrainedREAL_print;
15 asn_constr_check_f UnconstrainedREAL_constraint;
16 ber_type_decoder_f UnconstrainedREAL_decode_ber;
17 der_type_encoder_f UnconstrainedREAL_encode_der;
18 xer_type_decoder_f UnconstrainedREAL_decode_xer;
19 xer_type_encoder_f UnconstrainedREAL_encode_xer;
20 per_type_decoder_f UnconstrainedREAL_decode_uper;
21 per_type_encoder_f UnconstrainedREAL_encode_uper;
22 per_type_decoder_f UnconstrainedREAL_decode_aper;
23 per_type_encoder_f UnconstrainedREAL_encode_aper;
25 /*** <<< CODE [UnconstrainedREAL] >>> ***/
28 * This type is implemented using NativeReal,
29 * so here we adjust the DEF accordingly.
32 /*** <<< STAT-DEFS [UnconstrainedREAL] >>> ***/
34 static const ber_tlv_tag_t asn_DEF_UnconstrainedREAL_tags_1[] = {
35 (ASN_TAG_CLASS_UNIVERSAL | (9 << 2))
37 asn_TYPE_descriptor_t asn_DEF_UnconstrainedREAL = {
41 asn_DEF_UnconstrainedREAL_tags_1,
42 sizeof(asn_DEF_UnconstrainedREAL_tags_1)
43 /sizeof(asn_DEF_UnconstrainedREAL_tags_1[0]), /* 1 */
44 asn_DEF_UnconstrainedREAL_tags_1, /* Same as above */
45 sizeof(asn_DEF_UnconstrainedREAL_tags_1)
46 /sizeof(asn_DEF_UnconstrainedREAL_tags_1[0]), /* 1 */
47 { 0, 0, NativeReal_constraint },
48 0, 0, /* No members */
53 /*** <<< INCLUDES [WeirdlyConstrainedREAL] >>> ***/
55 #include <NativeReal.h>
57 /*** <<< TYPE-DECLS [WeirdlyConstrainedREAL] >>> ***/
59 typedef double WeirdlyConstrainedREAL_t;
61 /*** <<< FUNC-DECLS [WeirdlyConstrainedREAL] >>> ***/
63 extern asn_TYPE_descriptor_t asn_DEF_WeirdlyConstrainedREAL;
64 asn_struct_free_f WeirdlyConstrainedREAL_free;
65 asn_struct_print_f WeirdlyConstrainedREAL_print;
66 asn_constr_check_f WeirdlyConstrainedREAL_constraint;
67 ber_type_decoder_f WeirdlyConstrainedREAL_decode_ber;
68 der_type_encoder_f WeirdlyConstrainedREAL_encode_der;
69 xer_type_decoder_f WeirdlyConstrainedREAL_decode_xer;
70 xer_type_encoder_f WeirdlyConstrainedREAL_encode_xer;
71 per_type_decoder_f WeirdlyConstrainedREAL_decode_uper;
72 per_type_encoder_f WeirdlyConstrainedREAL_encode_uper;
73 per_type_decoder_f WeirdlyConstrainedREAL_decode_aper;
74 per_type_encoder_f WeirdlyConstrainedREAL_encode_aper;
76 /*** <<< CODE [WeirdlyConstrainedREAL] >>> ***/
79 WeirdlyConstrainedREAL_constraint(const asn_TYPE_descriptor_t *td, const void *sptr,
80 asn_app_constraint_failed_f *ctfailcb, void *app_key) {
84 ASN__CTFAIL(app_key, td, sptr,
85 "%s: value not given (%s:%d)",
86 td->name, __FILE__, __LINE__);
90 value = *(const double *)sptr;
93 /* Constraint check succeeded */
96 ASN__CTFAIL(app_key, td, sptr,
97 "%s: constraint failed (%s:%d)",
98 td->name, __FILE__, __LINE__);
104 * This type is implemented using NativeReal,
105 * so here we adjust the DEF accordingly.
108 /*** <<< CTDEFS [WeirdlyConstrainedREAL] >>> ***/
110 static asn_per_constraints_t asn_PER_type_WeirdlyConstrainedREAL_constr_1 CC_NOTUSED = {
111 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
112 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
113 0, 0 /* No PER value map */
116 /*** <<< STAT-DEFS [WeirdlyConstrainedREAL] >>> ***/
118 static const ber_tlv_tag_t asn_DEF_WeirdlyConstrainedREAL_tags_1[] = {
119 (ASN_TAG_CLASS_UNIVERSAL | (9 << 2))
121 asn_TYPE_descriptor_t asn_DEF_WeirdlyConstrainedREAL = {
122 "WeirdlyConstrainedREAL",
123 "WeirdlyConstrainedREAL",
125 asn_DEF_WeirdlyConstrainedREAL_tags_1,
126 sizeof(asn_DEF_WeirdlyConstrainedREAL_tags_1)
127 /sizeof(asn_DEF_WeirdlyConstrainedREAL_tags_1[0]), /* 1 */
128 asn_DEF_WeirdlyConstrainedREAL_tags_1, /* Same as above */
129 sizeof(asn_DEF_WeirdlyConstrainedREAL_tags_1)
130 /sizeof(asn_DEF_WeirdlyConstrainedREAL_tags_1[0]), /* 1 */
131 { 0, &asn_PER_type_WeirdlyConstrainedREAL_constr_1, WeirdlyConstrainedREAL_constraint },
132 0, 0, /* No members */
137 /*** <<< INCLUDES [Indirect-IEEE-binary32] >>> ***/
139 #include "UnconstrainedREAL.h"
141 /*** <<< TYPE-DECLS [Indirect-IEEE-binary32] >>> ***/
143 typedef UnconstrainedREAL_t Indirect_IEEE_binary32_t;
145 /*** <<< FUNC-DECLS [Indirect-IEEE-binary32] >>> ***/
147 extern asn_per_constraints_t asn_PER_type_Indirect_IEEE_binary32_constr_1;
148 extern asn_TYPE_descriptor_t asn_DEF_Indirect_IEEE_binary32;
149 extern const asn_NativeReal_specifics_t asn_SPC_Indirect_IEEE_binary32_specs_1;
150 asn_struct_free_f Indirect_IEEE_binary32_free;
151 asn_struct_print_f Indirect_IEEE_binary32_print;
152 asn_constr_check_f Indirect_IEEE_binary32_constraint;
153 ber_type_decoder_f Indirect_IEEE_binary32_decode_ber;
154 der_type_encoder_f Indirect_IEEE_binary32_encode_der;
155 xer_type_decoder_f Indirect_IEEE_binary32_decode_xer;
156 xer_type_encoder_f Indirect_IEEE_binary32_encode_xer;
157 per_type_decoder_f Indirect_IEEE_binary32_decode_uper;
158 per_type_encoder_f Indirect_IEEE_binary32_encode_uper;
159 per_type_decoder_f Indirect_IEEE_binary32_decode_aper;
160 per_type_encoder_f Indirect_IEEE_binary32_encode_aper;
162 /*** <<< CODE [Indirect-IEEE-binary32] >>> ***/
165 Indirect_IEEE_binary32_constraint(const asn_TYPE_descriptor_t *td, const void *sptr,
166 asn_app_constraint_failed_f *ctfailcb, void *app_key) {
169 ASN__CTFAIL(app_key, td, sptr,
170 "%s: value not given (%s:%d)",
171 td->name, __FILE__, __LINE__);
176 if(1 /* No applicable constraints whatsoever */) {
177 /* Nothing is here. See below */
180 return td->encoding_constraints.general_constraints(td, sptr, ctfailcb, app_key);
184 * This type is implemented using UnconstrainedREAL,
185 * so here we adjust the DEF accordingly.
188 /*** <<< CTDEFS [Indirect-IEEE-binary32] >>> ***/
190 asn_per_constraints_t asn_PER_type_Indirect_IEEE_binary32_constr_1 CC_NOTUSED = {
191 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
192 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
193 0, 0 /* No PER value map */
196 /*** <<< STAT-DEFS [Indirect-IEEE-binary32] >>> ***/
198 const asn_NativeReal_specifics_t asn_SPC_Indirect_IEEE_binary32_specs_1 = {
199 4 /* Use 'float' type. */
201 static const ber_tlv_tag_t asn_DEF_Indirect_IEEE_binary32_tags_1[] = {
202 (ASN_TAG_CLASS_UNIVERSAL | (9 << 2))
204 asn_TYPE_descriptor_t asn_DEF_Indirect_IEEE_binary32 = {
205 "Indirect-IEEE-binary32",
206 "Indirect-IEEE-binary32",
208 asn_DEF_Indirect_IEEE_binary32_tags_1,
209 sizeof(asn_DEF_Indirect_IEEE_binary32_tags_1)
210 /sizeof(asn_DEF_Indirect_IEEE_binary32_tags_1[0]), /* 1 */
211 asn_DEF_Indirect_IEEE_binary32_tags_1, /* Same as above */
212 sizeof(asn_DEF_Indirect_IEEE_binary32_tags_1)
213 /sizeof(asn_DEF_Indirect_IEEE_binary32_tags_1[0]), /* 1 */
214 { 0, &asn_PER_type_Indirect_IEEE_binary32_constr_1, Indirect_IEEE_binary32_constraint },
215 0, 0, /* No members */
216 &asn_SPC_Indirect_IEEE_binary32_specs_1 /* Additional specs */
220 /*** <<< INCLUDES [IEEE-binary32-w] >>> ***/
222 #include <NativeReal.h>
224 /*** <<< TYPE-DECLS [IEEE-binary32-w] >>> ***/
226 typedef float IEEE_binary32_w_t;
228 /*** <<< FUNC-DECLS [IEEE-binary32-w] >>> ***/
230 extern asn_per_constraints_t asn_PER_type_IEEE_binary32_w_constr_1;
231 extern asn_TYPE_descriptor_t asn_DEF_IEEE_binary32_w;
232 extern const asn_NativeReal_specifics_t asn_SPC_IEEE_binary32_w_specs_1;
233 asn_struct_free_f IEEE_binary32_w_free;
234 asn_struct_print_f IEEE_binary32_w_print;
235 asn_constr_check_f IEEE_binary32_w_constraint;
236 ber_type_decoder_f IEEE_binary32_w_decode_ber;
237 der_type_encoder_f IEEE_binary32_w_encode_der;
238 xer_type_decoder_f IEEE_binary32_w_decode_xer;
239 xer_type_encoder_f IEEE_binary32_w_encode_xer;
240 per_type_decoder_f IEEE_binary32_w_decode_uper;
241 per_type_encoder_f IEEE_binary32_w_encode_uper;
242 per_type_decoder_f IEEE_binary32_w_decode_aper;
243 per_type_encoder_f IEEE_binary32_w_encode_aper;
245 /*** <<< CODE [IEEE-binary32-w] >>> ***/
248 IEEE_binary32_w_constraint(const asn_TYPE_descriptor_t *td, const void *sptr,
249 asn_app_constraint_failed_f *ctfailcb, void *app_key) {
252 ASN__CTFAIL(app_key, td, sptr,
253 "%s: value not given (%s:%d)",
254 td->name, __FILE__, __LINE__);
259 if(1 /* No applicable constraints whatsoever */) {
260 /* Nothing is here. See below */
263 return td->encoding_constraints.general_constraints(td, sptr, ctfailcb, app_key);
267 * This type is implemented using NativeReal,
268 * so here we adjust the DEF accordingly.
271 /*** <<< CTDEFS [IEEE-binary32-w] >>> ***/
273 asn_per_constraints_t asn_PER_type_IEEE_binary32_w_constr_1 CC_NOTUSED = {
274 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
275 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
276 0, 0 /* No PER value map */
279 /*** <<< STAT-DEFS [IEEE-binary32-w] >>> ***/
281 const asn_NativeReal_specifics_t asn_SPC_IEEE_binary32_w_specs_1 = {
282 4 /* Use 'float' type. */
284 static const ber_tlv_tag_t asn_DEF_IEEE_binary32_w_tags_1[] = {
285 (ASN_TAG_CLASS_UNIVERSAL | (9 << 2))
287 asn_TYPE_descriptor_t asn_DEF_IEEE_binary32_w = {
291 asn_DEF_IEEE_binary32_w_tags_1,
292 sizeof(asn_DEF_IEEE_binary32_w_tags_1)
293 /sizeof(asn_DEF_IEEE_binary32_w_tags_1[0]), /* 1 */
294 asn_DEF_IEEE_binary32_w_tags_1, /* Same as above */
295 sizeof(asn_DEF_IEEE_binary32_w_tags_1)
296 /sizeof(asn_DEF_IEEE_binary32_w_tags_1[0]), /* 1 */
297 { 0, &asn_PER_type_IEEE_binary32_w_constr_1, IEEE_binary32_w_constraint },
298 0, 0, /* No members */
299 &asn_SPC_IEEE_binary32_w_specs_1 /* Additional specs */
303 /*** <<< INCLUDES [IEEE-binary32-0w] >>> ***/
305 #include <NativeReal.h>
307 /*** <<< TYPE-DECLS [IEEE-binary32-0w] >>> ***/
309 typedef float IEEE_binary32_0w_t;
311 /*** <<< FUNC-DECLS [IEEE-binary32-0w] >>> ***/
313 extern asn_per_constraints_t asn_PER_type_IEEE_binary32_0w_constr_1;
314 extern asn_TYPE_descriptor_t asn_DEF_IEEE_binary32_0w;
315 extern const asn_NativeReal_specifics_t asn_SPC_IEEE_binary32_0w_specs_1;
316 asn_struct_free_f IEEE_binary32_0w_free;
317 asn_struct_print_f IEEE_binary32_0w_print;
318 asn_constr_check_f IEEE_binary32_0w_constraint;
319 ber_type_decoder_f IEEE_binary32_0w_decode_ber;
320 der_type_encoder_f IEEE_binary32_0w_encode_der;
321 xer_type_decoder_f IEEE_binary32_0w_decode_xer;
322 xer_type_encoder_f IEEE_binary32_0w_encode_xer;
323 per_type_decoder_f IEEE_binary32_0w_decode_uper;
324 per_type_encoder_f IEEE_binary32_0w_encode_uper;
325 per_type_decoder_f IEEE_binary32_0w_decode_aper;
326 per_type_encoder_f IEEE_binary32_0w_encode_aper;
328 /*** <<< CODE [IEEE-binary32-0w] >>> ***/
331 IEEE_binary32_0w_constraint(const asn_TYPE_descriptor_t *td, const void *sptr,
332 asn_app_constraint_failed_f *ctfailcb, void *app_key) {
335 ASN__CTFAIL(app_key, td, sptr,
336 "%s: value not given (%s:%d)",
337 td->name, __FILE__, __LINE__);
342 if(1 /* No applicable constraints whatsoever */) {
343 /* Nothing is here. See below */
346 return td->encoding_constraints.general_constraints(td, sptr, ctfailcb, app_key);
350 * This type is implemented using NativeReal,
351 * so here we adjust the DEF accordingly.
354 /*** <<< CTDEFS [IEEE-binary32-0w] >>> ***/
356 asn_per_constraints_t asn_PER_type_IEEE_binary32_0w_constr_1 CC_NOTUSED = {
357 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
358 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
359 0, 0 /* No PER value map */
362 /*** <<< STAT-DEFS [IEEE-binary32-0w] >>> ***/
364 const asn_NativeReal_specifics_t asn_SPC_IEEE_binary32_0w_specs_1 = {
365 4 /* Use 'float' type. */
367 static const ber_tlv_tag_t asn_DEF_IEEE_binary32_0w_tags_1[] = {
368 (ASN_TAG_CLASS_UNIVERSAL | (9 << 2))
370 asn_TYPE_descriptor_t asn_DEF_IEEE_binary32_0w = {
374 asn_DEF_IEEE_binary32_0w_tags_1,
375 sizeof(asn_DEF_IEEE_binary32_0w_tags_1)
376 /sizeof(asn_DEF_IEEE_binary32_0w_tags_1[0]), /* 1 */
377 asn_DEF_IEEE_binary32_0w_tags_1, /* Same as above */
378 sizeof(asn_DEF_IEEE_binary32_0w_tags_1)
379 /sizeof(asn_DEF_IEEE_binary32_0w_tags_1[0]), /* 1 */
380 { 0, &asn_PER_type_IEEE_binary32_0w_constr_1, IEEE_binary32_0w_constraint },
381 0, 0, /* No members */
382 &asn_SPC_IEEE_binary32_0w_specs_1 /* Additional specs */
386 /*** <<< INCLUDES [IEEE-binary32-w0] >>> ***/
388 #include <NativeReal.h>
390 /*** <<< TYPE-DECLS [IEEE-binary32-w0] >>> ***/
392 typedef float IEEE_binary32_w0_t;
394 /*** <<< FUNC-DECLS [IEEE-binary32-w0] >>> ***/
396 extern asn_per_constraints_t asn_PER_type_IEEE_binary32_w0_constr_1;
397 extern asn_TYPE_descriptor_t asn_DEF_IEEE_binary32_w0;
398 extern const asn_NativeReal_specifics_t asn_SPC_IEEE_binary32_w0_specs_1;
399 asn_struct_free_f IEEE_binary32_w0_free;
400 asn_struct_print_f IEEE_binary32_w0_print;
401 asn_constr_check_f IEEE_binary32_w0_constraint;
402 ber_type_decoder_f IEEE_binary32_w0_decode_ber;
403 der_type_encoder_f IEEE_binary32_w0_encode_der;
404 xer_type_decoder_f IEEE_binary32_w0_decode_xer;
405 xer_type_encoder_f IEEE_binary32_w0_encode_xer;
406 per_type_decoder_f IEEE_binary32_w0_decode_uper;
407 per_type_encoder_f IEEE_binary32_w0_encode_uper;
408 per_type_decoder_f IEEE_binary32_w0_decode_aper;
409 per_type_encoder_f IEEE_binary32_w0_encode_aper;
411 /*** <<< CODE [IEEE-binary32-w0] >>> ***/
414 IEEE_binary32_w0_constraint(const asn_TYPE_descriptor_t *td, const void *sptr,
415 asn_app_constraint_failed_f *ctfailcb, void *app_key) {
418 ASN__CTFAIL(app_key, td, sptr,
419 "%s: value not given (%s:%d)",
420 td->name, __FILE__, __LINE__);
425 if(1 /* No applicable constraints whatsoever */) {
426 /* Nothing is here. See below */
429 return td->encoding_constraints.general_constraints(td, sptr, ctfailcb, app_key);
433 * This type is implemented using NativeReal,
434 * so here we adjust the DEF accordingly.
437 /*** <<< CTDEFS [IEEE-binary32-w0] >>> ***/
439 asn_per_constraints_t asn_PER_type_IEEE_binary32_w0_constr_1 CC_NOTUSED = {
440 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
441 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
442 0, 0 /* No PER value map */
445 /*** <<< STAT-DEFS [IEEE-binary32-w0] >>> ***/
447 const asn_NativeReal_specifics_t asn_SPC_IEEE_binary32_w0_specs_1 = {
448 4 /* Use 'float' type. */
450 static const ber_tlv_tag_t asn_DEF_IEEE_binary32_w0_tags_1[] = {
451 (ASN_TAG_CLASS_UNIVERSAL | (9 << 2))
453 asn_TYPE_descriptor_t asn_DEF_IEEE_binary32_w0 = {
457 asn_DEF_IEEE_binary32_w0_tags_1,
458 sizeof(asn_DEF_IEEE_binary32_w0_tags_1)
459 /sizeof(asn_DEF_IEEE_binary32_w0_tags_1[0]), /* 1 */
460 asn_DEF_IEEE_binary32_w0_tags_1, /* Same as above */
461 sizeof(asn_DEF_IEEE_binary32_w0_tags_1)
462 /sizeof(asn_DEF_IEEE_binary32_w0_tags_1[0]), /* 1 */
463 { 0, &asn_PER_type_IEEE_binary32_w0_constr_1, IEEE_binary32_w0_constraint },
464 0, 0, /* No members */
465 &asn_SPC_IEEE_binary32_w0_specs_1 /* Additional specs */
469 /*** <<< INCLUDES [IEEE-binary64-w] >>> ***/
471 #include <NativeReal.h>
473 /*** <<< TYPE-DECLS [IEEE-binary64-w] >>> ***/
475 typedef double IEEE_binary64_w_t;
477 /*** <<< FUNC-DECLS [IEEE-binary64-w] >>> ***/
479 extern asn_per_constraints_t asn_PER_type_IEEE_binary64_w_constr_1;
480 extern asn_TYPE_descriptor_t asn_DEF_IEEE_binary64_w;
481 asn_struct_free_f IEEE_binary64_w_free;
482 asn_struct_print_f IEEE_binary64_w_print;
483 asn_constr_check_f IEEE_binary64_w_constraint;
484 ber_type_decoder_f IEEE_binary64_w_decode_ber;
485 der_type_encoder_f IEEE_binary64_w_encode_der;
486 xer_type_decoder_f IEEE_binary64_w_decode_xer;
487 xer_type_encoder_f IEEE_binary64_w_encode_xer;
488 per_type_decoder_f IEEE_binary64_w_decode_uper;
489 per_type_encoder_f IEEE_binary64_w_encode_uper;
490 per_type_decoder_f IEEE_binary64_w_decode_aper;
491 per_type_encoder_f IEEE_binary64_w_encode_aper;
493 /*** <<< CODE [IEEE-binary64-w] >>> ***/
496 IEEE_binary64_w_constraint(const asn_TYPE_descriptor_t *td, const void *sptr,
497 asn_app_constraint_failed_f *ctfailcb, void *app_key) {
500 ASN__CTFAIL(app_key, td, sptr,
501 "%s: value not given (%s:%d)",
502 td->name, __FILE__, __LINE__);
507 if(1 /* No applicable constraints whatsoever */) {
508 /* Nothing is here. See below */
511 return td->encoding_constraints.general_constraints(td, sptr, ctfailcb, app_key);
515 * This type is implemented using NativeReal,
516 * so here we adjust the DEF accordingly.
519 /*** <<< CTDEFS [IEEE-binary64-w] >>> ***/
521 asn_per_constraints_t asn_PER_type_IEEE_binary64_w_constr_1 CC_NOTUSED = {
522 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
523 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
524 0, 0 /* No PER value map */
527 /*** <<< STAT-DEFS [IEEE-binary64-w] >>> ***/
529 static const ber_tlv_tag_t asn_DEF_IEEE_binary64_w_tags_1[] = {
530 (ASN_TAG_CLASS_UNIVERSAL | (9 << 2))
532 asn_TYPE_descriptor_t asn_DEF_IEEE_binary64_w = {
536 asn_DEF_IEEE_binary64_w_tags_1,
537 sizeof(asn_DEF_IEEE_binary64_w_tags_1)
538 /sizeof(asn_DEF_IEEE_binary64_w_tags_1[0]), /* 1 */
539 asn_DEF_IEEE_binary64_w_tags_1, /* Same as above */
540 sizeof(asn_DEF_IEEE_binary64_w_tags_1)
541 /sizeof(asn_DEF_IEEE_binary64_w_tags_1[0]), /* 1 */
542 { 0, &asn_PER_type_IEEE_binary64_w_constr_1, IEEE_binary64_w_constraint },
543 0, 0, /* No members */
548 /*** <<< INCLUDES [IEEE-binary64-0w] >>> ***/
550 #include <NativeReal.h>
552 /*** <<< TYPE-DECLS [IEEE-binary64-0w] >>> ***/
554 typedef double IEEE_binary64_0w_t;
556 /*** <<< FUNC-DECLS [IEEE-binary64-0w] >>> ***/
558 extern asn_per_constraints_t asn_PER_type_IEEE_binary64_0w_constr_1;
559 extern asn_TYPE_descriptor_t asn_DEF_IEEE_binary64_0w;
560 asn_struct_free_f IEEE_binary64_0w_free;
561 asn_struct_print_f IEEE_binary64_0w_print;
562 asn_constr_check_f IEEE_binary64_0w_constraint;
563 ber_type_decoder_f IEEE_binary64_0w_decode_ber;
564 der_type_encoder_f IEEE_binary64_0w_encode_der;
565 xer_type_decoder_f IEEE_binary64_0w_decode_xer;
566 xer_type_encoder_f IEEE_binary64_0w_encode_xer;
567 per_type_decoder_f IEEE_binary64_0w_decode_uper;
568 per_type_encoder_f IEEE_binary64_0w_encode_uper;
569 per_type_decoder_f IEEE_binary64_0w_decode_aper;
570 per_type_encoder_f IEEE_binary64_0w_encode_aper;
572 /*** <<< CODE [IEEE-binary64-0w] >>> ***/
575 IEEE_binary64_0w_constraint(const asn_TYPE_descriptor_t *td, const void *sptr,
576 asn_app_constraint_failed_f *ctfailcb, void *app_key) {
579 ASN__CTFAIL(app_key, td, sptr,
580 "%s: value not given (%s:%d)",
581 td->name, __FILE__, __LINE__);
586 if(1 /* No applicable constraints whatsoever */) {
587 /* Nothing is here. See below */
590 return td->encoding_constraints.general_constraints(td, sptr, ctfailcb, app_key);
594 * This type is implemented using NativeReal,
595 * so here we adjust the DEF accordingly.
598 /*** <<< CTDEFS [IEEE-binary64-0w] >>> ***/
600 asn_per_constraints_t asn_PER_type_IEEE_binary64_0w_constr_1 CC_NOTUSED = {
601 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
602 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
603 0, 0 /* No PER value map */
606 /*** <<< STAT-DEFS [IEEE-binary64-0w] >>> ***/
608 static const ber_tlv_tag_t asn_DEF_IEEE_binary64_0w_tags_1[] = {
609 (ASN_TAG_CLASS_UNIVERSAL | (9 << 2))
611 asn_TYPE_descriptor_t asn_DEF_IEEE_binary64_0w = {
615 asn_DEF_IEEE_binary64_0w_tags_1,
616 sizeof(asn_DEF_IEEE_binary64_0w_tags_1)
617 /sizeof(asn_DEF_IEEE_binary64_0w_tags_1[0]), /* 1 */
618 asn_DEF_IEEE_binary64_0w_tags_1, /* Same as above */
619 sizeof(asn_DEF_IEEE_binary64_0w_tags_1)
620 /sizeof(asn_DEF_IEEE_binary64_0w_tags_1[0]), /* 1 */
621 { 0, &asn_PER_type_IEEE_binary64_0w_constr_1, IEEE_binary64_0w_constraint },
622 0, 0, /* No members */
627 /*** <<< INCLUDES [IEEE-binary64-w0] >>> ***/
629 #include <NativeReal.h>
631 /*** <<< TYPE-DECLS [IEEE-binary64-w0] >>> ***/
633 typedef double IEEE_binary64_w0_t;
635 /*** <<< FUNC-DECLS [IEEE-binary64-w0] >>> ***/
637 extern asn_per_constraints_t asn_PER_type_IEEE_binary64_w0_constr_1;
638 extern asn_TYPE_descriptor_t asn_DEF_IEEE_binary64_w0;
639 asn_struct_free_f IEEE_binary64_w0_free;
640 asn_struct_print_f IEEE_binary64_w0_print;
641 asn_constr_check_f IEEE_binary64_w0_constraint;
642 ber_type_decoder_f IEEE_binary64_w0_decode_ber;
643 der_type_encoder_f IEEE_binary64_w0_encode_der;
644 xer_type_decoder_f IEEE_binary64_w0_decode_xer;
645 xer_type_encoder_f IEEE_binary64_w0_encode_xer;
646 per_type_decoder_f IEEE_binary64_w0_decode_uper;
647 per_type_encoder_f IEEE_binary64_w0_encode_uper;
648 per_type_decoder_f IEEE_binary64_w0_decode_aper;
649 per_type_encoder_f IEEE_binary64_w0_encode_aper;
651 /*** <<< CODE [IEEE-binary64-w0] >>> ***/
654 IEEE_binary64_w0_constraint(const asn_TYPE_descriptor_t *td, const void *sptr,
655 asn_app_constraint_failed_f *ctfailcb, void *app_key) {
658 ASN__CTFAIL(app_key, td, sptr,
659 "%s: value not given (%s:%d)",
660 td->name, __FILE__, __LINE__);
665 if(1 /* No applicable constraints whatsoever */) {
666 /* Nothing is here. See below */
669 return td->encoding_constraints.general_constraints(td, sptr, ctfailcb, app_key);
673 * This type is implemented using NativeReal,
674 * so here we adjust the DEF accordingly.
677 /*** <<< CTDEFS [IEEE-binary64-w0] >>> ***/
679 asn_per_constraints_t asn_PER_type_IEEE_binary64_w0_constr_1 CC_NOTUSED = {
680 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
681 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
682 0, 0 /* No PER value map */
685 /*** <<< STAT-DEFS [IEEE-binary64-w0] >>> ***/
687 static const ber_tlv_tag_t asn_DEF_IEEE_binary64_w0_tags_1[] = {
688 (ASN_TAG_CLASS_UNIVERSAL | (9 << 2))
690 asn_TYPE_descriptor_t asn_DEF_IEEE_binary64_w0 = {
694 asn_DEF_IEEE_binary64_w0_tags_1,
695 sizeof(asn_DEF_IEEE_binary64_w0_tags_1)
696 /sizeof(asn_DEF_IEEE_binary64_w0_tags_1[0]), /* 1 */
697 asn_DEF_IEEE_binary64_w0_tags_1, /* Same as above */
698 sizeof(asn_DEF_IEEE_binary64_w0_tags_1)
699 /sizeof(asn_DEF_IEEE_binary64_w0_tags_1[0]), /* 1 */
700 { 0, &asn_PER_type_IEEE_binary64_w0_constr_1, IEEE_binary64_w0_constraint },
701 0, 0, /* No members */
706 /*** <<< INCLUDES [Test] >>> ***/
708 #include "Indirect-IEEE-binary32.h"
709 #include "IEEE-binary32-w.h"
710 #include "IEEE-binary32-0w.h"
711 #include "IEEE-binary32-w0.h"
712 #include "IEEE-binary64-w.h"
713 #include "IEEE-binary64-0w.h"
714 #include "IEEE-binary64-w0.h"
715 #include <constr_SEQUENCE.h>
717 /*** <<< TYPE-DECLS [Test] >>> ***/
719 typedef struct Test {
720 Indirect_IEEE_binary32_t indirect_ieee_binary32;
721 IEEE_binary32_w_t ieee_binary32_w;
722 IEEE_binary32_0w_t ieee_binary32_0w;
723 IEEE_binary32_w0_t ieee_binary32_w0;
724 IEEE_binary64_w_t ieee_binary64_w;
725 IEEE_binary64_0w_t ieee_binary64_0w;
726 IEEE_binary64_w0_t ieee_binary64_w0;
728 /* Context for parsing across buffer boundaries */
729 asn_struct_ctx_t _asn_ctx;
732 /*** <<< FUNC-DECLS [Test] >>> ***/
734 /* extern asn_TYPE_descriptor_t asn_DEF_indirect_ieee_binary32_2; // (Use -fall-defs-global to expose) */
735 /* extern asn_TYPE_descriptor_t asn_DEF_ieee_binary32_w_3; // (Use -fall-defs-global to expose) */
736 /* extern asn_TYPE_descriptor_t asn_DEF_ieee_binary32_0w_4; // (Use -fall-defs-global to expose) */
737 /* extern asn_TYPE_descriptor_t asn_DEF_ieee_binary32_w0_5; // (Use -fall-defs-global to expose) */
738 extern asn_TYPE_descriptor_t asn_DEF_Test;
740 /*** <<< CODE [Test] >>> ***/
743 indirect_ieee_binary32_2_constraint(const asn_TYPE_descriptor_t *td, const void *sptr,
744 asn_app_constraint_failed_f *ctfailcb, void *app_key) {
747 ASN__CTFAIL(app_key, td, sptr,
748 "%s: value not given (%s:%d)",
749 td->name, __FILE__, __LINE__);
754 if(1 /* No applicable constraints whatsoever */) {
755 /* Nothing is here. See below */
758 return td->encoding_constraints.general_constraints(td, sptr, ctfailcb, app_key);
762 * This type is implemented using Indirect_IEEE_binary32,
763 * so here we adjust the DEF accordingly.
766 ieee_binary32_w_3_constraint(const asn_TYPE_descriptor_t *td, const void *sptr,
767 asn_app_constraint_failed_f *ctfailcb, void *app_key) {
770 ASN__CTFAIL(app_key, td, sptr,
771 "%s: value not given (%s:%d)",
772 td->name, __FILE__, __LINE__);
777 if(1 /* No applicable constraints whatsoever */) {
778 /* Nothing is here. See below */
781 return td->encoding_constraints.general_constraints(td, sptr, ctfailcb, app_key);
785 * This type is implemented using IEEE_binary32_w,
786 * so here we adjust the DEF accordingly.
789 ieee_binary32_0w_4_constraint(const asn_TYPE_descriptor_t *td, const void *sptr,
790 asn_app_constraint_failed_f *ctfailcb, void *app_key) {
793 ASN__CTFAIL(app_key, td, sptr,
794 "%s: value not given (%s:%d)",
795 td->name, __FILE__, __LINE__);
800 if(1 /* No applicable constraints whatsoever */) {
801 /* Nothing is here. See below */
804 return td->encoding_constraints.general_constraints(td, sptr, ctfailcb, app_key);
808 * This type is implemented using IEEE_binary32_0w,
809 * so here we adjust the DEF accordingly.
812 ieee_binary32_w0_5_constraint(const asn_TYPE_descriptor_t *td, const void *sptr,
813 asn_app_constraint_failed_f *ctfailcb, void *app_key) {
816 ASN__CTFAIL(app_key, td, sptr,
817 "%s: value not given (%s:%d)",
818 td->name, __FILE__, __LINE__);
823 if(1 /* No applicable constraints whatsoever */) {
824 /* Nothing is here. See below */
827 return td->encoding_constraints.general_constraints(td, sptr, ctfailcb, app_key);
831 * This type is implemented using IEEE_binary32_w0,
832 * so here we adjust the DEF accordingly.
835 /*** <<< CTDEFS [Test] >>> ***/
837 static asn_per_constraints_t asn_PER_type_indirect_ieee_binary32_constr_2 CC_NOTUSED = {
838 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
839 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
840 0, 0 /* No PER value map */
842 static asn_per_constraints_t asn_PER_type_ieee_binary32_w_constr_3 CC_NOTUSED = {
843 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
844 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
845 0, 0 /* No PER value map */
847 static asn_per_constraints_t asn_PER_type_ieee_binary32_0w_constr_4 CC_NOTUSED = {
848 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
849 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
850 0, 0 /* No PER value map */
852 static asn_per_constraints_t asn_PER_type_ieee_binary32_w0_constr_5 CC_NOTUSED = {
853 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
854 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
855 0, 0 /* No PER value map */
858 /*** <<< STAT-DEFS [Test] >>> ***/
860 static const asn_NativeReal_specifics_t asn_SPC_indirect_ieee_binary32_specs_2 = {
861 4 /* Use 'float' type. */
863 static const ber_tlv_tag_t asn_DEF_indirect_ieee_binary32_tags_2[] = {
864 (ASN_TAG_CLASS_UNIVERSAL | (9 << 2))
866 static /* Use -fall-defs-global to expose */
867 asn_TYPE_descriptor_t asn_DEF_indirect_ieee_binary32_2 = {
868 "indirect-ieee-binary32",
869 "indirect-ieee-binary32",
871 asn_DEF_indirect_ieee_binary32_tags_2,
872 sizeof(asn_DEF_indirect_ieee_binary32_tags_2)
873 /sizeof(asn_DEF_indirect_ieee_binary32_tags_2[0]), /* 1 */
874 asn_DEF_indirect_ieee_binary32_tags_2, /* Same as above */
875 sizeof(asn_DEF_indirect_ieee_binary32_tags_2)
876 /sizeof(asn_DEF_indirect_ieee_binary32_tags_2[0]), /* 1 */
877 { 0, &asn_PER_type_indirect_ieee_binary32_constr_2, indirect_ieee_binary32_2_constraint },
878 0, 0, /* No members */
879 &asn_SPC_indirect_ieee_binary32_specs_2 /* Additional specs */
882 static const asn_NativeReal_specifics_t asn_SPC_ieee_binary32_w_specs_3 = {
883 4 /* Use 'float' type. */
885 static const ber_tlv_tag_t asn_DEF_ieee_binary32_w_tags_3[] = {
886 (ASN_TAG_CLASS_UNIVERSAL | (9 << 2))
888 static /* Use -fall-defs-global to expose */
889 asn_TYPE_descriptor_t asn_DEF_ieee_binary32_w_3 = {
893 asn_DEF_ieee_binary32_w_tags_3,
894 sizeof(asn_DEF_ieee_binary32_w_tags_3)
895 /sizeof(asn_DEF_ieee_binary32_w_tags_3[0]), /* 1 */
896 asn_DEF_ieee_binary32_w_tags_3, /* Same as above */
897 sizeof(asn_DEF_ieee_binary32_w_tags_3)
898 /sizeof(asn_DEF_ieee_binary32_w_tags_3[0]), /* 1 */
899 { 0, &asn_PER_type_ieee_binary32_w_constr_3, ieee_binary32_w_3_constraint },
900 0, 0, /* No members */
901 &asn_SPC_ieee_binary32_w_specs_3 /* Additional specs */
904 static const asn_NativeReal_specifics_t asn_SPC_ieee_binary32_0w_specs_4 = {
905 4 /* Use 'float' type. */
907 static const ber_tlv_tag_t asn_DEF_ieee_binary32_0w_tags_4[] = {
908 (ASN_TAG_CLASS_UNIVERSAL | (9 << 2))
910 static /* Use -fall-defs-global to expose */
911 asn_TYPE_descriptor_t asn_DEF_ieee_binary32_0w_4 = {
915 asn_DEF_ieee_binary32_0w_tags_4,
916 sizeof(asn_DEF_ieee_binary32_0w_tags_4)
917 /sizeof(asn_DEF_ieee_binary32_0w_tags_4[0]), /* 1 */
918 asn_DEF_ieee_binary32_0w_tags_4, /* Same as above */
919 sizeof(asn_DEF_ieee_binary32_0w_tags_4)
920 /sizeof(asn_DEF_ieee_binary32_0w_tags_4[0]), /* 1 */
921 { 0, &asn_PER_type_ieee_binary32_0w_constr_4, ieee_binary32_0w_4_constraint },
922 0, 0, /* No members */
923 &asn_SPC_ieee_binary32_0w_specs_4 /* Additional specs */
926 static const asn_NativeReal_specifics_t asn_SPC_ieee_binary32_w0_specs_5 = {
927 4 /* Use 'float' type. */
929 static const ber_tlv_tag_t asn_DEF_ieee_binary32_w0_tags_5[] = {
930 (ASN_TAG_CLASS_UNIVERSAL | (9 << 2))
932 static /* Use -fall-defs-global to expose */
933 asn_TYPE_descriptor_t asn_DEF_ieee_binary32_w0_5 = {
937 asn_DEF_ieee_binary32_w0_tags_5,
938 sizeof(asn_DEF_ieee_binary32_w0_tags_5)
939 /sizeof(asn_DEF_ieee_binary32_w0_tags_5[0]), /* 1 */
940 asn_DEF_ieee_binary32_w0_tags_5, /* Same as above */
941 sizeof(asn_DEF_ieee_binary32_w0_tags_5)
942 /sizeof(asn_DEF_ieee_binary32_w0_tags_5[0]), /* 1 */
943 { 0, &asn_PER_type_ieee_binary32_w0_constr_5, ieee_binary32_w0_5_constraint },
944 0, 0, /* No members */
945 &asn_SPC_ieee_binary32_w0_specs_5 /* Additional specs */
948 static asn_TYPE_member_t asn_MBR_Test_1[] = {
949 { ATF_NOFLAGS, 0, offsetof(struct Test, indirect_ieee_binary32),
950 .tag = (ASN_TAG_CLASS_UNIVERSAL | (9 << 2)),
952 .type = &asn_DEF_Indirect_IEEE_binary32,
954 { .oer_constraints = 0, .per_constraints = 0, .general_constraints = 0 },
955 0, 0, /* No default value */
956 .name = "indirect-ieee-binary32"
958 { ATF_NOFLAGS, 0, offsetof(struct Test, ieee_binary32_w),
959 .tag = (ASN_TAG_CLASS_UNIVERSAL | (9 << 2)),
961 .type = &asn_DEF_IEEE_binary32_w,
963 { .oer_constraints = 0, .per_constraints = 0, .general_constraints = 0 },
964 0, 0, /* No default value */
965 .name = "ieee-binary32-w"
967 { ATF_NOFLAGS, 0, offsetof(struct Test, ieee_binary32_0w),
968 .tag = (ASN_TAG_CLASS_UNIVERSAL | (9 << 2)),
970 .type = &asn_DEF_IEEE_binary32_0w,
972 { .oer_constraints = 0, .per_constraints = 0, .general_constraints = 0 },
973 0, 0, /* No default value */
974 .name = "ieee-binary32-0w"
976 { ATF_NOFLAGS, 0, offsetof(struct Test, ieee_binary32_w0),
977 .tag = (ASN_TAG_CLASS_UNIVERSAL | (9 << 2)),
979 .type = &asn_DEF_IEEE_binary32_w0,
981 { .oer_constraints = 0, .per_constraints = 0, .general_constraints = 0 },
982 0, 0, /* No default value */
983 .name = "ieee-binary32-w0"
985 { ATF_NOFLAGS, 0, offsetof(struct Test, ieee_binary64_w),
986 .tag = (ASN_TAG_CLASS_UNIVERSAL | (9 << 2)),
988 .type = &asn_DEF_IEEE_binary64_w,
990 { .oer_constraints = 0, .per_constraints = 0, .general_constraints = 0 },
991 0, 0, /* No default value */
992 .name = "ieee-binary64-w"
994 { ATF_NOFLAGS, 0, offsetof(struct Test, ieee_binary64_0w),
995 .tag = (ASN_TAG_CLASS_UNIVERSAL | (9 << 2)),
997 .type = &asn_DEF_IEEE_binary64_0w,
999 { .oer_constraints = 0, .per_constraints = 0, .general_constraints = 0 },
1000 0, 0, /* No default value */
1001 .name = "ieee-binary64-0w"
1003 { ATF_NOFLAGS, 0, offsetof(struct Test, ieee_binary64_w0),
1004 .tag = (ASN_TAG_CLASS_UNIVERSAL | (9 << 2)),
1006 .type = &asn_DEF_IEEE_binary64_w0,
1008 { .oer_constraints = 0, .per_constraints = 0, .general_constraints = 0 },
1009 0, 0, /* No default value */
1010 .name = "ieee-binary64-w0"
1013 static const ber_tlv_tag_t asn_DEF_Test_tags_1[] = {
1014 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
1016 static const asn_TYPE_tag2member_t asn_MAP_Test_tag2el_1[] = {
1017 { (ASN_TAG_CLASS_UNIVERSAL | (9 << 2)), 0, 0, 6 }, /* indirect-ieee-binary32 */
1018 { (ASN_TAG_CLASS_UNIVERSAL | (9 << 2)), 1, -1, 5 }, /* ieee-binary32-w */
1019 { (ASN_TAG_CLASS_UNIVERSAL | (9 << 2)), 2, -2, 4 }, /* ieee-binary32-0w */
1020 { (ASN_TAG_CLASS_UNIVERSAL | (9 << 2)), 3, -3, 3 }, /* ieee-binary32-w0 */
1021 { (ASN_TAG_CLASS_UNIVERSAL | (9 << 2)), 4, -4, 2 }, /* ieee-binary64-w */
1022 { (ASN_TAG_CLASS_UNIVERSAL | (9 << 2)), 5, -5, 1 }, /* ieee-binary64-0w */
1023 { (ASN_TAG_CLASS_UNIVERSAL | (9 << 2)), 6, -6, 0 } /* ieee-binary64-w0 */
1025 static asn_SEQUENCE_specifics_t asn_SPC_Test_specs_1 = {
1026 sizeof(struct Test),
1027 offsetof(struct Test, _asn_ctx),
1028 .tag2el = asn_MAP_Test_tag2el_1,
1029 .tag2el_count = 7, /* Count of tags in the map */
1030 0, 0, 0, /* Optional elements (not needed) */
1031 -1, /* First extension addition */
1033 asn_TYPE_descriptor_t asn_DEF_Test = {
1037 asn_DEF_Test_tags_1,
1038 sizeof(asn_DEF_Test_tags_1)
1039 /sizeof(asn_DEF_Test_tags_1[0]), /* 1 */
1040 asn_DEF_Test_tags_1, /* Same as above */
1041 sizeof(asn_DEF_Test_tags_1)
1042 /sizeof(asn_DEF_Test_tags_1[0]), /* 1 */
1043 { 0, 0, SEQUENCE_constraint },
1045 7, /* Elements count */
1046 &asn_SPC_Test_specs_1 /* Additional specs */