blob: 71cb428aad5e0bedcd539301aec4905ec1c080fa [file] [log] [blame]
Lev Walkin026e21a2017-10-04 00:49:01 -07001
2/*** <<< INCLUDES [UnconstrainedREAL] >>> ***/
3
4#include <NativeReal.h>
5
6/*** <<< TYPE-DECLS [UnconstrainedREAL] >>> ***/
7
8typedef double UnconstrainedREAL_t;
9
10/*** <<< FUNC-DECLS [UnconstrainedREAL] >>> ***/
11
12extern asn_TYPE_descriptor_t asn_DEF_UnconstrainedREAL;
13asn_struct_free_f UnconstrainedREAL_free;
14asn_struct_print_f UnconstrainedREAL_print;
15asn_constr_check_f UnconstrainedREAL_constraint;
16ber_type_decoder_f UnconstrainedREAL_decode_ber;
17der_type_encoder_f UnconstrainedREAL_encode_der;
18xer_type_decoder_f UnconstrainedREAL_decode_xer;
19xer_type_encoder_f UnconstrainedREAL_encode_xer;
20oer_type_decoder_f UnconstrainedREAL_decode_oer;
21oer_type_encoder_f UnconstrainedREAL_encode_oer;
22
23/*** <<< CODE [UnconstrainedREAL] >>> ***/
24
25/*
26 * This type is implemented using NativeReal,
27 * so here we adjust the DEF accordingly.
28 */
29
30/*** <<< STAT-DEFS [UnconstrainedREAL] >>> ***/
31
32static const ber_tlv_tag_t asn_DEF_UnconstrainedREAL_tags_1[] = {
33 (ASN_TAG_CLASS_UNIVERSAL | (9 << 2))
34};
35asn_TYPE_descriptor_t asn_DEF_UnconstrainedREAL = {
36 "UnconstrainedREAL",
37 "UnconstrainedREAL",
38 &asn_OP_NativeReal,
39 asn_DEF_UnconstrainedREAL_tags_1,
40 sizeof(asn_DEF_UnconstrainedREAL_tags_1)
41 /sizeof(asn_DEF_UnconstrainedREAL_tags_1[0]), /* 1 */
42 asn_DEF_UnconstrainedREAL_tags_1, /* Same as above */
43 sizeof(asn_DEF_UnconstrainedREAL_tags_1)
44 /sizeof(asn_DEF_UnconstrainedREAL_tags_1[0]), /* 1 */
45 { 0, 0, NativeReal_constraint },
46 0, 0, /* No members */
47 0 /* No specifics */
48};
49
50
51/*** <<< INCLUDES [WeirdlyConstrainedREAL] >>> ***/
52
53#include <NativeReal.h>
54
55/*** <<< TYPE-DECLS [WeirdlyConstrainedREAL] >>> ***/
56
57typedef double WeirdlyConstrainedREAL_t;
58
59/*** <<< FUNC-DECLS [WeirdlyConstrainedREAL] >>> ***/
60
61extern asn_TYPE_descriptor_t asn_DEF_WeirdlyConstrainedREAL;
62asn_struct_free_f WeirdlyConstrainedREAL_free;
63asn_struct_print_f WeirdlyConstrainedREAL_print;
64asn_constr_check_f WeirdlyConstrainedREAL_constraint;
65ber_type_decoder_f WeirdlyConstrainedREAL_decode_ber;
66der_type_encoder_f WeirdlyConstrainedREAL_encode_der;
67xer_type_decoder_f WeirdlyConstrainedREAL_decode_xer;
68xer_type_encoder_f WeirdlyConstrainedREAL_encode_xer;
69oer_type_decoder_f WeirdlyConstrainedREAL_decode_oer;
70oer_type_encoder_f WeirdlyConstrainedREAL_encode_oer;
71
72/*** <<< CODE [WeirdlyConstrainedREAL] >>> ***/
73
74int
Lev Walkin20696a42017-10-17 21:27:33 -070075WeirdlyConstrainedREAL_constraint(const asn_TYPE_descriptor_t *td, const void *sptr,
Lev Walkin026e21a2017-10-04 00:49:01 -070076 asn_app_constraint_failed_f *ctfailcb, void *app_key) {
77 double value;
78
79 if(!sptr) {
80 ASN__CTFAIL(app_key, td, sptr,
81 "%s: value not given (%s:%d)",
82 td->name, __FILE__, __LINE__);
83 return -1;
84 }
85
86 value = *(const double *)sptr;
87
88 if((value == 3)) {
89 /* Constraint check succeeded */
90 return 0;
91 } else {
92 ASN__CTFAIL(app_key, td, sptr,
93 "%s: constraint failed (%s:%d)",
94 td->name, __FILE__, __LINE__);
95 return -1;
96 }
97}
98
99/*
100 * This type is implemented using NativeReal,
101 * so here we adjust the DEF accordingly.
102 */
103
104/*** <<< CTDEFS [WeirdlyConstrainedREAL] >>> ***/
105
106static asn_oer_constraints_t asn_OER_type_WeirdlyConstrainedREAL_constr_1 CC_NOTUSED = {
107 { 0, 0 },
108 -1};
109
110/*** <<< STAT-DEFS [WeirdlyConstrainedREAL] >>> ***/
111
112static const ber_tlv_tag_t asn_DEF_WeirdlyConstrainedREAL_tags_1[] = {
113 (ASN_TAG_CLASS_UNIVERSAL | (9 << 2))
114};
115asn_TYPE_descriptor_t asn_DEF_WeirdlyConstrainedREAL = {
116 "WeirdlyConstrainedREAL",
117 "WeirdlyConstrainedREAL",
118 &asn_OP_NativeReal,
119 asn_DEF_WeirdlyConstrainedREAL_tags_1,
120 sizeof(asn_DEF_WeirdlyConstrainedREAL_tags_1)
121 /sizeof(asn_DEF_WeirdlyConstrainedREAL_tags_1[0]), /* 1 */
122 asn_DEF_WeirdlyConstrainedREAL_tags_1, /* Same as above */
123 sizeof(asn_DEF_WeirdlyConstrainedREAL_tags_1)
124 /sizeof(asn_DEF_WeirdlyConstrainedREAL_tags_1[0]), /* 1 */
125 { &asn_OER_type_WeirdlyConstrainedREAL_constr_1, 0, WeirdlyConstrainedREAL_constraint },
126 0, 0, /* No members */
127 0 /* No specifics */
128};
129
130
Lev Walkinb5450702017-10-04 02:52:57 -0700131/*** <<< INCLUDES [Indirect-IEEE-binary32] >>> ***/
132
133#include "UnconstrainedREAL.h"
134
135/*** <<< TYPE-DECLS [Indirect-IEEE-binary32] >>> ***/
136
137typedef UnconstrainedREAL_t Indirect_IEEE_binary32_t;
138
139/*** <<< FUNC-DECLS [Indirect-IEEE-binary32] >>> ***/
140
141extern asn_TYPE_descriptor_t asn_DEF_Indirect_IEEE_binary32;
142extern const asn_NativeReal_specifics_t asn_SPC_Indirect_IEEE_binary32_specs_1;
143asn_struct_free_f Indirect_IEEE_binary32_free;
144asn_struct_print_f Indirect_IEEE_binary32_print;
145asn_constr_check_f Indirect_IEEE_binary32_constraint;
146ber_type_decoder_f Indirect_IEEE_binary32_decode_ber;
147der_type_encoder_f Indirect_IEEE_binary32_encode_der;
148xer_type_decoder_f Indirect_IEEE_binary32_decode_xer;
149xer_type_encoder_f Indirect_IEEE_binary32_encode_xer;
150oer_type_decoder_f Indirect_IEEE_binary32_decode_oer;
151oer_type_encoder_f Indirect_IEEE_binary32_encode_oer;
152
153/*** <<< CODE [Indirect-IEEE-binary32] >>> ***/
154
155int
Lev Walkin20696a42017-10-17 21:27:33 -0700156Indirect_IEEE_binary32_constraint(const asn_TYPE_descriptor_t *td, const void *sptr,
Lev Walkinb5450702017-10-04 02:52:57 -0700157 asn_app_constraint_failed_f *ctfailcb, void *app_key) {
158
159 if(!sptr) {
160 ASN__CTFAIL(app_key, td, sptr,
161 "%s: value not given (%s:%d)",
162 td->name, __FILE__, __LINE__);
163 return -1;
164 }
165
166
167 if(1 /* No applicable constraints whatsoever */) {
168 /* Nothing is here. See below */
169 }
170
171 return td->encoding_constraints.general_constraints(td, sptr, ctfailcb, app_key);
172}
173
174/*
175 * This type is implemented using UnconstrainedREAL,
176 * so here we adjust the DEF accordingly.
177 */
178
179/*** <<< CTDEFS [Indirect-IEEE-binary32] >>> ***/
180
181static asn_oer_constraints_t asn_OER_type_Indirect_IEEE_binary32_constr_1 CC_NOTUSED = {
Lev Walkinafcc8912017-10-04 23:48:35 -0700182 { sizeof(float), 0 },
Lev Walkinb5450702017-10-04 02:52:57 -0700183 -1};
184
185/*** <<< STAT-DEFS [Indirect-IEEE-binary32] >>> ***/
186
187const asn_NativeReal_specifics_t asn_SPC_Indirect_IEEE_binary32_specs_1 = {
188 4 /* Use 'float' type. */
189};
190static const ber_tlv_tag_t asn_DEF_Indirect_IEEE_binary32_tags_1[] = {
191 (ASN_TAG_CLASS_UNIVERSAL | (9 << 2))
192};
193asn_TYPE_descriptor_t asn_DEF_Indirect_IEEE_binary32 = {
194 "Indirect-IEEE-binary32",
195 "Indirect-IEEE-binary32",
196 &asn_OP_NativeReal,
197 asn_DEF_Indirect_IEEE_binary32_tags_1,
198 sizeof(asn_DEF_Indirect_IEEE_binary32_tags_1)
199 /sizeof(asn_DEF_Indirect_IEEE_binary32_tags_1[0]), /* 1 */
200 asn_DEF_Indirect_IEEE_binary32_tags_1, /* Same as above */
201 sizeof(asn_DEF_Indirect_IEEE_binary32_tags_1)
202 /sizeof(asn_DEF_Indirect_IEEE_binary32_tags_1[0]), /* 1 */
203 { &asn_OER_type_Indirect_IEEE_binary32_constr_1, 0, Indirect_IEEE_binary32_constraint },
204 0, 0, /* No members */
205 &asn_SPC_Indirect_IEEE_binary32_specs_1 /* Additional specs */
206};
207
208
Lev Walkin026e21a2017-10-04 00:49:01 -0700209/*** <<< INCLUDES [IEEE-binary32-w] >>> ***/
210
211#include <NativeReal.h>
212
213/*** <<< TYPE-DECLS [IEEE-binary32-w] >>> ***/
214
Lev Walkinb5450702017-10-04 02:52:57 -0700215typedef float IEEE_binary32_w_t;
Lev Walkin026e21a2017-10-04 00:49:01 -0700216
217/*** <<< FUNC-DECLS [IEEE-binary32-w] >>> ***/
218
219extern asn_TYPE_descriptor_t asn_DEF_IEEE_binary32_w;
Lev Walkinb5450702017-10-04 02:52:57 -0700220extern const asn_NativeReal_specifics_t asn_SPC_IEEE_binary32_w_specs_1;
Lev Walkin026e21a2017-10-04 00:49:01 -0700221asn_struct_free_f IEEE_binary32_w_free;
222asn_struct_print_f IEEE_binary32_w_print;
223asn_constr_check_f IEEE_binary32_w_constraint;
224ber_type_decoder_f IEEE_binary32_w_decode_ber;
225der_type_encoder_f IEEE_binary32_w_encode_der;
226xer_type_decoder_f IEEE_binary32_w_decode_xer;
227xer_type_encoder_f IEEE_binary32_w_encode_xer;
228oer_type_decoder_f IEEE_binary32_w_decode_oer;
229oer_type_encoder_f IEEE_binary32_w_encode_oer;
230
231/*** <<< CODE [IEEE-binary32-w] >>> ***/
232
233int
Lev Walkin20696a42017-10-17 21:27:33 -0700234IEEE_binary32_w_constraint(const asn_TYPE_descriptor_t *td, const void *sptr,
Lev Walkin026e21a2017-10-04 00:49:01 -0700235 asn_app_constraint_failed_f *ctfailcb, void *app_key) {
236
237 if(!sptr) {
238 ASN__CTFAIL(app_key, td, sptr,
239 "%s: value not given (%s:%d)",
240 td->name, __FILE__, __LINE__);
241 return -1;
242 }
243
244
245 if(1 /* No applicable constraints whatsoever */) {
246 /* Nothing is here. See below */
247 }
248
249 return td->encoding_constraints.general_constraints(td, sptr, ctfailcb, app_key);
250}
251
252/*
253 * This type is implemented using NativeReal,
254 * so here we adjust the DEF accordingly.
255 */
256
257/*** <<< CTDEFS [IEEE-binary32-w] >>> ***/
258
259static asn_oer_constraints_t asn_OER_type_IEEE_binary32_w_constr_1 CC_NOTUSED = {
Lev Walkinafcc8912017-10-04 23:48:35 -0700260 { sizeof(float), 0 },
Lev Walkin026e21a2017-10-04 00:49:01 -0700261 -1};
262
263/*** <<< STAT-DEFS [IEEE-binary32-w] >>> ***/
264
Lev Walkinb5450702017-10-04 02:52:57 -0700265const asn_NativeReal_specifics_t asn_SPC_IEEE_binary32_w_specs_1 = {
266 4 /* Use 'float' type. */
267};
Lev Walkin026e21a2017-10-04 00:49:01 -0700268static const ber_tlv_tag_t asn_DEF_IEEE_binary32_w_tags_1[] = {
269 (ASN_TAG_CLASS_UNIVERSAL | (9 << 2))
270};
271asn_TYPE_descriptor_t asn_DEF_IEEE_binary32_w = {
272 "IEEE-binary32-w",
273 "IEEE-binary32-w",
274 &asn_OP_NativeReal,
275 asn_DEF_IEEE_binary32_w_tags_1,
276 sizeof(asn_DEF_IEEE_binary32_w_tags_1)
277 /sizeof(asn_DEF_IEEE_binary32_w_tags_1[0]), /* 1 */
278 asn_DEF_IEEE_binary32_w_tags_1, /* Same as above */
279 sizeof(asn_DEF_IEEE_binary32_w_tags_1)
280 /sizeof(asn_DEF_IEEE_binary32_w_tags_1[0]), /* 1 */
281 { &asn_OER_type_IEEE_binary32_w_constr_1, 0, IEEE_binary32_w_constraint },
282 0, 0, /* No members */
Lev Walkinb5450702017-10-04 02:52:57 -0700283 &asn_SPC_IEEE_binary32_w_specs_1 /* Additional specs */
Lev Walkin026e21a2017-10-04 00:49:01 -0700284};
285
286
287/*** <<< INCLUDES [IEEE-binary32-0w] >>> ***/
288
289#include <NativeReal.h>
290
291/*** <<< TYPE-DECLS [IEEE-binary32-0w] >>> ***/
292
Lev Walkinb5450702017-10-04 02:52:57 -0700293typedef float IEEE_binary32_0w_t;
Lev Walkin026e21a2017-10-04 00:49:01 -0700294
295/*** <<< FUNC-DECLS [IEEE-binary32-0w] >>> ***/
296
297extern asn_TYPE_descriptor_t asn_DEF_IEEE_binary32_0w;
Lev Walkinb5450702017-10-04 02:52:57 -0700298extern const asn_NativeReal_specifics_t asn_SPC_IEEE_binary32_0w_specs_1;
Lev Walkin026e21a2017-10-04 00:49:01 -0700299asn_struct_free_f IEEE_binary32_0w_free;
300asn_struct_print_f IEEE_binary32_0w_print;
301asn_constr_check_f IEEE_binary32_0w_constraint;
302ber_type_decoder_f IEEE_binary32_0w_decode_ber;
303der_type_encoder_f IEEE_binary32_0w_encode_der;
304xer_type_decoder_f IEEE_binary32_0w_decode_xer;
305xer_type_encoder_f IEEE_binary32_0w_encode_xer;
306oer_type_decoder_f IEEE_binary32_0w_decode_oer;
307oer_type_encoder_f IEEE_binary32_0w_encode_oer;
308
309/*** <<< CODE [IEEE-binary32-0w] >>> ***/
310
311int
Lev Walkin20696a42017-10-17 21:27:33 -0700312IEEE_binary32_0w_constraint(const asn_TYPE_descriptor_t *td, const void *sptr,
Lev Walkin026e21a2017-10-04 00:49:01 -0700313 asn_app_constraint_failed_f *ctfailcb, void *app_key) {
314
315 if(!sptr) {
316 ASN__CTFAIL(app_key, td, sptr,
317 "%s: value not given (%s:%d)",
318 td->name, __FILE__, __LINE__);
319 return -1;
320 }
321
322
323 if(1 /* No applicable constraints whatsoever */) {
324 /* Nothing is here. See below */
325 }
326
327 return td->encoding_constraints.general_constraints(td, sptr, ctfailcb, app_key);
328}
329
330/*
331 * This type is implemented using NativeReal,
332 * so here we adjust the DEF accordingly.
333 */
334
335/*** <<< CTDEFS [IEEE-binary32-0w] >>> ***/
336
337static asn_oer_constraints_t asn_OER_type_IEEE_binary32_0w_constr_1 CC_NOTUSED = {
Lev Walkinafcc8912017-10-04 23:48:35 -0700338 { sizeof(float), 0 },
Lev Walkin026e21a2017-10-04 00:49:01 -0700339 -1};
340
341/*** <<< STAT-DEFS [IEEE-binary32-0w] >>> ***/
342
Lev Walkinb5450702017-10-04 02:52:57 -0700343const asn_NativeReal_specifics_t asn_SPC_IEEE_binary32_0w_specs_1 = {
344 4 /* Use 'float' type. */
345};
Lev Walkin026e21a2017-10-04 00:49:01 -0700346static const ber_tlv_tag_t asn_DEF_IEEE_binary32_0w_tags_1[] = {
347 (ASN_TAG_CLASS_UNIVERSAL | (9 << 2))
348};
349asn_TYPE_descriptor_t asn_DEF_IEEE_binary32_0w = {
350 "IEEE-binary32-0w",
351 "IEEE-binary32-0w",
352 &asn_OP_NativeReal,
353 asn_DEF_IEEE_binary32_0w_tags_1,
354 sizeof(asn_DEF_IEEE_binary32_0w_tags_1)
355 /sizeof(asn_DEF_IEEE_binary32_0w_tags_1[0]), /* 1 */
356 asn_DEF_IEEE_binary32_0w_tags_1, /* Same as above */
357 sizeof(asn_DEF_IEEE_binary32_0w_tags_1)
358 /sizeof(asn_DEF_IEEE_binary32_0w_tags_1[0]), /* 1 */
359 { &asn_OER_type_IEEE_binary32_0w_constr_1, 0, IEEE_binary32_0w_constraint },
360 0, 0, /* No members */
Lev Walkinb5450702017-10-04 02:52:57 -0700361 &asn_SPC_IEEE_binary32_0w_specs_1 /* Additional specs */
Lev Walkin026e21a2017-10-04 00:49:01 -0700362};
363
364
365/*** <<< INCLUDES [IEEE-binary32-w0] >>> ***/
366
367#include <NativeReal.h>
368
369/*** <<< TYPE-DECLS [IEEE-binary32-w0] >>> ***/
370
Lev Walkinb5450702017-10-04 02:52:57 -0700371typedef float IEEE_binary32_w0_t;
Lev Walkin026e21a2017-10-04 00:49:01 -0700372
373/*** <<< FUNC-DECLS [IEEE-binary32-w0] >>> ***/
374
375extern asn_TYPE_descriptor_t asn_DEF_IEEE_binary32_w0;
Lev Walkinb5450702017-10-04 02:52:57 -0700376extern const asn_NativeReal_specifics_t asn_SPC_IEEE_binary32_w0_specs_1;
Lev Walkin026e21a2017-10-04 00:49:01 -0700377asn_struct_free_f IEEE_binary32_w0_free;
378asn_struct_print_f IEEE_binary32_w0_print;
379asn_constr_check_f IEEE_binary32_w0_constraint;
380ber_type_decoder_f IEEE_binary32_w0_decode_ber;
381der_type_encoder_f IEEE_binary32_w0_encode_der;
382xer_type_decoder_f IEEE_binary32_w0_decode_xer;
383xer_type_encoder_f IEEE_binary32_w0_encode_xer;
384oer_type_decoder_f IEEE_binary32_w0_decode_oer;
385oer_type_encoder_f IEEE_binary32_w0_encode_oer;
386
387/*** <<< CODE [IEEE-binary32-w0] >>> ***/
388
389int
Lev Walkin20696a42017-10-17 21:27:33 -0700390IEEE_binary32_w0_constraint(const asn_TYPE_descriptor_t *td, const void *sptr,
Lev Walkin026e21a2017-10-04 00:49:01 -0700391 asn_app_constraint_failed_f *ctfailcb, void *app_key) {
392
393 if(!sptr) {
394 ASN__CTFAIL(app_key, td, sptr,
395 "%s: value not given (%s:%d)",
396 td->name, __FILE__, __LINE__);
397 return -1;
398 }
399
400
401 if(1 /* No applicable constraints whatsoever */) {
402 /* Nothing is here. See below */
403 }
404
405 return td->encoding_constraints.general_constraints(td, sptr, ctfailcb, app_key);
406}
407
408/*
409 * This type is implemented using NativeReal,
410 * so here we adjust the DEF accordingly.
411 */
412
413/*** <<< CTDEFS [IEEE-binary32-w0] >>> ***/
414
415static asn_oer_constraints_t asn_OER_type_IEEE_binary32_w0_constr_1 CC_NOTUSED = {
Lev Walkinafcc8912017-10-04 23:48:35 -0700416 { sizeof(float), 0 },
Lev Walkin026e21a2017-10-04 00:49:01 -0700417 -1};
418
419/*** <<< STAT-DEFS [IEEE-binary32-w0] >>> ***/
420
Lev Walkinb5450702017-10-04 02:52:57 -0700421const asn_NativeReal_specifics_t asn_SPC_IEEE_binary32_w0_specs_1 = {
422 4 /* Use 'float' type. */
423};
Lev Walkin026e21a2017-10-04 00:49:01 -0700424static const ber_tlv_tag_t asn_DEF_IEEE_binary32_w0_tags_1[] = {
425 (ASN_TAG_CLASS_UNIVERSAL | (9 << 2))
426};
427asn_TYPE_descriptor_t asn_DEF_IEEE_binary32_w0 = {
428 "IEEE-binary32-w0",
429 "IEEE-binary32-w0",
430 &asn_OP_NativeReal,
431 asn_DEF_IEEE_binary32_w0_tags_1,
432 sizeof(asn_DEF_IEEE_binary32_w0_tags_1)
433 /sizeof(asn_DEF_IEEE_binary32_w0_tags_1[0]), /* 1 */
434 asn_DEF_IEEE_binary32_w0_tags_1, /* Same as above */
435 sizeof(asn_DEF_IEEE_binary32_w0_tags_1)
436 /sizeof(asn_DEF_IEEE_binary32_w0_tags_1[0]), /* 1 */
437 { &asn_OER_type_IEEE_binary32_w0_constr_1, 0, IEEE_binary32_w0_constraint },
438 0, 0, /* No members */
Lev Walkinb5450702017-10-04 02:52:57 -0700439 &asn_SPC_IEEE_binary32_w0_specs_1 /* Additional specs */
Lev Walkin026e21a2017-10-04 00:49:01 -0700440};
441
442
443/*** <<< INCLUDES [IEEE-binary64-w] >>> ***/
444
445#include <NativeReal.h>
446
447/*** <<< TYPE-DECLS [IEEE-binary64-w] >>> ***/
448
449typedef double IEEE_binary64_w_t;
450
451/*** <<< FUNC-DECLS [IEEE-binary64-w] >>> ***/
452
453extern asn_TYPE_descriptor_t asn_DEF_IEEE_binary64_w;
454asn_struct_free_f IEEE_binary64_w_free;
455asn_struct_print_f IEEE_binary64_w_print;
456asn_constr_check_f IEEE_binary64_w_constraint;
457ber_type_decoder_f IEEE_binary64_w_decode_ber;
458der_type_encoder_f IEEE_binary64_w_encode_der;
459xer_type_decoder_f IEEE_binary64_w_decode_xer;
460xer_type_encoder_f IEEE_binary64_w_encode_xer;
461oer_type_decoder_f IEEE_binary64_w_decode_oer;
462oer_type_encoder_f IEEE_binary64_w_encode_oer;
463
464/*** <<< CODE [IEEE-binary64-w] >>> ***/
465
466int
Lev Walkin20696a42017-10-17 21:27:33 -0700467IEEE_binary64_w_constraint(const asn_TYPE_descriptor_t *td, const void *sptr,
Lev Walkin026e21a2017-10-04 00:49:01 -0700468 asn_app_constraint_failed_f *ctfailcb, void *app_key) {
469
470 if(!sptr) {
471 ASN__CTFAIL(app_key, td, sptr,
472 "%s: value not given (%s:%d)",
473 td->name, __FILE__, __LINE__);
474 return -1;
475 }
476
477
478 if(1 /* No applicable constraints whatsoever */) {
479 /* Nothing is here. See below */
480 }
481
482 return td->encoding_constraints.general_constraints(td, sptr, ctfailcb, app_key);
483}
484
485/*
486 * This type is implemented using NativeReal,
487 * so here we adjust the DEF accordingly.
488 */
489
490/*** <<< CTDEFS [IEEE-binary64-w] >>> ***/
491
492static asn_oer_constraints_t asn_OER_type_IEEE_binary64_w_constr_1 CC_NOTUSED = {
Lev Walkinafcc8912017-10-04 23:48:35 -0700493 { sizeof(double), 0 },
Lev Walkin026e21a2017-10-04 00:49:01 -0700494 -1};
495
496/*** <<< STAT-DEFS [IEEE-binary64-w] >>> ***/
497
498static const ber_tlv_tag_t asn_DEF_IEEE_binary64_w_tags_1[] = {
499 (ASN_TAG_CLASS_UNIVERSAL | (9 << 2))
500};
501asn_TYPE_descriptor_t asn_DEF_IEEE_binary64_w = {
502 "IEEE-binary64-w",
503 "IEEE-binary64-w",
504 &asn_OP_NativeReal,
505 asn_DEF_IEEE_binary64_w_tags_1,
506 sizeof(asn_DEF_IEEE_binary64_w_tags_1)
507 /sizeof(asn_DEF_IEEE_binary64_w_tags_1[0]), /* 1 */
508 asn_DEF_IEEE_binary64_w_tags_1, /* Same as above */
509 sizeof(asn_DEF_IEEE_binary64_w_tags_1)
510 /sizeof(asn_DEF_IEEE_binary64_w_tags_1[0]), /* 1 */
511 { &asn_OER_type_IEEE_binary64_w_constr_1, 0, IEEE_binary64_w_constraint },
512 0, 0, /* No members */
513 0 /* No specifics */
514};
515
516
517/*** <<< INCLUDES [IEEE-binary64-0w] >>> ***/
518
519#include <NativeReal.h>
520
521/*** <<< TYPE-DECLS [IEEE-binary64-0w] >>> ***/
522
523typedef double IEEE_binary64_0w_t;
524
525/*** <<< FUNC-DECLS [IEEE-binary64-0w] >>> ***/
526
527extern asn_TYPE_descriptor_t asn_DEF_IEEE_binary64_0w;
528asn_struct_free_f IEEE_binary64_0w_free;
529asn_struct_print_f IEEE_binary64_0w_print;
530asn_constr_check_f IEEE_binary64_0w_constraint;
531ber_type_decoder_f IEEE_binary64_0w_decode_ber;
532der_type_encoder_f IEEE_binary64_0w_encode_der;
533xer_type_decoder_f IEEE_binary64_0w_decode_xer;
534xer_type_encoder_f IEEE_binary64_0w_encode_xer;
535oer_type_decoder_f IEEE_binary64_0w_decode_oer;
536oer_type_encoder_f IEEE_binary64_0w_encode_oer;
537
538/*** <<< CODE [IEEE-binary64-0w] >>> ***/
539
540int
Lev Walkin20696a42017-10-17 21:27:33 -0700541IEEE_binary64_0w_constraint(const asn_TYPE_descriptor_t *td, const void *sptr,
Lev Walkin026e21a2017-10-04 00:49:01 -0700542 asn_app_constraint_failed_f *ctfailcb, void *app_key) {
543
544 if(!sptr) {
545 ASN__CTFAIL(app_key, td, sptr,
546 "%s: value not given (%s:%d)",
547 td->name, __FILE__, __LINE__);
548 return -1;
549 }
550
551
552 if(1 /* No applicable constraints whatsoever */) {
553 /* Nothing is here. See below */
554 }
555
556 return td->encoding_constraints.general_constraints(td, sptr, ctfailcb, app_key);
557}
558
559/*
560 * This type is implemented using NativeReal,
561 * so here we adjust the DEF accordingly.
562 */
563
564/*** <<< CTDEFS [IEEE-binary64-0w] >>> ***/
565
566static asn_oer_constraints_t asn_OER_type_IEEE_binary64_0w_constr_1 CC_NOTUSED = {
Lev Walkinafcc8912017-10-04 23:48:35 -0700567 { sizeof(double), 0 },
Lev Walkin026e21a2017-10-04 00:49:01 -0700568 -1};
569
570/*** <<< STAT-DEFS [IEEE-binary64-0w] >>> ***/
571
572static const ber_tlv_tag_t asn_DEF_IEEE_binary64_0w_tags_1[] = {
573 (ASN_TAG_CLASS_UNIVERSAL | (9 << 2))
574};
575asn_TYPE_descriptor_t asn_DEF_IEEE_binary64_0w = {
576 "IEEE-binary64-0w",
577 "IEEE-binary64-0w",
578 &asn_OP_NativeReal,
579 asn_DEF_IEEE_binary64_0w_tags_1,
580 sizeof(asn_DEF_IEEE_binary64_0w_tags_1)
581 /sizeof(asn_DEF_IEEE_binary64_0w_tags_1[0]), /* 1 */
582 asn_DEF_IEEE_binary64_0w_tags_1, /* Same as above */
583 sizeof(asn_DEF_IEEE_binary64_0w_tags_1)
584 /sizeof(asn_DEF_IEEE_binary64_0w_tags_1[0]), /* 1 */
585 { &asn_OER_type_IEEE_binary64_0w_constr_1, 0, IEEE_binary64_0w_constraint },
586 0, 0, /* No members */
587 0 /* No specifics */
588};
589
590
591/*** <<< INCLUDES [IEEE-binary64-w0] >>> ***/
592
593#include <NativeReal.h>
594
595/*** <<< TYPE-DECLS [IEEE-binary64-w0] >>> ***/
596
597typedef double IEEE_binary64_w0_t;
598
599/*** <<< FUNC-DECLS [IEEE-binary64-w0] >>> ***/
600
601extern asn_TYPE_descriptor_t asn_DEF_IEEE_binary64_w0;
602asn_struct_free_f IEEE_binary64_w0_free;
603asn_struct_print_f IEEE_binary64_w0_print;
604asn_constr_check_f IEEE_binary64_w0_constraint;
605ber_type_decoder_f IEEE_binary64_w0_decode_ber;
606der_type_encoder_f IEEE_binary64_w0_encode_der;
607xer_type_decoder_f IEEE_binary64_w0_decode_xer;
608xer_type_encoder_f IEEE_binary64_w0_encode_xer;
609oer_type_decoder_f IEEE_binary64_w0_decode_oer;
610oer_type_encoder_f IEEE_binary64_w0_encode_oer;
611
612/*** <<< CODE [IEEE-binary64-w0] >>> ***/
613
614int
Lev Walkin20696a42017-10-17 21:27:33 -0700615IEEE_binary64_w0_constraint(const asn_TYPE_descriptor_t *td, const void *sptr,
Lev Walkin026e21a2017-10-04 00:49:01 -0700616 asn_app_constraint_failed_f *ctfailcb, void *app_key) {
617
618 if(!sptr) {
619 ASN__CTFAIL(app_key, td, sptr,
620 "%s: value not given (%s:%d)",
621 td->name, __FILE__, __LINE__);
622 return -1;
623 }
624
625
626 if(1 /* No applicable constraints whatsoever */) {
627 /* Nothing is here. See below */
628 }
629
630 return td->encoding_constraints.general_constraints(td, sptr, ctfailcb, app_key);
631}
632
633/*
634 * This type is implemented using NativeReal,
635 * so here we adjust the DEF accordingly.
636 */
637
638/*** <<< CTDEFS [IEEE-binary64-w0] >>> ***/
639
640static asn_oer_constraints_t asn_OER_type_IEEE_binary64_w0_constr_1 CC_NOTUSED = {
Lev Walkinafcc8912017-10-04 23:48:35 -0700641 { sizeof(double), 0 },
Lev Walkin026e21a2017-10-04 00:49:01 -0700642 -1};
643
644/*** <<< STAT-DEFS [IEEE-binary64-w0] >>> ***/
645
646static const ber_tlv_tag_t asn_DEF_IEEE_binary64_w0_tags_1[] = {
647 (ASN_TAG_CLASS_UNIVERSAL | (9 << 2))
648};
649asn_TYPE_descriptor_t asn_DEF_IEEE_binary64_w0 = {
650 "IEEE-binary64-w0",
651 "IEEE-binary64-w0",
652 &asn_OP_NativeReal,
653 asn_DEF_IEEE_binary64_w0_tags_1,
654 sizeof(asn_DEF_IEEE_binary64_w0_tags_1)
655 /sizeof(asn_DEF_IEEE_binary64_w0_tags_1[0]), /* 1 */
656 asn_DEF_IEEE_binary64_w0_tags_1, /* Same as above */
657 sizeof(asn_DEF_IEEE_binary64_w0_tags_1)
658 /sizeof(asn_DEF_IEEE_binary64_w0_tags_1[0]), /* 1 */
659 { &asn_OER_type_IEEE_binary64_w0_constr_1, 0, IEEE_binary64_w0_constraint },
660 0, 0, /* No members */
661 0 /* No specifics */
662};
663
Lev Walkinb5450702017-10-04 02:52:57 -0700664
665/*** <<< INCLUDES [Test] >>> ***/
666
667#include "Indirect-IEEE-binary32.h"
668#include "IEEE-binary32-w.h"
669#include "IEEE-binary32-0w.h"
670#include "IEEE-binary32-w0.h"
671#include "IEEE-binary64-w.h"
672#include "IEEE-binary64-0w.h"
673#include "IEEE-binary64-w0.h"
674#include <constr_SEQUENCE.h>
675
676/*** <<< TYPE-DECLS [Test] >>> ***/
677
678typedef struct Test {
679 Indirect_IEEE_binary32_t indirect_ieee_binary32;
680 IEEE_binary32_w_t ieee_binary32_w;
681 IEEE_binary32_0w_t ieee_binary32_0w;
682 IEEE_binary32_w0_t ieee_binary32_w0;
683 IEEE_binary64_w_t ieee_binary64_w;
684 IEEE_binary64_0w_t ieee_binary64_0w;
685 IEEE_binary64_w0_t ieee_binary64_w0;
686
687 /* Context for parsing across buffer boundaries */
688 asn_struct_ctx_t _asn_ctx;
689} Test_t;
690
691/*** <<< FUNC-DECLS [Test] >>> ***/
692
693/* extern asn_TYPE_descriptor_t asn_DEF_indirect_ieee_binary32_2; // (Use -fall-defs-global to expose) */
694/* extern asn_TYPE_descriptor_t asn_DEF_ieee_binary32_w_3; // (Use -fall-defs-global to expose) */
695/* extern asn_TYPE_descriptor_t asn_DEF_ieee_binary32_0w_4; // (Use -fall-defs-global to expose) */
696/* extern asn_TYPE_descriptor_t asn_DEF_ieee_binary32_w0_5; // (Use -fall-defs-global to expose) */
697extern asn_TYPE_descriptor_t asn_DEF_Test;
698
699/*** <<< CODE [Test] >>> ***/
700
701static int
Lev Walkin20696a42017-10-17 21:27:33 -0700702indirect_ieee_binary32_2_constraint(const asn_TYPE_descriptor_t *td, const void *sptr,
Lev Walkinb5450702017-10-04 02:52:57 -0700703 asn_app_constraint_failed_f *ctfailcb, void *app_key) {
704
705 if(!sptr) {
706 ASN__CTFAIL(app_key, td, sptr,
707 "%s: value not given (%s:%d)",
708 td->name, __FILE__, __LINE__);
709 return -1;
710 }
711
712
713 if(1 /* No applicable constraints whatsoever */) {
714 /* Nothing is here. See below */
715 }
716
717 return td->encoding_constraints.general_constraints(td, sptr, ctfailcb, app_key);
718}
719
720/*
721 * This type is implemented using Indirect_IEEE_binary32,
722 * so here we adjust the DEF accordingly.
723 */
724static int
Lev Walkin20696a42017-10-17 21:27:33 -0700725ieee_binary32_w_3_constraint(const asn_TYPE_descriptor_t *td, const void *sptr,
Lev Walkinb5450702017-10-04 02:52:57 -0700726 asn_app_constraint_failed_f *ctfailcb, void *app_key) {
727
728 if(!sptr) {
729 ASN__CTFAIL(app_key, td, sptr,
730 "%s: value not given (%s:%d)",
731 td->name, __FILE__, __LINE__);
732 return -1;
733 }
734
735
736 if(1 /* No applicable constraints whatsoever */) {
737 /* Nothing is here. See below */
738 }
739
740 return td->encoding_constraints.general_constraints(td, sptr, ctfailcb, app_key);
741}
742
743/*
744 * This type is implemented using IEEE_binary32_w,
745 * so here we adjust the DEF accordingly.
746 */
747static int
Lev Walkin20696a42017-10-17 21:27:33 -0700748ieee_binary32_0w_4_constraint(const asn_TYPE_descriptor_t *td, const void *sptr,
Lev Walkinb5450702017-10-04 02:52:57 -0700749 asn_app_constraint_failed_f *ctfailcb, void *app_key) {
750
751 if(!sptr) {
752 ASN__CTFAIL(app_key, td, sptr,
753 "%s: value not given (%s:%d)",
754 td->name, __FILE__, __LINE__);
755 return -1;
756 }
757
758
759 if(1 /* No applicable constraints whatsoever */) {
760 /* Nothing is here. See below */
761 }
762
763 return td->encoding_constraints.general_constraints(td, sptr, ctfailcb, app_key);
764}
765
766/*
767 * This type is implemented using IEEE_binary32_0w,
768 * so here we adjust the DEF accordingly.
769 */
770static int
Lev Walkin20696a42017-10-17 21:27:33 -0700771ieee_binary32_w0_5_constraint(const asn_TYPE_descriptor_t *td, const void *sptr,
Lev Walkinb5450702017-10-04 02:52:57 -0700772 asn_app_constraint_failed_f *ctfailcb, void *app_key) {
773
774 if(!sptr) {
775 ASN__CTFAIL(app_key, td, sptr,
776 "%s: value not given (%s:%d)",
777 td->name, __FILE__, __LINE__);
778 return -1;
779 }
780
781
782 if(1 /* No applicable constraints whatsoever */) {
783 /* Nothing is here. See below */
784 }
785
786 return td->encoding_constraints.general_constraints(td, sptr, ctfailcb, app_key);
787}
788
789/*
790 * This type is implemented using IEEE_binary32_w0,
791 * so here we adjust the DEF accordingly.
792 */
793
794/*** <<< CTDEFS [Test] >>> ***/
795
796static asn_oer_constraints_t asn_OER_type_indirect_ieee_binary32_constr_2 CC_NOTUSED = {
Lev Walkinafcc8912017-10-04 23:48:35 -0700797 { sizeof(float), 0 },
Lev Walkinb5450702017-10-04 02:52:57 -0700798 -1};
799static asn_oer_constraints_t asn_OER_type_ieee_binary32_w_constr_3 CC_NOTUSED = {
Lev Walkinafcc8912017-10-04 23:48:35 -0700800 { sizeof(float), 0 },
Lev Walkinb5450702017-10-04 02:52:57 -0700801 -1};
802static asn_oer_constraints_t asn_OER_type_ieee_binary32_0w_constr_4 CC_NOTUSED = {
Lev Walkinafcc8912017-10-04 23:48:35 -0700803 { sizeof(float), 0 },
Lev Walkinb5450702017-10-04 02:52:57 -0700804 -1};
805static asn_oer_constraints_t asn_OER_type_ieee_binary32_w0_constr_5 CC_NOTUSED = {
Lev Walkinafcc8912017-10-04 23:48:35 -0700806 { sizeof(float), 0 },
Lev Walkinb5450702017-10-04 02:52:57 -0700807 -1};
808
809/*** <<< STAT-DEFS [Test] >>> ***/
810
811static const asn_NativeReal_specifics_t asn_SPC_indirect_ieee_binary32_specs_2 = {
812 4 /* Use 'float' type. */
813};
814static const ber_tlv_tag_t asn_DEF_indirect_ieee_binary32_tags_2[] = {
815 (ASN_TAG_CLASS_UNIVERSAL | (9 << 2))
816};
817static /* Use -fall-defs-global to expose */
818asn_TYPE_descriptor_t asn_DEF_indirect_ieee_binary32_2 = {
819 "indirect-ieee-binary32",
820 "indirect-ieee-binary32",
821 &asn_OP_NativeReal,
822 asn_DEF_indirect_ieee_binary32_tags_2,
823 sizeof(asn_DEF_indirect_ieee_binary32_tags_2)
824 /sizeof(asn_DEF_indirect_ieee_binary32_tags_2[0]), /* 1 */
825 asn_DEF_indirect_ieee_binary32_tags_2, /* Same as above */
826 sizeof(asn_DEF_indirect_ieee_binary32_tags_2)
827 /sizeof(asn_DEF_indirect_ieee_binary32_tags_2[0]), /* 1 */
828 { &asn_OER_type_indirect_ieee_binary32_constr_2, 0, indirect_ieee_binary32_2_constraint },
829 0, 0, /* No members */
830 &asn_SPC_indirect_ieee_binary32_specs_2 /* Additional specs */
831};
832
833static const asn_NativeReal_specifics_t asn_SPC_ieee_binary32_w_specs_3 = {
834 4 /* Use 'float' type. */
835};
836static const ber_tlv_tag_t asn_DEF_ieee_binary32_w_tags_3[] = {
837 (ASN_TAG_CLASS_UNIVERSAL | (9 << 2))
838};
839static /* Use -fall-defs-global to expose */
840asn_TYPE_descriptor_t asn_DEF_ieee_binary32_w_3 = {
841 "ieee-binary32-w",
842 "ieee-binary32-w",
843 &asn_OP_NativeReal,
844 asn_DEF_ieee_binary32_w_tags_3,
845 sizeof(asn_DEF_ieee_binary32_w_tags_3)
846 /sizeof(asn_DEF_ieee_binary32_w_tags_3[0]), /* 1 */
847 asn_DEF_ieee_binary32_w_tags_3, /* Same as above */
848 sizeof(asn_DEF_ieee_binary32_w_tags_3)
849 /sizeof(asn_DEF_ieee_binary32_w_tags_3[0]), /* 1 */
850 { &asn_OER_type_ieee_binary32_w_constr_3, 0, ieee_binary32_w_3_constraint },
851 0, 0, /* No members */
852 &asn_SPC_ieee_binary32_w_specs_3 /* Additional specs */
853};
854
855static const asn_NativeReal_specifics_t asn_SPC_ieee_binary32_0w_specs_4 = {
856 4 /* Use 'float' type. */
857};
858static const ber_tlv_tag_t asn_DEF_ieee_binary32_0w_tags_4[] = {
859 (ASN_TAG_CLASS_UNIVERSAL | (9 << 2))
860};
861static /* Use -fall-defs-global to expose */
862asn_TYPE_descriptor_t asn_DEF_ieee_binary32_0w_4 = {
863 "ieee-binary32-0w",
864 "ieee-binary32-0w",
865 &asn_OP_NativeReal,
866 asn_DEF_ieee_binary32_0w_tags_4,
867 sizeof(asn_DEF_ieee_binary32_0w_tags_4)
868 /sizeof(asn_DEF_ieee_binary32_0w_tags_4[0]), /* 1 */
869 asn_DEF_ieee_binary32_0w_tags_4, /* Same as above */
870 sizeof(asn_DEF_ieee_binary32_0w_tags_4)
871 /sizeof(asn_DEF_ieee_binary32_0w_tags_4[0]), /* 1 */
872 { &asn_OER_type_ieee_binary32_0w_constr_4, 0, ieee_binary32_0w_4_constraint },
873 0, 0, /* No members */
874 &asn_SPC_ieee_binary32_0w_specs_4 /* Additional specs */
875};
876
877static const asn_NativeReal_specifics_t asn_SPC_ieee_binary32_w0_specs_5 = {
878 4 /* Use 'float' type. */
879};
880static const ber_tlv_tag_t asn_DEF_ieee_binary32_w0_tags_5[] = {
881 (ASN_TAG_CLASS_UNIVERSAL | (9 << 2))
882};
883static /* Use -fall-defs-global to expose */
884asn_TYPE_descriptor_t asn_DEF_ieee_binary32_w0_5 = {
885 "ieee-binary32-w0",
886 "ieee-binary32-w0",
887 &asn_OP_NativeReal,
888 asn_DEF_ieee_binary32_w0_tags_5,
889 sizeof(asn_DEF_ieee_binary32_w0_tags_5)
890 /sizeof(asn_DEF_ieee_binary32_w0_tags_5[0]), /* 1 */
891 asn_DEF_ieee_binary32_w0_tags_5, /* Same as above */
892 sizeof(asn_DEF_ieee_binary32_w0_tags_5)
893 /sizeof(asn_DEF_ieee_binary32_w0_tags_5[0]), /* 1 */
894 { &asn_OER_type_ieee_binary32_w0_constr_5, 0, ieee_binary32_w0_5_constraint },
895 0, 0, /* No members */
896 &asn_SPC_ieee_binary32_w0_specs_5 /* Additional specs */
897};
898
899static asn_TYPE_member_t asn_MBR_Test_1[] = {
900 { ATF_NOFLAGS, 0, offsetof(struct Test, indirect_ieee_binary32),
901 .tag = (ASN_TAG_CLASS_UNIVERSAL | (9 << 2)),
902 .tag_mode = 0,
903 .type = &asn_DEF_Indirect_IEEE_binary32,
904 .type_selector = 0,
905 { .oer_constraints = 0, .per_constraints = 0, .general_constraints = 0 },
Lev Walkin20696a42017-10-17 21:27:33 -0700906 0, 0, /* No default value */
Lev Walkinb5450702017-10-04 02:52:57 -0700907 .name = "indirect-ieee-binary32"
908 },
909 { ATF_NOFLAGS, 0, offsetof(struct Test, ieee_binary32_w),
910 .tag = (ASN_TAG_CLASS_UNIVERSAL | (9 << 2)),
911 .tag_mode = 0,
912 .type = &asn_DEF_IEEE_binary32_w,
913 .type_selector = 0,
914 { .oer_constraints = 0, .per_constraints = 0, .general_constraints = 0 },
Lev Walkin20696a42017-10-17 21:27:33 -0700915 0, 0, /* No default value */
Lev Walkinb5450702017-10-04 02:52:57 -0700916 .name = "ieee-binary32-w"
917 },
918 { ATF_NOFLAGS, 0, offsetof(struct Test, ieee_binary32_0w),
919 .tag = (ASN_TAG_CLASS_UNIVERSAL | (9 << 2)),
920 .tag_mode = 0,
921 .type = &asn_DEF_IEEE_binary32_0w,
922 .type_selector = 0,
923 { .oer_constraints = 0, .per_constraints = 0, .general_constraints = 0 },
Lev Walkin20696a42017-10-17 21:27:33 -0700924 0, 0, /* No default value */
Lev Walkinb5450702017-10-04 02:52:57 -0700925 .name = "ieee-binary32-0w"
926 },
927 { ATF_NOFLAGS, 0, offsetof(struct Test, ieee_binary32_w0),
928 .tag = (ASN_TAG_CLASS_UNIVERSAL | (9 << 2)),
929 .tag_mode = 0,
930 .type = &asn_DEF_IEEE_binary32_w0,
931 .type_selector = 0,
932 { .oer_constraints = 0, .per_constraints = 0, .general_constraints = 0 },
Lev Walkin20696a42017-10-17 21:27:33 -0700933 0, 0, /* No default value */
Lev Walkinb5450702017-10-04 02:52:57 -0700934 .name = "ieee-binary32-w0"
935 },
936 { ATF_NOFLAGS, 0, offsetof(struct Test, ieee_binary64_w),
937 .tag = (ASN_TAG_CLASS_UNIVERSAL | (9 << 2)),
938 .tag_mode = 0,
939 .type = &asn_DEF_IEEE_binary64_w,
940 .type_selector = 0,
941 { .oer_constraints = 0, .per_constraints = 0, .general_constraints = 0 },
Lev Walkin20696a42017-10-17 21:27:33 -0700942 0, 0, /* No default value */
Lev Walkinb5450702017-10-04 02:52:57 -0700943 .name = "ieee-binary64-w"
944 },
945 { ATF_NOFLAGS, 0, offsetof(struct Test, ieee_binary64_0w),
946 .tag = (ASN_TAG_CLASS_UNIVERSAL | (9 << 2)),
947 .tag_mode = 0,
948 .type = &asn_DEF_IEEE_binary64_0w,
949 .type_selector = 0,
950 { .oer_constraints = 0, .per_constraints = 0, .general_constraints = 0 },
Lev Walkin20696a42017-10-17 21:27:33 -0700951 0, 0, /* No default value */
Lev Walkinb5450702017-10-04 02:52:57 -0700952 .name = "ieee-binary64-0w"
953 },
954 { ATF_NOFLAGS, 0, offsetof(struct Test, ieee_binary64_w0),
955 .tag = (ASN_TAG_CLASS_UNIVERSAL | (9 << 2)),
956 .tag_mode = 0,
957 .type = &asn_DEF_IEEE_binary64_w0,
958 .type_selector = 0,
959 { .oer_constraints = 0, .per_constraints = 0, .general_constraints = 0 },
Lev Walkin20696a42017-10-17 21:27:33 -0700960 0, 0, /* No default value */
Lev Walkinb5450702017-10-04 02:52:57 -0700961 .name = "ieee-binary64-w0"
962 },
963};
964static const ber_tlv_tag_t asn_DEF_Test_tags_1[] = {
965 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
966};
967static const asn_TYPE_tag2member_t asn_MAP_Test_tag2el_1[] = {
968 { (ASN_TAG_CLASS_UNIVERSAL | (9 << 2)), 0, 0, 6 }, /* indirect-ieee-binary32 */
969 { (ASN_TAG_CLASS_UNIVERSAL | (9 << 2)), 1, -1, 5 }, /* ieee-binary32-w */
970 { (ASN_TAG_CLASS_UNIVERSAL | (9 << 2)), 2, -2, 4 }, /* ieee-binary32-0w */
971 { (ASN_TAG_CLASS_UNIVERSAL | (9 << 2)), 3, -3, 3 }, /* ieee-binary32-w0 */
972 { (ASN_TAG_CLASS_UNIVERSAL | (9 << 2)), 4, -4, 2 }, /* ieee-binary64-w */
973 { (ASN_TAG_CLASS_UNIVERSAL | (9 << 2)), 5, -5, 1 }, /* ieee-binary64-0w */
974 { (ASN_TAG_CLASS_UNIVERSAL | (9 << 2)), 6, -6, 0 } /* ieee-binary64-w0 */
975};
976static asn_SEQUENCE_specifics_t asn_SPC_Test_specs_1 = {
977 sizeof(struct Test),
978 offsetof(struct Test, _asn_ctx),
979 .tag2el = asn_MAP_Test_tag2el_1,
980 .tag2el_count = 7, /* Count of tags in the map */
981 0, 0, 0, /* Optional elements (not needed) */
Lev Walkindf2edbb2017-10-21 13:40:07 -0700982 -1, /* First extension addition */
Lev Walkinb5450702017-10-04 02:52:57 -0700983};
984asn_TYPE_descriptor_t asn_DEF_Test = {
985 "Test",
986 "Test",
987 &asn_OP_SEQUENCE,
988 asn_DEF_Test_tags_1,
989 sizeof(asn_DEF_Test_tags_1)
990 /sizeof(asn_DEF_Test_tags_1[0]), /* 1 */
991 asn_DEF_Test_tags_1, /* Same as above */
992 sizeof(asn_DEF_Test_tags_1)
993 /sizeof(asn_DEF_Test_tags_1[0]), /* 1 */
994 { 0, 0, SEQUENCE_constraint },
995 asn_MBR_Test_1,
996 7, /* Elements count */
997 &asn_SPC_Test_specs_1 /* Additional specs */
998};
999