Lines Matching refs:localError
470 CFErrorRef localError = NULL;
474 ok = SecTransformRegister(DecodeName, &DecodeTransform, (CFErrorRef*)&localError);
479 if (!ok || NULL != localError)
483 *error = localError;
488 SecTransformRef tr = SecTransformCreate(DecodeName, &localError);
489 if (!tr || NULL != localError)
491 // There might be a leak if tr is returned but localError is
495 *error = localError;
500 SecTransformSetAttribute(tr, kSecDecodeTypeAttribute, DecodeType, &localError);
501 if (NULL != localError)
507 *error = localError;
959 CFErrorRef localError = NULL;
963 ok = SecTransformRegister(EncodeName, &EncodeTransform, (CFErrorRef*)&localError);
968 if (!ok || NULL != localError)
972 *error = localError;
978 SecTransformRef tr = SecTransformCreate(EncodeName, &localError);
979 if (!tr || NULL != localError)
981 // There might be a leak if tr is returned but localError is
985 *error = localError;
990 SecTransformSetAttribute(tr, kSecEncodeTypeAttribute, EncodeType, &localError);
991 if (NULL != localError)
997 *error = localError;