Lines Matching refs:types
347 unsigned long types; in type_str() local
349 types = *((unsigned long *)arg); in type_str()
350 if ((types & B_ASN1_PRINTABLESTRING) && !is_printable(value)) in type_str()
351 types &= ~B_ASN1_PRINTABLESTRING; in type_str()
352 if ((types & B_ASN1_IA5STRING) && (value > 127)) in type_str()
353 types &= ~B_ASN1_IA5STRING; in type_str()
354 if ((types & B_ASN1_T61STRING) && (value > 0xff)) in type_str()
355 types &= ~B_ASN1_T61STRING; in type_str()
356 if ((types & B_ASN1_BMPSTRING) && (value > 0xffff)) in type_str()
357 types &= ~B_ASN1_BMPSTRING; in type_str()
358 if (!types) in type_str()
360 *((unsigned long *)arg) = types; in type_str()