Lines Matching refs:itname

81 #define ASN1_ITEM_start(itname) \  argument
82 const ASN1_ITEM itname##_it = {
84 #define ASN1_ITEM_end(itname) \ argument
724 #define IMPLEMENT_ASN1_TYPE_ex(itname, vname, ex) \ argument
725 ASN1_ITEM_start(itname) \
726 ASN1_ITYPE_PRIMITIVE, V_##vname, NULL, 0, NULL, ex, #itname \
727 ASN1_ITEM_end(itname)
730 #define IMPLEMENT_ASN1_MSTRING(itname, mask) \ argument
731 ASN1_ITEM_start(itname) \
732 ASN1_ITYPE_MSTRING, mask, NULL, 0, NULL, sizeof(ASN1_STRING), #itname \
733 ASN1_ITEM_end(itname)
771 #define IMPLEMENT_ASN1_FUNCTIONS_name(stname, itname) IMPLEMENT_ASN1_FUNCTIONS_fname(stname, itname argument
773 #define IMPLEMENT_ASN1_FUNCTIONS_ENCODE_name(stname, itname) \ argument
774 IMPLEMENT_ASN1_FUNCTIONS_ENCODE_fname(stname, itname, itname)
782 #define IMPLEMENT_ASN1_ALLOC_FUNCTIONS_pfname(pre, stname, itname, fname) \ argument
785 return (stname *)ASN1_item_new(ASN1_ITEM_rptr(itname)); \
789 ASN1_item_free((ASN1_VALUE *)a, ASN1_ITEM_rptr(itname)); \
792 #define IMPLEMENT_ASN1_ALLOC_FUNCTIONS_fname(stname, itname, fname) \ argument
795 return (stname *)ASN1_item_new(ASN1_ITEM_rptr(itname)); \
799 ASN1_item_free((ASN1_VALUE *)a, ASN1_ITEM_rptr(itname)); \
802 #define IMPLEMENT_ASN1_FUNCTIONS_fname(stname, itname, fname) \ argument
803 IMPLEMENT_ASN1_ENCODE_FUNCTIONS_fname(stname, itname, fname) \
804 IMPLEMENT_ASN1_ALLOC_FUNCTIONS_fname(stname, itname, fname)
806 #define IMPLEMENT_ASN1_ENCODE_FUNCTIONS_fname(stname, itname, fname) \ argument
809 return (stname *)ASN1_item_d2i((ASN1_VALUE **)a, in, len, ASN1_ITEM_rptr(itname));\
813 return ASN1_item_i2d((ASN1_VALUE *)a, out, ASN1_ITEM_rptr(itname));\
825 #define IMPLEMENT_ASN1_ENCODE_FUNCTIONS_const_fname(stname, itname, fname) \ argument
828 return (stname *)ASN1_item_d2i((ASN1_VALUE **)a, in, len, ASN1_ITEM_rptr(itname));\
832 return ASN1_item_i2d((ASN1_VALUE *)a, out, ASN1_ITEM_rptr(itname));\
844 #define IMPLEMENT_ASN1_FUNCTIONS_const_fname(stname, itname, fname) \ argument
845 IMPLEMENT_ASN1_ENCODE_FUNCTIONS_const_fname(stname, itname, fname) \
846 IMPLEMENT_ASN1_ALLOC_FUNCTIONS_fname(stname, itname, fname)