Searched refs:error (Results 151 - 175 of 5641) sorted by relevance

1234567891011>>

/macosx-10.10.1/Security-57031.1.35/Security/sec/SOSCircle/SecureObjectSync/
H A DSOSCloudCircle.c71 SOSCCStatus SOSCCThisDeviceIsInCircle(CFErrorRef *error) argument
79 do_if_registered(soscc_ThisDeviceIsInCircle, error);
81 xpc_object_t message = securityd_create_message(kSecXPCOpDeviceInCircle, error);
83 xpc_object_t response = securityd_message_with_reply_sync(message, error);
92 if (response && securityd_message_no_error(response, error))
95 SecCFCreateErrorWithFormat(0, sSecXPCErrorDomain, NULL, error, NULL, CFSTR("Remote error occurred/no info: %s"), desc);
110 static CFStringRef simple_cfstring_error_request(enum SecXPCOperation op, CFErrorRef* error) argument
115 securityd_send_sync_and_do(op, error, NULL, ^bool(xpc_object_t response, __unused CFErrorRef *error) {
127 simple_bool_error_request(enum SecXPCOperation op, CFErrorRef* error) argument
139 simple_array_error_request(enum SecXPCOperation op, CFErrorRef* error) argument
152 simple_int_error_request(enum SecXPCOperation op, CFErrorRef* error) argument
167 array_of_info_error_request(enum SecXPCOperation op, CFErrorRef* error) argument
183 info_array_to_bool_error_request(enum SecXPCOperation op, CFArrayRef peer_infos, CFErrorRef* error) argument
200 uint64_t_to_bool_error_request(enum SecXPCOperation op, uint64_t number, CFErrorRef* error) argument
217 SOSCCRequestToJoinCircle(CFErrorRef* error) argument
227 SOSCCRequestToJoinCircleAfterRestore(CFErrorRef* error) argument
237 SOSCCRequestEnsureFreshParameters(CFErrorRef* error) argument
247 SOSCCResetToOffering(CFErrorRef* error) argument
258 SOSCCResetToEmpty(CFErrorRef* error) argument
269 SOSCCRemoveThisDeviceFromCircle(CFErrorRef* error) argument
279 SOSCCBailFromCircle_BestEffort(uint64_t limit_in_seconds, CFErrorRef* error) argument
289 SOSCCSignedOut(bool immediate, CFErrorRef* error) argument
300 SOSCCCopyPeerPeerInfo(CFErrorRef* error) argument
310 SOSCCCopyConcurringPeerPeerInfo(CFErrorRef* error) argument
320 SOSCCCopyGenerationPeerInfo(CFErrorRef* error) argument
330 SOSCCCopyApplicantPeerInfo(CFErrorRef* error) argument
339 SOSCCValidateUserPublic(CFErrorRef* error) argument
348 SOSCCCopyValidPeerPeerInfo(CFErrorRef* error) argument
358 SOSCCCopyNotValidPeerPeerInfo(CFErrorRef* error) argument
368 SOSCCCopyRetirementPeerInfo(CFErrorRef* error) argument
378 SOSCCAcceptApplicants(CFArrayRef applicants, CFErrorRef* error) argument
388 SOSCCRejectApplicants(CFArrayRef applicants, CFErrorRef *error) argument
398 label_and_password_to_bool_error_request(enum SecXPCOperation op, CFStringRef user_label, CFDataRef user_password, CFErrorRef* error) argument
418 deviceid_to_bool_error_request(enum SecXPCOperation op, CFStringRef IDS, CFErrorRef* error) argument
437 SOSCCRegisterUserCredentials(CFStringRef user_label, CFDataRef user_password, CFErrorRef* error) argument
443 SOSCCSetUserCredentials(CFStringRef user_label, CFDataRef user_password, CFErrorRef* error) argument
453 SOSCCSetDeviceID(CFStringRef IDS, CFErrorRef* error) argument
462 SOSCCTryUserCredentials(CFStringRef user_label, CFDataRef user_password, CFErrorRef* error) argument
473 SOSCCCanAuthenticate(CFErrorRef* error) argument
482 SOSCCPurgeUserCredentials(CFErrorRef* error) argument
491 SOSCCGetLastDepartureReason(CFErrorRef *error) argument
500 SOSCCCopyIncompatibilityInfo(CFErrorRef* error) argument
509 SOSCCRequestDeviceID(CFErrorRef* error) argument
519 SOSCCProcessEnsurePeerRegistration(CFErrorRef* error) argument
530 SOSCCProcessSyncWithAllPeers(CFErrorRef* error) argument
[all...]
H A DSOSDataSource.h53 SOSDataSourceRef (*create_datasource)(SOSDataSourceFactoryRef factory, CFStringRef dataSourceName, CFErrorRef *error);
65 kSOSMergeFailure = 0, // CFErrorRef returned, no error returned in any other case
111 SOSManifestRef (*dsCopyManifest)(SOSDataSourceRef ds, CFErrorRef *error);
112 bool (*dsForEachObject)(SOSDataSourceRef ds, SOSManifestRef manifest, CFErrorRef *error, void (^handleObject)(CFDataRef key, SOSObjectRef object, bool *stop));
113 CFDataRef (*dsCopyStateWithKey)(SOSDataSourceRef ds, CFStringRef key, CFStringRef pdmn, CFErrorRef *error);
114 bool (*dsWith)(SOSDataSourceRef ds, CFErrorRef *error, SOSDataSourceTransactionSource source, void(^transaction)(SOSTransactionRef txn, bool *commit));
115 bool (*dsRelease)(SOSDataSourceRef ds, CFErrorRef *error); // Destructor
118 SOSMergeResult (*dsMergeObject)(SOSTransactionRef txn, SOSObjectRef object, SOSObjectRef *createdObject, CFErrorRef *error);
119 bool (*dsSetStateWithKey)(SOSDataSourceRef ds, SOSTransactionRef txn, CFStringRef pdmn, CFStringRef key, CFDataRef state, CFErrorRef *error);
120 bool (*dsRestoreObject)(SOSTransactionRef txn, uint64_t handle, CFDictionaryRef item, CFErrorRef *error);
133 SOSDataSourceGetSharedEngine(SOSDataSourceRef ds, CFErrorRef *error) argument
145 SOSDataSourceCopyManifest(SOSDataSourceRef ds, CFErrorRef *error) argument
149 SOSDataSourceForEachObject(SOSDataSourceRef ds, SOSManifestRef manifest, CFErrorRef *error, void (^handleObject)(CFDataRef digest, SOSObjectRef object, bool *stop)) argument
153 SOSDataSourceWith(SOSDataSourceRef ds, CFErrorRef *error, void(^transaction)(SOSTransactionRef txn, bool *commit)) argument
158 SOSDataSourceWithAPI(SOSDataSourceRef ds, bool isAPI, CFErrorRef *error, void(^transaction)(SOSTransactionRef txn, bool *commit)) argument
163 SOSDataSourceCopyStateWithKey(SOSDataSourceRef ds, CFStringRef key, CFStringRef pdmn, CFErrorRef *error) argument
168 SOSDataSourceRelease(SOSDataSourceRef ds, CFErrorRef *error) argument
175 SOSDataSourceMergeObject(SOSDataSourceRef ds, SOSTransactionRef txn, SOSObjectRef peersObject, SOSObjectRef *createdObject, CFErrorRef *error) argument
179 SOSDataSourceSetStateWithKey(SOSDataSourceRef ds, SOSTransactionRef txn, CFStringRef key, CFStringRef pdmn, CFDataRef state, CFErrorRef *error) argument
188 SOSObjectCopyDigest(SOSDataSourceRef ds, SOSObjectRef object, CFErrorRef *error) argument
192 SOSObjectCopyPrimaryKey(SOSDataSourceRef ds, SOSObjectRef object, CFErrorRef *error) argument
196 SOSObjectCreateWithPropertyList(SOSDataSourceRef ds, CFDictionaryRef plist, CFErrorRef *error) argument
200 SOSObjectCopyPropertyList(SOSDataSourceRef ds, SOSObjectRef object, CFErrorRef *error) argument
204 SOSObjectCopyBackup(SOSDataSourceRef ds, SOSObjectRef object, uint64_t handle, CFErrorRef *error) argument
208 SOSObjectRestoreObject(SOSDataSourceRef ds, SOSTransactionRef txn, uint64_t handle, CFDictionaryRef item, CFErrorRef *error) argument
217 SOSDataSourceFactoryGetEngineForDataSourceName(SOSDataSourceFactoryRef factory, CFStringRef dataSourceName, CFErrorRef *error) argument
[all...]
/macosx-10.10.1/Security-57031.1.35/Security/sec/SOSCircle/Regressions/
H A Dsc-60-peer.c44 CFErrorRef error = NULL;
54 SOSPeerSendBlock sendBlock = ^bool (CFDataRef message, CFErrorRef *error) {
90 ok(peer = SOSPeerCreateSimple(peer_id, kSOSPeerVersion, &error),
91 "create peer: %@", error);
92 CFReleaseNull(error);
100 ok(SOSPeerSendMessage(peer, message, &error, sendBlock),
101 "send message to peer: %@", error);
102 CFReleaseNull(error);
112 SOSManifestRef manifest = SOSPeerGetManifest(peer, mfType, &error);
113 ok(manifest == NULL, "No manifest yet for this peer: %@", error);
[all...]
H A Dsc-50-message.c42 CFErrorRef error = NULL; local
46 ok(sender = SOSManifestCreateWithBytes(NULL, 0, &error), "empty sender manifest create: %@", error);
47 CFReleaseNull(error);
48 ok(sentMessage = SOSMessageCreateWithManifests(kCFAllocatorDefault, sender, NULL, NULL, false, &error), "sentMessage create: %@", error);
49 CFReleaseNull(error);
50 ok(data = SOSMessageCreateData(sentMessage, msgid, &error), "sentMessage data create: %@", error);
51 CFReleaseNull(error);
76 CFErrorRef error = NULL; local
112 CFErrorRef error = NULL; local
152 CFErrorRef error = NULL; local
156 ok(SOSMessageAppendObject(message, der, &error), "likes object: %@", error); local
168 CFErrorRef error = NULL; local
[all...]
/macosx-10.10.1/Security-57031.1.35/Security/sec/securityd/Regressions/
H A Dsecd-60-account-cloud-identity.c58 CFErrorRef error = NULL; local
68 ok(SOSAccountAssertUserCredentials(bob_account, cfaccount, cfpassword, &error), "Credential setting (%@)", error); local
73 ok(SOSAccountAssertUserCredentials(alice_account, cfaccount, cfpassword, &error), "Credential setting (%@)", error); local
74 CFReleaseNull(error);
76 ok(SOSAccountAssertUserCredentials(carole_account, cfaccount, cfpassword, &error), "Credential setting (%@)", error); local
77 CFReleaseNull(error);
79 ok(SOSAccountResetToOffering(alice_account, &error), "Rese local
84 ok(SOSAccountJoinCircles(bob_account, &error), "Bob Applies (%@)", error); local
91 ok(applicants && CFArrayGetCount(applicants) == 1, "See one applicant %@ (%@)", applicants, error); local
92 ok(SOSAccountAcceptApplicants(alice_account, applicants, &error), "Alice accepts (%@)", error); local
103 ok(SOSAccountJoinCirclesAfterRestore(carole_account, &error), "Carole cloud identity joins (%@)", error); local
123 ok(SOSAccountJoinCircles(carole_account, &error), "Carole normally joins (%@)", error); local
130 ok(SOSAccountJoinCirclesAfterRestore(carole_account, &error), "Carole cloud identity joins (%@)", error); local
[all...]
/macosx-10.10.1/ICU-531.30/icuSources/samples/layout/
H A DGnomeGUISupport.cpp26 GtkWidget *error; local
29 error = gnome_error_dialog(s);
30 gtk_widget_show(error);
/macosx-10.10.1/Security-57031.1.35/Security/include/security_utilities/
H A Derrors.cpp73 UnixError::UnixError() : error(errno)
78 UnixError::UnixError(int err) : error(err)
84 { return "UNIX error exception"; }
89 return error + errSecErrnoBase;
93 { return error; }
104 MacOSError::MacOSError(int err) : error(err)
110 { return "MacOS error"; }
113 { return error; }
118 if (error >= errSecErrnoBase && error <
128 throwMe(int error) argument
[all...]
/macosx-10.10.1/Security-57031.1.35/Security/libsecurity_utilities/lib/
H A Derrors.cpp73 UnixError::UnixError() : error(errno)
78 UnixError::UnixError(int err) : error(err)
84 { return "UNIX error exception"; }
89 return error + errSecErrnoBase;
93 { return error; }
104 MacOSError::MacOSError(int err) : error(err)
110 { return "MacOS error"; }
113 { return error; }
118 if (error >= errSecErrnoBase && error <
128 throwMe(int error) argument
[all...]
/macosx-10.10.1/Security-57031.1.35/Security/sec/Security/
H A DSecOTR.h58 SecOTRFullIdentityRef SecOTRFullIdentityCreate(CFAllocatorRef allocator, CFErrorRef *error);
61 CFErrorRef *error);
62 SecOTRFullIdentityRef SecOTRFullIdentityCreateFromData(CFAllocatorRef allocator, CFDataRef serializedData, CFErrorRef *error);
64 SecOTRFullIdentityRef SecOTRFullIdentityCreateFromBytes(CFAllocatorRef allocator, const uint8_t**bytes, size_t *size, CFErrorRef *error);
66 bool SecOTRFIPurgeFromKeychain(SecOTRFullIdentityRef thisID, CFErrorRef *error);
68 bool SecOTRFIAppendSerialization(SecOTRFullIdentityRef fullID, CFMutableDataRef serializeInto, CFErrorRef *error);
71 bool SecOTRFIPurgeAllFromKeychain(CFErrorRef *error);
77 SecOTRPublicIdentityRef SecOTRPublicIdentityCopyFromPrivate(CFAllocatorRef allocator, SecOTRFullIdentityRef fullID, CFErrorRef *error);
80 CFErrorRef *error);
82 SecOTRPublicIdentityRef SecOTRPublicIdentityCreateFromData(CFAllocatorRef allocator, CFDataRef serializedData, CFErrorRef *error);
[all...]
/macosx-10.10.1/WebKit2-7600.1.25/Shared/Cocoa/
H A DWKNSError.h35 inline NSError *wrapper(API::Error& error) argument
37 ASSERT([error.wrapper() isKindOfClass:[NSError self]]);
38 return (NSError *)error.wrapper();
/macosx-10.10.1/bind9-45.101/bind9/unit/atf-src/admin/
H A Dcheck-style-common.awk32 error = 1
37 error = 0
78 if (error)
H A Dcheck-style-cpp.awk32 error = 1
37 error = 0
86 if (error)
/macosx-10.10.1/emacs-93/emacs/mac/src/
H A Dchdir.c33 OSErr error; local
41 error = PBHSetVolSync(&wdpb);
43 return error == noErr ? 0 : -1;
/macosx-10.10.1/ksh-23/ksh/src/lib/libdll/
H A Ddllerror.c31 * return error message from last failed dl*() call
32 * retain==0 resets the last dl*() error
40 if (state.error)
42 state.error = retain;
48 state.error = retain;
/macosx-10.10.1/xnu-2782.1.97/security/
H A Dmac_iokit.c71 int error; local
74 return (error);
80 int error; local
83 return (error);
89 int error; local
92 return (error);
98 int error; local
101 return (error);
107 int error; local
110 return (error);
116 int error; local
[all...]
H A Dmac_socket.c92 int error; local
99 if (error) {
112 int error; local
119 if (error) {
185 int error; local
187 error = MAC_EXTERNALIZE(socket, label, elements, outbuf, outbuflen);
189 return (error);
196 int error; local
198 error = MAC_EXTERNALIZE(socketpeer, label, elements, outbuf, outbuflen);
200 return (error);
206 int error; local
275 int error; local
289 int error; local
303 int error; local
316 int error; local
330 int error; local
360 int error; local
393 int error; local
430 int error; local
465 int error; local
480 int error; local
500 int error; local
514 int error; local
528 int error; local
542 int error; local
565 int error; local
578 int error; local
591 int error; local
605 int error; local
619 int error; local
632 int error; local
[all...]
/macosx-10.10.1/smb-759.0/kernel/netsmb/
H A Dsmb_smb_2.c118 int error = 0; local
202 error = EINVAL;
261 error = EBADRPC;
336 error = smb_fid_get_kernel_fid(share, dur_handlep->fid, 0, &smb2_fid);
337 if (error) {
368 return (error);
381 int error; local
388 error = smb2_rq_alloc(SSTOCP(share), SMB2_CHANGE_NOTIFY,
391 if (error) {
392 return error;
457 int error; local
528 int error; local
574 int error; local
754 int error = ENOTSUP; local
812 int error; local
860 int error; local
878 int error; local
1002 uint32_t error = 0; local
1096 int error; local
1293 int error, i; local
1606 int error; local
1716 int error; local
1823 int error; local
1883 int error; local
1907 int error; local
2073 int error = EINVAL; local
2131 int error; local
2269 int error, tmp_error; local
2376 int error = 0; local
2400 int error; local
2555 int error; local
2974 int error; local
3072 int error; local
3408 int error; local
3836 int error; local
3891 int error; local
3919 int error; local
4081 int error = 0; local
4106 int error; local
4348 int error; local
4518 int error; local
4751 int error; local
4830 int error, cnt; local
5257 int error; local
5390 int error; local
5478 int error; local
5505 int error; local
5550 int error; local
5695 int error; local
5754 int error; local
5896 int error; local
6039 int error = 0; local
6096 int error; local
6189 int error; local
6226 int error; local
6525 int error; local
6608 int error; local
6628 int error; local
6896 int error; local
7059 int error; local
7125 int error; local
7140 int error = 0; local
7197 int error; local
7299 int error; local
7394 int error; local
[all...]
/macosx-10.10.1/Security-57031.1.35/Security/sec/SOSCircle/CloudKeychainProxy/
H A DCKDPersistentState.m39 #error This file must be compiled with ARC. Either turn on ARC for the project or use -fobjc-arc flag
52 + (BOOL)write:(NSURL *)path data:(id)plist error:(NSError **)error
61 format: NSPropertyListXMLFormat_v1_0 options: 0 error: error];
64 secerror("error serializing PersistentState to xml: %@", *error);
68 BOOL writeStatus = [data writeToURL: path options: NSDataWritingAtomic error: error];
70 secerror("error writin
[all...]
/macosx-10.10.1/libutil-38/
H A Dpidfile.c65 int error, fd, i; local
72 error = errno; /* Remember errno in case close() wants to change it. */
75 return (error);
90 int error, fd; local
130 error = errno;
134 errno = error;
149 int error, fd; local
168 error = errno;
170 errno = error;
176 error
188 int error; local
209 int error; local
[all...]
/macosx-10.10.1/smb-759.0/NetFSPlugin/
H A Dsmb_netfs.c71 int error = SMBNetFsCreateSessionRef((SMBHANDLE *)outConnection); local
75 ASL_LEVEL_ERR, __FUNCTION__, strerror(error));
77 return error;
119 int error = 0; local
123 error = EINVAL;
124 NetFSLogToMessageTracer(tmscheme, "checking parameters in SMB_OpenSession", error);
128 error = SMBNetFsOpenSession(url, inConnection, openOptions, sessionInfo);
129 if (error) {
130 SMBLogInfo("%s: - error = %d!", ASL_LEVEL_DEBUG, __FUNCTION__, error);
148 int error; local
170 int error; local
197 int error; local
[all...]
/macosx-10.10.1/dtrace-147/libdwarf/
H A Ddwarf_string.c45 Dwarf_Signed * returned_str_len, Dwarf_Error * error)
50 _dwarf_error(NULL, error, DW_DLE_DBG_NULL);
60 _dwarf_error(dbg, error, DW_DLE_DEBUG_STR_OFFSET_BAD);
65 _dwarf_error(dbg, error, DW_DLE_STRING_PTR_NULL);
72 &dbg->de_debug_str, error);
42 dwarf_get_str(Dwarf_Debug dbg, Dwarf_Off offset, char **string, Dwarf_Signed * returned_str_len, Dwarf_Error * error) argument
/macosx-10.10.1/ruby-106/ruby/ext/fiddle/lib/
H A Dfiddle.rb13 # Sets the last win32 +Error+ of the current executing +Thread+ to +error+
14 def self.win32_last_error= error
15 Thread.current[:__FIDDLE_WIN32_LAST_ERROR__] = error
24 # Sets the last +Error+ of the current executing +Thread+ to +error+
25 def self.last_error= error
26 Thread.current[:__DL2_LAST_ERROR__] = error
27 Thread.current[:__FIDDLE_LAST_ERROR__] = error
/macosx-10.10.1/Security-57031.1.35/Security/utilities/Regressions/
H A Dsu-40-secdb.c35 static int count_func(SecDbRef db, const char *name, CFIndex *max_conn_count, bool (*perform)(SecDbRef db, CFErrorRef *error, void (^perform)(SecDbConnectionRef dbconn))) { argument
49 CFErrorRef error = NULL;
50 if (!perform(db, &error, ^void (SecDbConnectionRef dbconn) {
59 fail("perform %s %@", name, error);
60 CFReleaseNull(error);
116 __block CFErrorRef error = NULL; local
117 ok(SecDbPerformWrite(db, &error, ^void (SecDbConnectionRef dbconn) {
118 ok(SecDbExec(dbconn, CFSTR("CREATE TABLE tablea(key TEXT,value BLOB);"), &error),
119 "exec: %@", error);
120 ok(SecDbExec(dbconn, CFSTR("INSERT INTO tablea(key,value)VALUES(1,2);"), &error),
169 }), "SecDbPerformWrite: %@", error); local
[all...]
/macosx-10.10.1/webdavfs-367/mount.tproj/
H A Dwebdav_file.c77 int error, mutexerror; local
81 error = 0;
83 error = pthread_mutex_lock(&webdav_cachefile_lock);
84 require_noerr_action(error, pthread_mutex_lock, webdav_kill(-1));
95 error = 0;
102 require_action(mkdtemp(gWebdavCachePath) != NULL, mkdtemp, error = errno); local
118 error = errno;
119 if ( ENOENT == error )
128 break; /* break with error */
143 require_noerr_action(mutexerror, pthread_mutex_unlock, error
190 int error = 0; local
212 int error; local
240 int error; local
373 int error = 0; local
381 require_action(NODE_FILE_IS_CACHED(node), not_open, error = EBADF); local
447 int error; local
552 int error; local
621 int error; local
690 int error; local
701 int error; local
810 int error; local
894 int error; local
916 int error = 0; local
1028 int error; local
1083 int error; local
1137 int error; local
1148 require_action(NODE_FILE_IS_CACHED(node), not_open, error = EBADF); local
1210 int error; local
1232 require_action(NODE_FILE_IS_CACHED(node), out1, error = EBADF); local
1440 int error; local
1460 int error; local
1482 int error; local
[all...]
/macosx-10.10.1/Security-57031.1.35/Security/utilities/src/
H A DSecAKSWrappers.h70 static inline bool SecAKSGetLockedState(keybag_state_t *state, CFErrorRef* error) argument
75 SecCFCreateError(status, CFSTR("com.apple.kern_return_t"), CFSTR("Kern return error"), NULL, error);
83 static inline bool SecAKSLockedAnyStateBitIsSet(bool* isSet, keybag_state_t bits, CFErrorRef* error) argument
86 bool success = SecAKSGetLockedState(&state, error);
98 static inline bool SecAKSGetIsLocked(bool* isLocked, CFErrorRef* error) argument
100 return SecAKSLockedAnyStateBitIsSet(isLocked, keybag_state_locked, error);
103 static inline bool SecAKSGetIsUnlocked(bool* isUnlocked, CFErrorRef* error) argument
106 bool success = SecAKSGetIsLocked(&isLocked, error);
114 static inline bool SecAKSGetHasBeenUnlocked(bool* hasBeenUnlocked, CFErrorRef* error) argument
[all...]

Completed in 503 milliseconds

1234567891011>>