blob: 76fec49949458ec4d06b21443de48f1982eb59b6 [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;
20per_type_decoder_f UnconstrainedREAL_decode_uper;
21per_type_encoder_f UnconstrainedREAL_encode_uper;
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;
69per_type_decoder_f WeirdlyConstrainedREAL_decode_uper;
70per_type_encoder_f WeirdlyConstrainedREAL_encode_uper;
71
72/*** <<< CODE [WeirdlyConstrainedREAL] >>> ***/
73
74int
75WeirdlyConstrainedREAL_constraint(asn_TYPE_descriptor_t *td, const void *sptr,
76 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_per_constraints_t asn_PER_type_WeirdlyConstrainedREAL_constr_1 CC_NOTUSED = {
107 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
108 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
109 0, 0 /* No PER value map */
110};
111
112/*** <<< STAT-DEFS [WeirdlyConstrainedREAL] >>> ***/
113
114static const ber_tlv_tag_t asn_DEF_WeirdlyConstrainedREAL_tags_1[] = {
115 (ASN_TAG_CLASS_UNIVERSAL | (9 << 2))
116};
117asn_TYPE_descriptor_t asn_DEF_WeirdlyConstrainedREAL = {
118 "WeirdlyConstrainedREAL",
119 "WeirdlyConstrainedREAL",
120 &asn_OP_NativeReal,
121 asn_DEF_WeirdlyConstrainedREAL_tags_1,
122 sizeof(asn_DEF_WeirdlyConstrainedREAL_tags_1)
123 /sizeof(asn_DEF_WeirdlyConstrainedREAL_tags_1[0]), /* 1 */
124 asn_DEF_WeirdlyConstrainedREAL_tags_1, /* Same as above */
125 sizeof(asn_DEF_WeirdlyConstrainedREAL_tags_1)
126 /sizeof(asn_DEF_WeirdlyConstrainedREAL_tags_1[0]), /* 1 */
127 { 0, &asn_PER_type_WeirdlyConstrainedREAL_constr_1, WeirdlyConstrainedREAL_constraint },
128 0, 0, /* No members */
129 0 /* No specifics */
130};
131
132
133/*** <<< INCLUDES [IEEE-binary32-w] >>> ***/
134
135#include <NativeReal.h>
136
137/*** <<< TYPE-DECLS [IEEE-binary32-w] >>> ***/
138
139typedef double IEEE_binary32_w_t;
140
141/*** <<< FUNC-DECLS [IEEE-binary32-w] >>> ***/
142
143extern asn_TYPE_descriptor_t asn_DEF_IEEE_binary32_w;
144asn_struct_free_f IEEE_binary32_w_free;
145asn_struct_print_f IEEE_binary32_w_print;
146asn_constr_check_f IEEE_binary32_w_constraint;
147ber_type_decoder_f IEEE_binary32_w_decode_ber;
148der_type_encoder_f IEEE_binary32_w_encode_der;
149xer_type_decoder_f IEEE_binary32_w_decode_xer;
150xer_type_encoder_f IEEE_binary32_w_encode_xer;
151per_type_decoder_f IEEE_binary32_w_decode_uper;
152per_type_encoder_f IEEE_binary32_w_encode_uper;
153
154/*** <<< CODE [IEEE-binary32-w] >>> ***/
155
156int
157IEEE_binary32_w_constraint(asn_TYPE_descriptor_t *td, const void *sptr,
158 asn_app_constraint_failed_f *ctfailcb, void *app_key) {
159
160 if(!sptr) {
161 ASN__CTFAIL(app_key, td, sptr,
162 "%s: value not given (%s:%d)",
163 td->name, __FILE__, __LINE__);
164 return -1;
165 }
166
167
168 if(1 /* No applicable constraints whatsoever */) {
169 /* Nothing is here. See below */
170 }
171
172 return td->encoding_constraints.general_constraints(td, sptr, ctfailcb, app_key);
173}
174
175/*
176 * This type is implemented using NativeReal,
177 * so here we adjust the DEF accordingly.
178 */
179
180/*** <<< CTDEFS [IEEE-binary32-w] >>> ***/
181
182static asn_per_constraints_t asn_PER_type_IEEE_binary32_w_constr_1 CC_NOTUSED = {
183 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
184 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
185 0, 0 /* No PER value map */
186};
187
188/*** <<< STAT-DEFS [IEEE-binary32-w] >>> ***/
189
190static const ber_tlv_tag_t asn_DEF_IEEE_binary32_w_tags_1[] = {
191 (ASN_TAG_CLASS_UNIVERSAL | (9 << 2))
192};
193asn_TYPE_descriptor_t asn_DEF_IEEE_binary32_w = {
194 "IEEE-binary32-w",
195 "IEEE-binary32-w",
196 &asn_OP_NativeReal,
197 asn_DEF_IEEE_binary32_w_tags_1,
198 sizeof(asn_DEF_IEEE_binary32_w_tags_1)
199 /sizeof(asn_DEF_IEEE_binary32_w_tags_1[0]), /* 1 */
200 asn_DEF_IEEE_binary32_w_tags_1, /* Same as above */
201 sizeof(asn_DEF_IEEE_binary32_w_tags_1)
202 /sizeof(asn_DEF_IEEE_binary32_w_tags_1[0]), /* 1 */
203 { 0, &asn_PER_type_IEEE_binary32_w_constr_1, IEEE_binary32_w_constraint },
204 0, 0, /* No members */
205 0 /* No specifics */
206};
207
208
209/*** <<< INCLUDES [IEEE-binary32-0w] >>> ***/
210
211#include <NativeReal.h>
212
213/*** <<< TYPE-DECLS [IEEE-binary32-0w] >>> ***/
214
215typedef double IEEE_binary32_0w_t;
216
217/*** <<< FUNC-DECLS [IEEE-binary32-0w] >>> ***/
218
219extern asn_TYPE_descriptor_t asn_DEF_IEEE_binary32_0w;
220asn_struct_free_f IEEE_binary32_0w_free;
221asn_struct_print_f IEEE_binary32_0w_print;
222asn_constr_check_f IEEE_binary32_0w_constraint;
223ber_type_decoder_f IEEE_binary32_0w_decode_ber;
224der_type_encoder_f IEEE_binary32_0w_encode_der;
225xer_type_decoder_f IEEE_binary32_0w_decode_xer;
226xer_type_encoder_f IEEE_binary32_0w_encode_xer;
227per_type_decoder_f IEEE_binary32_0w_decode_uper;
228per_type_encoder_f IEEE_binary32_0w_encode_uper;
229
230/*** <<< CODE [IEEE-binary32-0w] >>> ***/
231
232int
233IEEE_binary32_0w_constraint(asn_TYPE_descriptor_t *td, const void *sptr,
234 asn_app_constraint_failed_f *ctfailcb, void *app_key) {
235
236 if(!sptr) {
237 ASN__CTFAIL(app_key, td, sptr,
238 "%s: value not given (%s:%d)",
239 td->name, __FILE__, __LINE__);
240 return -1;
241 }
242
243
244 if(1 /* No applicable constraints whatsoever */) {
245 /* Nothing is here. See below */
246 }
247
248 return td->encoding_constraints.general_constraints(td, sptr, ctfailcb, app_key);
249}
250
251/*
252 * This type is implemented using NativeReal,
253 * so here we adjust the DEF accordingly.
254 */
255
256/*** <<< CTDEFS [IEEE-binary32-0w] >>> ***/
257
258static asn_per_constraints_t asn_PER_type_IEEE_binary32_0w_constr_1 CC_NOTUSED = {
259 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
260 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
261 0, 0 /* No PER value map */
262};
263
264/*** <<< STAT-DEFS [IEEE-binary32-0w] >>> ***/
265
266static const ber_tlv_tag_t asn_DEF_IEEE_binary32_0w_tags_1[] = {
267 (ASN_TAG_CLASS_UNIVERSAL | (9 << 2))
268};
269asn_TYPE_descriptor_t asn_DEF_IEEE_binary32_0w = {
270 "IEEE-binary32-0w",
271 "IEEE-binary32-0w",
272 &asn_OP_NativeReal,
273 asn_DEF_IEEE_binary32_0w_tags_1,
274 sizeof(asn_DEF_IEEE_binary32_0w_tags_1)
275 /sizeof(asn_DEF_IEEE_binary32_0w_tags_1[0]), /* 1 */
276 asn_DEF_IEEE_binary32_0w_tags_1, /* Same as above */
277 sizeof(asn_DEF_IEEE_binary32_0w_tags_1)
278 /sizeof(asn_DEF_IEEE_binary32_0w_tags_1[0]), /* 1 */
279 { 0, &asn_PER_type_IEEE_binary32_0w_constr_1, IEEE_binary32_0w_constraint },
280 0, 0, /* No members */
281 0 /* No specifics */
282};
283
284
285/*** <<< INCLUDES [IEEE-binary32-w0] >>> ***/
286
287#include <NativeReal.h>
288
289/*** <<< TYPE-DECLS [IEEE-binary32-w0] >>> ***/
290
291typedef double IEEE_binary32_w0_t;
292
293/*** <<< FUNC-DECLS [IEEE-binary32-w0] >>> ***/
294
295extern asn_TYPE_descriptor_t asn_DEF_IEEE_binary32_w0;
296asn_struct_free_f IEEE_binary32_w0_free;
297asn_struct_print_f IEEE_binary32_w0_print;
298asn_constr_check_f IEEE_binary32_w0_constraint;
299ber_type_decoder_f IEEE_binary32_w0_decode_ber;
300der_type_encoder_f IEEE_binary32_w0_encode_der;
301xer_type_decoder_f IEEE_binary32_w0_decode_xer;
302xer_type_encoder_f IEEE_binary32_w0_encode_xer;
303per_type_decoder_f IEEE_binary32_w0_decode_uper;
304per_type_encoder_f IEEE_binary32_w0_encode_uper;
305
306/*** <<< CODE [IEEE-binary32-w0] >>> ***/
307
308int
309IEEE_binary32_w0_constraint(asn_TYPE_descriptor_t *td, const void *sptr,
310 asn_app_constraint_failed_f *ctfailcb, void *app_key) {
311
312 if(!sptr) {
313 ASN__CTFAIL(app_key, td, sptr,
314 "%s: value not given (%s:%d)",
315 td->name, __FILE__, __LINE__);
316 return -1;
317 }
318
319
320 if(1 /* No applicable constraints whatsoever */) {
321 /* Nothing is here. See below */
322 }
323
324 return td->encoding_constraints.general_constraints(td, sptr, ctfailcb, app_key);
325}
326
327/*
328 * This type is implemented using NativeReal,
329 * so here we adjust the DEF accordingly.
330 */
331
332/*** <<< CTDEFS [IEEE-binary32-w0] >>> ***/
333
334static asn_per_constraints_t asn_PER_type_IEEE_binary32_w0_constr_1 CC_NOTUSED = {
335 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
336 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
337 0, 0 /* No PER value map */
338};
339
340/*** <<< STAT-DEFS [IEEE-binary32-w0] >>> ***/
341
342static const ber_tlv_tag_t asn_DEF_IEEE_binary32_w0_tags_1[] = {
343 (ASN_TAG_CLASS_UNIVERSAL | (9 << 2))
344};
345asn_TYPE_descriptor_t asn_DEF_IEEE_binary32_w0 = {
346 "IEEE-binary32-w0",
347 "IEEE-binary32-w0",
348 &asn_OP_NativeReal,
349 asn_DEF_IEEE_binary32_w0_tags_1,
350 sizeof(asn_DEF_IEEE_binary32_w0_tags_1)
351 /sizeof(asn_DEF_IEEE_binary32_w0_tags_1[0]), /* 1 */
352 asn_DEF_IEEE_binary32_w0_tags_1, /* Same as above */
353 sizeof(asn_DEF_IEEE_binary32_w0_tags_1)
354 /sizeof(asn_DEF_IEEE_binary32_w0_tags_1[0]), /* 1 */
355 { 0, &asn_PER_type_IEEE_binary32_w0_constr_1, IEEE_binary32_w0_constraint },
356 0, 0, /* No members */
357 0 /* No specifics */
358};
359
360
361/*** <<< INCLUDES [IEEE-binary64-w] >>> ***/
362
363#include <NativeReal.h>
364
365/*** <<< TYPE-DECLS [IEEE-binary64-w] >>> ***/
366
367typedef double IEEE_binary64_w_t;
368
369/*** <<< FUNC-DECLS [IEEE-binary64-w] >>> ***/
370
371extern asn_TYPE_descriptor_t asn_DEF_IEEE_binary64_w;
372asn_struct_free_f IEEE_binary64_w_free;
373asn_struct_print_f IEEE_binary64_w_print;
374asn_constr_check_f IEEE_binary64_w_constraint;
375ber_type_decoder_f IEEE_binary64_w_decode_ber;
376der_type_encoder_f IEEE_binary64_w_encode_der;
377xer_type_decoder_f IEEE_binary64_w_decode_xer;
378xer_type_encoder_f IEEE_binary64_w_encode_xer;
379per_type_decoder_f IEEE_binary64_w_decode_uper;
380per_type_encoder_f IEEE_binary64_w_encode_uper;
381
382/*** <<< CODE [IEEE-binary64-w] >>> ***/
383
384int
385IEEE_binary64_w_constraint(asn_TYPE_descriptor_t *td, const void *sptr,
386 asn_app_constraint_failed_f *ctfailcb, void *app_key) {
387
388 if(!sptr) {
389 ASN__CTFAIL(app_key, td, sptr,
390 "%s: value not given (%s:%d)",
391 td->name, __FILE__, __LINE__);
392 return -1;
393 }
394
395
396 if(1 /* No applicable constraints whatsoever */) {
397 /* Nothing is here. See below */
398 }
399
400 return td->encoding_constraints.general_constraints(td, sptr, ctfailcb, app_key);
401}
402
403/*
404 * This type is implemented using NativeReal,
405 * so here we adjust the DEF accordingly.
406 */
407
408/*** <<< CTDEFS [IEEE-binary64-w] >>> ***/
409
410static asn_per_constraints_t asn_PER_type_IEEE_binary64_w_constr_1 CC_NOTUSED = {
411 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
412 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
413 0, 0 /* No PER value map */
414};
415
416/*** <<< STAT-DEFS [IEEE-binary64-w] >>> ***/
417
418static const ber_tlv_tag_t asn_DEF_IEEE_binary64_w_tags_1[] = {
419 (ASN_TAG_CLASS_UNIVERSAL | (9 << 2))
420};
421asn_TYPE_descriptor_t asn_DEF_IEEE_binary64_w = {
422 "IEEE-binary64-w",
423 "IEEE-binary64-w",
424 &asn_OP_NativeReal,
425 asn_DEF_IEEE_binary64_w_tags_1,
426 sizeof(asn_DEF_IEEE_binary64_w_tags_1)
427 /sizeof(asn_DEF_IEEE_binary64_w_tags_1[0]), /* 1 */
428 asn_DEF_IEEE_binary64_w_tags_1, /* Same as above */
429 sizeof(asn_DEF_IEEE_binary64_w_tags_1)
430 /sizeof(asn_DEF_IEEE_binary64_w_tags_1[0]), /* 1 */
431 { 0, &asn_PER_type_IEEE_binary64_w_constr_1, IEEE_binary64_w_constraint },
432 0, 0, /* No members */
433 0 /* No specifics */
434};
435
436
437/*** <<< INCLUDES [IEEE-binary64-0w] >>> ***/
438
439#include <NativeReal.h>
440
441/*** <<< TYPE-DECLS [IEEE-binary64-0w] >>> ***/
442
443typedef double IEEE_binary64_0w_t;
444
445/*** <<< FUNC-DECLS [IEEE-binary64-0w] >>> ***/
446
447extern asn_TYPE_descriptor_t asn_DEF_IEEE_binary64_0w;
448asn_struct_free_f IEEE_binary64_0w_free;
449asn_struct_print_f IEEE_binary64_0w_print;
450asn_constr_check_f IEEE_binary64_0w_constraint;
451ber_type_decoder_f IEEE_binary64_0w_decode_ber;
452der_type_encoder_f IEEE_binary64_0w_encode_der;
453xer_type_decoder_f IEEE_binary64_0w_decode_xer;
454xer_type_encoder_f IEEE_binary64_0w_encode_xer;
455per_type_decoder_f IEEE_binary64_0w_decode_uper;
456per_type_encoder_f IEEE_binary64_0w_encode_uper;
457
458/*** <<< CODE [IEEE-binary64-0w] >>> ***/
459
460int
461IEEE_binary64_0w_constraint(asn_TYPE_descriptor_t *td, const void *sptr,
462 asn_app_constraint_failed_f *ctfailcb, void *app_key) {
463
464 if(!sptr) {
465 ASN__CTFAIL(app_key, td, sptr,
466 "%s: value not given (%s:%d)",
467 td->name, __FILE__, __LINE__);
468 return -1;
469 }
470
471
472 if(1 /* No applicable constraints whatsoever */) {
473 /* Nothing is here. See below */
474 }
475
476 return td->encoding_constraints.general_constraints(td, sptr, ctfailcb, app_key);
477}
478
479/*
480 * This type is implemented using NativeReal,
481 * so here we adjust the DEF accordingly.
482 */
483
484/*** <<< CTDEFS [IEEE-binary64-0w] >>> ***/
485
486static asn_per_constraints_t asn_PER_type_IEEE_binary64_0w_constr_1 CC_NOTUSED = {
487 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
488 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
489 0, 0 /* No PER value map */
490};
491
492/*** <<< STAT-DEFS [IEEE-binary64-0w] >>> ***/
493
494static const ber_tlv_tag_t asn_DEF_IEEE_binary64_0w_tags_1[] = {
495 (ASN_TAG_CLASS_UNIVERSAL | (9 << 2))
496};
497asn_TYPE_descriptor_t asn_DEF_IEEE_binary64_0w = {
498 "IEEE-binary64-0w",
499 "IEEE-binary64-0w",
500 &asn_OP_NativeReal,
501 asn_DEF_IEEE_binary64_0w_tags_1,
502 sizeof(asn_DEF_IEEE_binary64_0w_tags_1)
503 /sizeof(asn_DEF_IEEE_binary64_0w_tags_1[0]), /* 1 */
504 asn_DEF_IEEE_binary64_0w_tags_1, /* Same as above */
505 sizeof(asn_DEF_IEEE_binary64_0w_tags_1)
506 /sizeof(asn_DEF_IEEE_binary64_0w_tags_1[0]), /* 1 */
507 { 0, &asn_PER_type_IEEE_binary64_0w_constr_1, IEEE_binary64_0w_constraint },
508 0, 0, /* No members */
509 0 /* No specifics */
510};
511
512
513/*** <<< INCLUDES [IEEE-binary64-w0] >>> ***/
514
515#include <NativeReal.h>
516
517/*** <<< TYPE-DECLS [IEEE-binary64-w0] >>> ***/
518
519typedef double IEEE_binary64_w0_t;
520
521/*** <<< FUNC-DECLS [IEEE-binary64-w0] >>> ***/
522
523extern asn_TYPE_descriptor_t asn_DEF_IEEE_binary64_w0;
524asn_struct_free_f IEEE_binary64_w0_free;
525asn_struct_print_f IEEE_binary64_w0_print;
526asn_constr_check_f IEEE_binary64_w0_constraint;
527ber_type_decoder_f IEEE_binary64_w0_decode_ber;
528der_type_encoder_f IEEE_binary64_w0_encode_der;
529xer_type_decoder_f IEEE_binary64_w0_decode_xer;
530xer_type_encoder_f IEEE_binary64_w0_encode_xer;
531per_type_decoder_f IEEE_binary64_w0_decode_uper;
532per_type_encoder_f IEEE_binary64_w0_encode_uper;
533
534/*** <<< CODE [IEEE-binary64-w0] >>> ***/
535
536int
537IEEE_binary64_w0_constraint(asn_TYPE_descriptor_t *td, const void *sptr,
538 asn_app_constraint_failed_f *ctfailcb, void *app_key) {
539
540 if(!sptr) {
541 ASN__CTFAIL(app_key, td, sptr,
542 "%s: value not given (%s:%d)",
543 td->name, __FILE__, __LINE__);
544 return -1;
545 }
546
547
548 if(1 /* No applicable constraints whatsoever */) {
549 /* Nothing is here. See below */
550 }
551
552 return td->encoding_constraints.general_constraints(td, sptr, ctfailcb, app_key);
553}
554
555/*
556 * This type is implemented using NativeReal,
557 * so here we adjust the DEF accordingly.
558 */
559
560/*** <<< CTDEFS [IEEE-binary64-w0] >>> ***/
561
562static asn_per_constraints_t asn_PER_type_IEEE_binary64_w0_constr_1 CC_NOTUSED = {
563 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
564 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
565 0, 0 /* No PER value map */
566};
567
568/*** <<< STAT-DEFS [IEEE-binary64-w0] >>> ***/
569
570static const ber_tlv_tag_t asn_DEF_IEEE_binary64_w0_tags_1[] = {
571 (ASN_TAG_CLASS_UNIVERSAL | (9 << 2))
572};
573asn_TYPE_descriptor_t asn_DEF_IEEE_binary64_w0 = {
574 "IEEE-binary64-w0",
575 "IEEE-binary64-w0",
576 &asn_OP_NativeReal,
577 asn_DEF_IEEE_binary64_w0_tags_1,
578 sizeof(asn_DEF_IEEE_binary64_w0_tags_1)
579 /sizeof(asn_DEF_IEEE_binary64_w0_tags_1[0]), /* 1 */
580 asn_DEF_IEEE_binary64_w0_tags_1, /* Same as above */
581 sizeof(asn_DEF_IEEE_binary64_w0_tags_1)
582 /sizeof(asn_DEF_IEEE_binary64_w0_tags_1[0]), /* 1 */
583 { 0, &asn_PER_type_IEEE_binary64_w0_constr_1, IEEE_binary64_w0_constraint },
584 0, 0, /* No members */
585 0 /* No specifics */
586};
587