Searched refs:null_allowed (Results 1 - 2 of 2) sorted by relevance

/macosx-10.10/Security-57031.1.35/Security/libsecurity_transform/lib/
H A DSecTransformValidator.h34 or a NULL value if null_allowed is NO.
44 SecTransformAttributeActionBlock SecTransformCreateValidatorForCFtype(CFTypeID expected_type, Boolean null_allowed);
H A DSecCustomTransform.cpp582 SecTransformAttributeActionBlock SecTransformCreateValidatorForCFtype(CFTypeID expected_type, Boolean null_allowed) { argument
584 CFErrorRef (^make_error_message)(SecTransformAttributeRef attr, CFTypeRef value, CFTypeID expected_type, Boolean null_allowed) = local
585 ^(SecTransformAttributeRef attr, CFTypeRef value, CFTypeID expected_type, Boolean null_allowed) {
592 null_allowed ? CFSTR(" either") : CFSTR(""),
594 null_allowed ? CFSTR(" or a NULL") : CFSTR(""));
606 if (null_allowed) {
611 return (CFTypeRef)make_error_message(attr, value, expected_type, null_allowed);
618 return (CFTypeRef)make_error_message(attr, value, expected_type, null_allowed);

Completed in 118 milliseconds