Lines Matching refs:localError
47 CFErrorRef localError = NULL;
49 CFDataRef dictAsData = SOSItemGet(kSOSPeerDataLabel, &localError);
52 der_decode_dictionary(kCFAllocatorDefault, kCFPropertyListMutableContainers, (CFDictionaryRef*)&peerDict, &localError,
59 secnotice("peer", "Error finding persisted peer data %@, using empty", localError);
61 CFReleaseNull(localError);
90 CFErrorRef localError = NULL;
91 CFIndex size = der_sizeof_dictionary(sPersistenceCache, &localError);
95 secerror("Error calculating size of persistence cache: %@", localError);
100 if (CFDataGetBytePtr(dataToStore) != (der = der_encode_dictionary(sPersistenceCache, &localError,
103 secerror("Error flattening peer cache: %@", localError);
108 if (!SOSItemUpdateOrAdd(kSOSPeerDataLabel, kSecAttrAccessibleWhenUnlockedThisDeviceOnly, dataToStore, &localError)) {
109 secerror("Peer cache item save failed: %@", localError);
114 CFReleaseNull(localError);