Searched refs:expected_type (Results 1 - 5 of 5) sorted by relevance

/macosx-10.10/Security-57031.1.35/Security/libsecurity_transform/lib/
H A DSecTransformValidator.h33 @abstract Create a validator that triggers an error when presented a CF type other then expected_type,
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) {
586 CFStringRef expected_type_name = CFCopyTypeIDDescription(expected_type);
608 if (value == NULL || CFGetTypeID(value) == expected_type) {
611 return (CFTypeRef)make_error_message(attr, value, expected_type, null_allowed);
615 if (value != NULL && CFGetTypeID(value) == expected_type) {
618 return (CFTypeRef)make_error_message(attr, value, expected_type, null_allowed);
/macosx-10.10/ppp-786.1.1/Drivers/L2TP/L2TP-plugin/
H A Dl2tp.c217 static int process_pkt_data(u_int8_t* buf, size_t len, u_int16_t* type, struct l2tp_parameters* params, u_int16_t expected_type);
542 int process_pkt_data(u_int8_t* buf, size_t len, u_int16_t* type, struct l2tp_parameters* params, u_int16_t expected_type) argument
964 if (expected_type && msg_type != expected_type) {
965 error("L2TP received invalid message (expected %s, received %s)", msg_type_str(expected_type), msg_type_str(msg_type));
/macosx-10.10/emacs-93/emacs/src/
H A Dxrdb.c665 x_get_resource (rdb, name, class, expected_type, ret_value)
668 XrmRepresentation expected_type;
680 && (type == expected_type))
/macosx-10.10/OpenSSH-189/openssh/
H A Dpacket.c1139 packet_read_expect(int expected_type) argument
1144 if (type != expected_type)
1146 expected_type, type);

Completed in 89 milliseconds