Lines Matching defs:type
66 if ((a->value.ptr != NULL) || (a->type == V_ASN1_NULL))
67 return (a->type);
72 void ASN1_TYPE_set(ASN1_TYPE *a, int type, void *value)
78 a->type = type;
79 if (type == V_ASN1_BOOLEAN)
85 int ASN1_TYPE_set1(ASN1_TYPE *a, int type, const void *value)
87 if (!value || (type == V_ASN1_BOOLEAN)) {
89 ASN1_TYPE_set(a, type, p);
90 } else if (type == V_ASN1_OBJECT) {
95 ASN1_TYPE_set(a, type, odup);
101 ASN1_TYPE_set(a, type, sdup);
115 if (!a || !b || a->type != b->type)
118 switch (a->type) {