Home | History | Annotate | Download | only in asn1

Lines Matching refs:bc

38 #define IF_OPT_COMPARE(ac,bc,e) \
39 if (((ac)->e == NULL && (bc)->e != NULL) || (((ac)->e != NULL && (bc)->e == NULL))) return 1; \
41 #define COMPARE_OPT_STRING(ac,bc,e) \
42 do { if (strcmp(*(ac)->e, *(bc)->e) != 0) return 1; } while(0)
43 #define COMPARE_OPT_OCTET_STRING(ac,bc,e) \
44 do { if ((ac)->e->length != (bc)->e->length || memcmp((ac)->e->data, (bc)->e->data, (ac)->e->length) != 0) return 1; } while(0)
45 #define COMPARE_STRING(ac,bc,e) \
46 do { if (strcmp((ac)->e, (bc)->e) != 0) return 1; } while(0)
47 #define COMPARE_INTEGER(ac,bc,e) \
48 do { if ((ac)->e != (bc)->e) return 1; } while(0)
49 #define COMPARE_OPT_INTEGER(ac,bc,e) \
50 do { if (*(ac)->e != *(bc)->e) return 1; } while(0)
51 #define COMPARE_MEM(ac,bc,e,len) \
52 do { if (memcmp((ac)->e, (bc)->e,len) != 0) return 1; } while(0)
53 #define COMPARE_OCTET_STRING(ac,bc,e) \
54 do { if ((ac)->e.length != (bc)->e.length || memcmp((ac)->e.data, (bc)->e.data, (ac)->e.length) != 0) return 1; } while(0)