Lines Matching refs:stname

130 #define ASN1_SEQUENCE_END(stname) ASN1_SEQUENCE_END_name(stname, stname)  argument
132 #define ASN1_SEQUENCE_END_name(stname, tname) \ argument
140 sizeof(stname),\
141 #stname \
178 #define ASN1_BROKEN_SEQUENCE_END(stname) ASN1_SEQUENCE_END_ref(stname, stname) argument
180 #define ASN1_SEQUENCE_END_enc(stname, tname) ASN1_SEQUENCE_END_ref(stname, tname) argument
182 #define ASN1_SEQUENCE_END_cb(stname, tname) ASN1_SEQUENCE_END_ref(stname, tname) argument
184 #define ASN1_SEQUENCE_END_ref(stname, tname) \ argument
192 sizeof(stname),\
193 #stname \
196 #define ASN1_NDEF_SEQUENCE_END_cb(stname, tname) \ argument
204 sizeof(stname),\
205 #stname \
238 #define ASN1_CHOICE_END(stname) ASN1_CHOICE_END_name(stname, stname) argument
240 #define ASN1_CHOICE_END_name(stname, tname) ASN1_CHOICE_END_selector(stname, tname, type) argument
242 #define ASN1_CHOICE_END_selector(stname, tname, selname) \ argument
246 offsetof(stname,selname) ,\
250 sizeof(stname),\
251 #stname \
254 #define ASN1_CHOICE_END_cb(stname, tname, selname) \ argument
258 offsetof(stname,selname) ,\
262 sizeof(stname),\
263 #stname \
276 #define ASN1_EX_TYPE(flags, tag, stname, field, type) { \ argument
277 (flags), (tag), offsetof(stname, field),\
287 #define ASN1_IMP_EX(stname, field, type, tag, ex) \ argument
288 ASN1_EX_TYPE(ASN1_TFLG_IMPLICIT | ex, tag, stname, field, type)
290 #define ASN1_EXP_EX(stname, field, type, tag, ex) \ argument
291 ASN1_EX_TYPE(ASN1_TFLG_EXPLICIT | ex, tag, stname, field, type)
298 #define ASN1_SIMPLE(stname, field, type) ASN1_EX_TYPE(0,0, stname, field, type) argument
301 #define ASN1_OPT(stname, field, type) ASN1_EX_TYPE(ASN1_TFLG_OPTIONAL, 0, stname, field, type) argument
304 #define ASN1_IMP(stname, field, type, tag) ASN1_IMP_EX(stname, field, type, tag, 0) argument
307 #define ASN1_IMP_OPT(stname, field, type, tag) ASN1_IMP_EX(stname, field, type, tag, ASN1_TFLG_OPTI… argument
311 #define ASN1_EXP(stname, field, type, tag) ASN1_EXP_EX(stname, field, type, tag, 0) argument
312 #define ASN1_EXP_OPT(stname, field, type, tag) ASN1_EXP_EX(stname, field, type, tag, ASN1_TFLG_OPTI… argument
315 #define ASN1_SEQUENCE_OF(stname, field, type) \ argument
316 ASN1_EX_TYPE(ASN1_TFLG_SEQUENCE_OF, 0, stname, field, type)
319 #define ASN1_SEQUENCE_OF_OPT(stname, field, type) \ argument
320 ASN1_EX_TYPE(ASN1_TFLG_SEQUENCE_OF|ASN1_TFLG_OPTIONAL, 0, stname, field, type)
324 #define ASN1_SET_OF(stname, field, type) \ argument
325 ASN1_EX_TYPE(ASN1_TFLG_SET_OF, 0, stname, field, type)
327 #define ASN1_SET_OF_OPT(stname, field, type) \ argument
328 ASN1_EX_TYPE(ASN1_TFLG_SET_OF|ASN1_TFLG_OPTIONAL, 0, stname, field, type)
332 #define ASN1_IMP_SET_OF(stname, field, type, tag) \ argument
333 ASN1_IMP_EX(stname, field, type, tag, ASN1_TFLG_SET_OF)
335 #define ASN1_EXP_SET_OF(stname, field, type, tag) \ argument
336 ASN1_EXP_EX(stname, field, type, tag, ASN1_TFLG_SET_OF)
338 #define ASN1_IMP_SET_OF_OPT(stname, field, type, tag) \ argument
339 ASN1_IMP_EX(stname, field, type, tag, ASN1_TFLG_SET_OF|ASN1_TFLG_OPTIONAL)
341 #define ASN1_EXP_SET_OF_OPT(stname, field, type, tag) \ argument
342 ASN1_EXP_EX(stname, field, type, tag, ASN1_TFLG_SET_OF|ASN1_TFLG_OPTIONAL)
344 #define ASN1_IMP_SEQUENCE_OF(stname, field, type, tag) \ argument
345 ASN1_IMP_EX(stname, field, type, tag, ASN1_TFLG_SEQUENCE_OF)
347 #define ASN1_IMP_SEQUENCE_OF_OPT(stname, field, type, tag) \ argument
348 ASN1_IMP_EX(stname, field, type, tag, ASN1_TFLG_SEQUENCE_OF|ASN1_TFLG_OPTIONAL)
350 #define ASN1_EXP_SEQUENCE_OF(stname, field, type, tag) \ argument
351 ASN1_EXP_EX(stname, field, type, tag, ASN1_TFLG_SEQUENCE_OF)
353 #define ASN1_EXP_SEQUENCE_OF_OPT(stname, field, type, tag) \ argument
354 ASN1_EXP_EX(stname, field, type, tag, ASN1_TFLG_SEQUENCE_OF|ASN1_TFLG_OPTIONAL)
357 #define ASN1_NDEF_EXP(stname, field, type, tag) \ argument
358 ASN1_EXP_EX(stname, field, type, tag, ASN1_TFLG_NDEF)
361 #define ASN1_NDEF_EXP_OPT(stname, field, type, tag) \ argument
362 ASN1_EXP_EX(stname, field, type, tag, ASN1_TFLG_OPTIONAL|ASN1_TFLG_NDEF)
720 #define IMPLEMENT_ASN1_TYPE(stname) IMPLEMENT_ASN1_TYPE_ex(stname, stname, 0) argument
766 #define IMPLEMENT_ASN1_FUNCTIONS(stname) IMPLEMENT_ASN1_FUNCTIONS_fname(stname, stname, stname) argument
768 #define IMPLEMENT_ASN1_FUNCTIONS_name(stname, itname) IMPLEMENT_ASN1_FUNCTIONS_fname(stname, itname… argument
770 #define IMPLEMENT_ASN1_FUNCTIONS_ENCODE_name(stname, itname) \ argument
771 IMPLEMENT_ASN1_FUNCTIONS_ENCODE_fname(stname, itname, itname)
773 #define IMPLEMENT_STATIC_ASN1_ALLOC_FUNCTIONS(stname) \ argument
774 IMPLEMENT_ASN1_ALLOC_FUNCTIONS_pfname(static, stname, stname, stname)
776 #define IMPLEMENT_ASN1_ALLOC_FUNCTIONS(stname) \ argument
777 IMPLEMENT_ASN1_ALLOC_FUNCTIONS_fname(stname, stname, stname)
779 #define IMPLEMENT_ASN1_ALLOC_FUNCTIONS_pfname(pre, stname, itname, fname) \ argument
780 pre stname *fname##_new(void) \
782 return (stname *)ASN1_item_new(ASN1_ITEM_rptr(itname)); \
784 pre void fname##_free(stname *a) \
789 #define IMPLEMENT_ASN1_ALLOC_FUNCTIONS_fname(stname, itname, fname) \ argument
790 stname *fname##_new(void) \
792 return (stname *)ASN1_item_new(ASN1_ITEM_rptr(itname)); \
794 void fname##_free(stname *a) \
799 #define IMPLEMENT_ASN1_FUNCTIONS_fname(stname, itname, fname) \ argument
800 IMPLEMENT_ASN1_ENCODE_FUNCTIONS_fname(stname, itname, fname) \
801 IMPLEMENT_ASN1_ALLOC_FUNCTIONS_fname(stname, itname, fname)
803 #define IMPLEMENT_ASN1_ENCODE_FUNCTIONS_fname(stname, itname, fname) \ argument
804 stname *d2i_##fname(stname **a, const unsigned char **in, long len) \
806 return (stname *)ASN1_item_d2i((ASN1_VALUE **)a, in, len, ASN1_ITEM_rptr(itname));\
808 int i2d_##fname(stname *a, unsigned char **out) \
813 #define IMPLEMENT_ASN1_NDEF_FUNCTION(stname) \ argument
814 int i2d_##stname##_NDEF(stname *a, unsigned char **out) \
816 return ASN1_item_ndef_i2d((ASN1_VALUE *)a, out, ASN1_ITEM_rptr(stname));\
822 #define IMPLEMENT_ASN1_ENCODE_FUNCTIONS_const_fname(stname, itname, fname) \ argument
823 stname *d2i_##fname(stname **a, const unsigned char **in, long len) \
825 return (stname *)ASN1_item_d2i((ASN1_VALUE **)a, in, len, ASN1_ITEM_rptr(itname));\
827 int i2d_##fname(const stname *a, unsigned char **out) \
832 #define IMPLEMENT_ASN1_DUP_FUNCTION(stname) \ argument
833 stname * stname##_dup(stname *x) \
835 return ASN1_item_dup(ASN1_ITEM_rptr(stname), x); \
838 #define IMPLEMENT_ASN1_PRINT_FUNCTION(stname) \ argument
839 IMPLEMENT_ASN1_PRINT_FUNCTION_fname(stname, stname, stname)
841 #define IMPLEMENT_ASN1_PRINT_FUNCTION_fname(stname, itname, fname) \ argument
842 int fname##_print_ctx(BIO *out, stname *x, int indent, \
852 #define IMPLEMENT_ASN1_FUNCTIONS_const_fname(stname, itname, fname) \ argument
853 IMPLEMENT_ASN1_ENCODE_FUNCTIONS_const_fname(stname, itname, fname) \
854 IMPLEMENT_ASN1_ALLOC_FUNCTIONS_fname(stname, itname, fname)