Searched refs:rc (Results 26 - 50 of 1363) sorted by relevance

1234567891011>>

/macosx-10.10.1/curl-83.1.2/curl/src/
H A Dtool_cb_rea.c39 ssize_t rc; local
42 rc = read(in->fd, buffer, sz*nmemb);
43 if(rc < 0) {
50 rc = 0;
53 return (size_t)rc;
/macosx-10.10.1/curl-83.1.2/curl/tests/unit/
H A Dunit1302.c50 CURLcode rc; variable
52 rc = Curl_base64_encode(data, "i", 1, &output, &size);
53 fail_unless(rc == CURLE_OK, "return code should be CURLE_OK");
58 rc = Curl_base64_encode(data, "ii", 2, &output, &size);
59 fail_unless(rc == CURLE_OK, "return code should be CURLE_OK");
64 rc = Curl_base64_encode(data, "iii", 3, &output, &size);
65 fail_unless(rc == CURLE_OK, "return code should be CURLE_OK");
70 rc = Curl_base64_encode(data, "iiii", 4, &output, &size);
71 fail_unless(rc == CURLE_OK, "return code should be CURLE_OK");
77 rc
[all...]
H A Dunit1308.c44 int rc; variable
50 rc = curl_formadd(&post, &last, CURLFORM_COPYNAME, "name",
53 fail_unless(rc == 0, "curl_formadd returned error");
59 rc = curl_formadd(&post, &last, CURLFORM_COPYNAME, "htmlcode",
63 fail_unless(rc == 0, "curl_formadd returned error");
65 rc = curl_formadd(&post, &last, CURLFORM_COPYNAME, "name_for_ptrcontent",
68 fail_unless(rc == 0, "curl_formadd returned error");
70 rc = curl_formget(post, &total_size, print_httppost_callback);
72 fail_unless(rc == 0, "curl_formget returned error");
81 rc
[all...]
/macosx-10.10.1/OpenLDAP-499.27/OpenLDAP/libraries/libldap/
H A Dwhoami.c38 int rc; local
48 rc = ldap_parse_extended_result( ld, res, &retoid, authzid, 0 );
50 if( rc != LDAP_SUCCESS ) {
52 return rc;
56 return rc;
65 int rc; local
71 rc = ldap_extended_operation( ld, LDAP_EXOP_WHO_AM_I,
74 return rc;
84 int rc; local
88 rc
[all...]
H A Ddds.c32 int rc; local
44 rc = ldap_parse_extended_result( ld, res, NULL, &retdata, 0 );
46 if ( rc != LDAP_SUCCESS ) {
47 return rc;
55 rc = ld->ld_errno = LDAP_DECODING_ERROR;
56 return rc;
61 rc = ld->ld_errno = LDAP_NO_MEMORY;
71 rc = ld->ld_errno = LDAP_DECODING_ERROR;
79 return rc;
93 int rc; local
138 int rc; local
[all...]
/macosx-10.10.1/OpenLDAP-499.27/OpenLDAP/servers/slapd/back-bdb/
H A Dkey.c40 int rc; local
50 rc = bdb_idl_fetch_key( be, db, txn, &key, ids, saved_cursor, get_flag );
52 if( rc != LDAP_SUCCESS ) {
54 rc, 0, 0 );
60 return rc;
74 int rc; local
90 rc = bdb_tool_idl_add( be, db, txn, &key, id );
93 rc = bdb_idl_insert_key( be, db, txn, &key, id );
94 if ( rc == DB_KEYEXIST ) rc
[all...]
/macosx-10.10.1/Security-57031.1.35/Security/include/security_codesigning/
H A Dcserror.cpp44 void CSError::throwMe(OSStatus rc) argument
46 throw CSError(rc);
49 void CSError::throwMe(OSStatus rc, CFDictionaryRef dict) argument
51 throw CSError(rc, dict);
54 void CSError::throwMe(OSStatus rc, CFStringRef key, CFTypeRef value) argument
56 throw CSError(rc, cfmake<CFDictionaryRef>("{%O=%O}", key, value));
79 OSStatus CSError::cfError(CFErrorRef *errors, OSStatus rc) argument
82 *errors = CFErrorCreate(NULL, kCFErrorDomainOSStatus, rc, NULL);
83 return rc;
H A Dcserror.h43 CSError(OSStatus rc) : MacOSError(rc) { } argument
44 CSError(OSStatus rc, CFDictionaryRef dict) : MacOSError(rc), mInfoDict(dict) { } // takes dict argument
47 static void throwMe(OSStatus rc) __attribute__((noreturn));
48 static void throwMe(OSStatus rc, CFDictionaryRef info) __attribute__ ((noreturn)); // takes dict
49 static void throwMe(OSStatus rc, CFStringRef key, CFTypeRef value) __attribute__((noreturn));
57 static OSStatus cfError(CFErrorRef *errors, OSStatus rc);
/macosx-10.10.1/Security-57031.1.35/Security/libsecurity_codesigning/lib/
H A Dcserror.cpp44 void CSError::throwMe(OSStatus rc) argument
46 throw CSError(rc);
49 void CSError::throwMe(OSStatus rc, CFDictionaryRef dict) argument
51 throw CSError(rc, dict);
54 void CSError::throwMe(OSStatus rc, CFStringRef key, CFTypeRef value) argument
56 throw CSError(rc, cfmake<CFDictionaryRef>("{%O=%O}", key, value));
79 OSStatus CSError::cfError(CFErrorRef *errors, OSStatus rc) argument
82 *errors = CFErrorCreate(NULL, kCFErrorDomainOSStatus, rc, NULL);
83 return rc;
H A Dcserror.h43 CSError(OSStatus rc) : MacOSError(rc) { } argument
44 CSError(OSStatus rc, CFDictionaryRef dict) : MacOSError(rc), mInfoDict(dict) { } // takes dict argument
47 static void throwMe(OSStatus rc) __attribute__((noreturn));
48 static void throwMe(OSStatus rc, CFDictionaryRef info) __attribute__ ((noreturn)); // takes dict
49 static void throwMe(OSStatus rc, CFStringRef key, CFTypeRef value) __attribute__((noreturn));
57 static OSStatus cfError(CFErrorRef *errors, OSStatus rc);
/macosx-10.10.1/apr-32/apr/apr/locks/os2/
H A Dthread_mutex.c42 ULONG rc; local
47 rc = DosCreateMutexSem(NULL, &(new_mutex->hMutex), 0, FALSE);
50 if (!rc)
53 return APR_OS2_STATUS(rc);
60 ULONG rc = DosRequestMutexSem(mutex->hMutex, SEM_INDEFINITE_WAIT); local
61 return APR_OS2_STATUS(rc);
68 ULONG rc = DosRequestMutexSem(mutex->hMutex, SEM_IMMEDIATE_RETURN); local
69 return APR_OS2_STATUS(rc);
76 ULONG rc = DosReleaseMutexSem(mutex->hMutex); local
77 return APR_OS2_STATUS(rc);
84 ULONG rc; local
[all...]
/macosx-10.10.1/crontabs-52/files/monthly/
H A D200.accounting19 rc=0
26 # gzcat $W.0.gz > $W.0 || rc=1
30 # bzcat $W.0.bz2 > $W.0 || rc=1
34 # rc=2
37 if [ $rc -eq 0 ]
42 #rc=$(ac -p -w $W.0 | sort -nr -k 2 | tee /dev/stderr | wc -l)
43 rc=$(ac -p | sort -nr -k 2 | tee /dev/stderr | wc -l)
44 [ $rc -gt 0 ] && rc=1
48 *) rc
[all...]
/macosx-10.10.1/crontabs-52/files/weekly/
H A D320.whatis25 rc=3
28 rc=0
32 /usr/libexec/makewhatis.local "${MANPATH}" || rc=3
40 -L "${MANPATH}" || rc=3
45 rc=3
48 *) rc=0;;
51 exit $rc
/macosx-10.10.1/apr-32/apr/apr/file_io/os2/
H A Dflock.c22 ULONG rc; local
24 rc = DosSetFileLocks(thefile->filedes, NULL, &lockrange,
27 return APR_FROM_OS_ERROR(rc);
33 ULONG rc; local
35 rc = DosSetFileLocks(thefile->filedes, &unlockrange, NULL, 0, 0);
36 return APR_FROM_OS_ERROR(rc);
H A Dseek.c27 ULONG rc; local
43 rc = 0;
45 rc = DosSetFilePtr(thefile->filedes, pos, FILE_BEGIN, &thefile->filePtr );
47 if ( !rc )
51 return APR_FROM_OS_ERROR(rc);
65 int rc = EINVAL; local
70 rc = setptr(thefile, *offset);
74 rc = setptr(thefile, thefile->filePtr - thefile->dataRead + thefile->bufpos + *offset);
78 rc = apr_file_info_get(&finfo, APR_FINFO_NORM, thefile);
79 if (rc
109 int rc = DosSetFileSize(fp->filedes, offset); local
[all...]
/macosx-10.10.1/tcl-105/tcl_ext/tclxml/tcldom/tests/
H A Dtestutils.tcl54 set rc [catch [list uplevel 1 $script] result]
59 if {$rc != 1} {
61 "Expected error, got '$rmsg' (rc=$rc)"
67 return $rc
81 set rc [catch "package require $package $version" result]
82 if {$rc} { return -code $rc $result }
/macosx-10.10.1/crontabs-52/files/daily/
H A D310.accounting20 rc=2
25 rc=2
31 rc=0
34 rm -f acct.$n.gz acct.$n || rc=3
39 [ -f acct.$n.gz ] && { mv -f acct.$n.gz acct.$m.gz || rc=3; }
40 [ -f acct.$n ] && { mv -f acct.$n acct.$m || rc=3; }
44 cp -pf acct acct.0 || rc=3
45 sa -s $daily_accounting_flags || rc=3
49 gzip -f acct.0 || rc=3;;
53 *) rc
[all...]
/macosx-10.10.1/dtrace-147/libelf/
H A Dndxscn.c39 size_t rc; local
46 rc = scn->s_index;
48 return (rc);
/macosx-10.10.1/ntfs-84/kext/
H A Dntfs_collate.c58 int len, rc; local
64 rc = memcmp(data1, data2, len);
65 if (!rc && (data1_len != data2_len)) {
71 rc = -1;
73 rc = 1;
75 ntfs_debug("Done (returning %d).", rc);
76 return rc;
97 int rc; local
112 rc = ntfs_collate_names((ntfschar*)&fn1->filename,
116 if (!rc)
137 int min_len, i, rc; local
[all...]
/macosx-10.10.1/OpenLDAP-499.27/OpenLDAP/servers/slapd/overlays/
H A Drwmdn.c50 int rc; local
54 rc = rwm_dn_massage( dc, in, &mdn );
55 if ( rc != LDAP_SUCCESS ) {
56 return rc;
60 return rc;
63 rc = dnNormalize( 0, NULL, NULL, &mdn, ndn, NULL );
69 return rc;
83 int rc; local
87 rc = rwm_dn_massage( dc, in, &mdn );
88 if ( rc !
120 int rc; local
157 int rc = 0; local
[all...]
/macosx-10.10.1/curl-83.1.2/curl/lib/
H A Dnwos.c50 int rc = 0; local
66 rc = 1;
69 rc = rc + 2;
71 return rc;
/macosx-10.10.1/passwordserver_sasl-193/cyrus_sasl/saslauthd/
H A Dauth_sia.c65 int rc;
68 rc = sia_validate_user(0, g_argc, g_argv, 0, login, 0, 0, 0, password);
69 if (rc == SIASUCCESS) {
72 if (rc == SIAFAIL) {
77 "auth_sia: impossible return (%d) from sia_validate_user", rc);
64 int rc; local
/macosx-10.10.1/OpenLDAP-499.27/OpenLDAP/servers/slapd/back-monitor/
H A Dlog.c111 int rc = LDAP_OTHER; local
132 rc = rs->sr_err = attr_merge( e, mod->sm_desc,
134 if ( rc != LDAP_SUCCESS ) {
143 rc = rs->sr_err = LDAP_UNWILLING_TO_PERFORM;
149 rc = add_values( op, e, mod, &newlevel );
153 rc = delete_values( op, e, mod, &newlevel );
157 rc = replace_values( op, e, mod, &newlevel );
161 rc = LDAP_OTHER;
165 if ( rc != LDAP_SUCCESS ) {
166 rs->sr_err = rc;
260 int i, rc; local
279 int rc; local
295 int rc = value_match( &match, mod->sm_desc, mr, local
321 int i, j, k, found, rc, nl = 0; local
327 int rc = attr_delete( &e->e_attrs, mod->sm_desc ); local
359 int rc; local
374 int rc = value_match( &match, mod->sm_desc, mr, local
429 int rc; local
[all...]
/macosx-10.10.1/OpenLDAP-499.27/OpenLDAP/libraries/libldap_r/
H A Dthreads.c39 int rc; local
47 rc = ldap_int_thread_initialize();
48 if( rc ) return rc;
51 rc = ldap_int_thread_pool_startup();
52 if( rc ) return rc;
/macosx-10.10.1/OpenLDAP-499.27/OpenLDAP/servers/slapd/
H A Dslapauth.c42 int rc; local
44 rc = slap_sasl_getdn( c, op, id, realm, &authcdn, SLAP_GETDN_AUTHCID );
45 if ( rc != LDAP_SUCCESS ) {
47 id->bv_val, rc,
48 ldap_err2string( rc ) );
49 rc = 1;
53 rc = slap_sasl_authorized( op, &authcdn, &authzID );
63 rc == LDAP_SUCCESS ? "OK" : "failed" );
72 rc = 0;
75 return rc;
81 int rc = EXIT_SUCCESS; local
[all...]

Completed in 224 milliseconds

1234567891011>>