13 const uint8_t *ch = st->
buf;
14 const uint8_t *end = ch + st->
size;
16 for(; ch < end; ch++) {
18 if(!(cv <= 127UL))
return -1;
30 "%s: value not given (%s:%d)",
31 td->
name, __FILE__, __LINE__);
35 value = *(
const long *)sptr;
37 if((value >= 0L && value <= 9999L)) {
42 "%s: constraint failed (%s:%d)",
43 td->
name, __FILE__, __LINE__);
56 "%s: value not given (%s:%d)",
57 td->
name, __FILE__, __LINE__);
63 if((size >= 1UL && size <= 24UL)
69 "%s: constraint failed (%s:%d)",
70 td->
name, __FILE__, __LINE__);
83 "%s: value not given (%s:%d)",
84 td->
name, __FILE__, __LINE__);
89 if((ssize_t)size < 0) {
91 "%s: UTF-8: broken encoding (%s:%d)",
92 td->
name, __FILE__, __LINE__);
96 if((size >= 1UL && size <= 24UL)) {
101 "%s: constraint failed (%s:%d)",
102 td->
name, __FILE__, __LINE__);
107 #if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
109 { APC_CONSTRAINED, 14, 14, 0, 9999 } ,
110 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
114 #if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
116 { APC_CONSTRAINED, 7, 7, 0, 127 } ,
117 { APC_CONSTRAINED, 5, 5, 1, 24 } ,
121 #if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
123 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
124 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
135 #if !defined(ASN_DISABLE_OER_SUPPORT)
138 #if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
141 #if !defined(ASN_DISABLE_JER_SUPPORT)
155 #if !defined(ASN_DISABLE_OER_SUPPORT)
158 #if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
159 &asn_PER_memb_cam_ts_unNumber_constr_3,
161 #if !defined(ASN_DISABLE_JER_SUPPORT)
175 #if !defined(ASN_DISABLE_OER_SUPPORT)
178 #if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
181 #if !defined(ASN_DISABLE_JER_SUPPORT)
187 "elevatedTemperature"
195 #if !defined(ASN_DISABLE_OER_SUPPORT)
198 #if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
201 #if !defined(ASN_DISABLE_JER_SUPPORT)
215 #if !defined(ASN_DISABLE_OER_SUPPORT)
218 #if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
221 #if !defined(ASN_DISABLE_JER_SUPPORT)
235 #if !defined(ASN_DISABLE_OER_SUPPORT)
238 #if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
239 &asn_PER_memb_cam_ts_emergencyActionCode_constr_7,
241 #if !defined(ASN_DISABLE_JER_SUPPORT)
247 "emergencyActionCode"
255 #if !defined(ASN_DISABLE_OER_SUPPORT)
258 #if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
261 #if !defined(ASN_DISABLE_JER_SUPPORT)
275 #if !defined(ASN_DISABLE_OER_SUPPORT)
278 #if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
279 &asn_PER_memb_cam_ts_companyName_constr_9,
281 #if !defined(ASN_DISABLE_JER_SUPPORT)
314 "DangerousGoodsExtended",
315 "DangerousGoodsExtended",
324 #if !defined(ASN_DISABLE_OER_SUPPORT)
327 #if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
330 #if !defined(ASN_DISABLE_JER_SUPPORT)