Lines Matching defs:tr
488 SecTransformRef tr = SecTransformCreate(DecodeName, &localError);
489 if (!tr || NULL != localError)
491 // There might be a leak if tr is returned but localError is
500 SecTransformSetAttribute(tr, kSecDecodeTypeAttribute, DecodeType, &localError);
503 CFRelease(tr);
504 tr = NULL;
511 return tr;
978 SecTransformRef tr = SecTransformCreate(EncodeName, &localError);
979 if (!tr || NULL != localError)
981 // There might be a leak if tr is returned but localError is
990 SecTransformSetAttribute(tr, kSecEncodeTypeAttribute, EncodeType, &localError);
993 CFRelease(tr);
994 tr = NULL;
1001 return tr;