/macosx-10.9.5/Security-55471.14.18/include/security_smime/ |
H A D | cryptohi.c | 72 CSSM_RETURN rv; local 79 rv = CSSM_Init (&version, CSSM_PRIVILEGE_SCOPE_NONE, &myGuid, CSSM_KEY_HIERARCHY_NONE, &pvcPolicy, NULL); 80 if (rv) 85 rv = CSSM_ModuleLoad(&gGuidAppleCSP, CSSM_KEY_HIERARCHY_NONE, NULL, NULL); 86 if (rv) 88 rv = CSSM_ModuleAttach(&gGuidAppleCSP, &version, &memFuncs, 0, CSSM_SERVICE_CSP, 0, CSSM_KEY_HIERARCHY_NONE, NULL, 0, NULL, &gCsp); 102 static SECStatus SEC_CssmRtnToSECStatus(CSSM_RETURN rv) argument 104 CSSM_RETURN crtn = CSSM_ERRCODE(rv); 115 fprintf(stderr, "CSSM_SignData returned: %08X\n", (uint32_t)rv); 128 OSStatus rv; local 189 OSStatus rv; local 248 OSStatus rv = SECFailure; local 288 OSStatus rv; local 329 OSStatus rv; local 461 OSStatus rv; local [all...] |
/macosx-10.9.5/Security-55471.14.18/libsecurity_smime/lib/ |
H A D | cryptohi.c | 72 CSSM_RETURN rv; local 79 rv = CSSM_Init (&version, CSSM_PRIVILEGE_SCOPE_NONE, &myGuid, CSSM_KEY_HIERARCHY_NONE, &pvcPolicy, NULL); 80 if (rv) 85 rv = CSSM_ModuleLoad(&gGuidAppleCSP, CSSM_KEY_HIERARCHY_NONE, NULL, NULL); 86 if (rv) 88 rv = CSSM_ModuleAttach(&gGuidAppleCSP, &version, &memFuncs, 0, CSSM_SERVICE_CSP, 0, CSSM_KEY_HIERARCHY_NONE, NULL, 0, NULL, &gCsp); 102 static SECStatus SEC_CssmRtnToSECStatus(CSSM_RETURN rv) argument 104 CSSM_RETURN crtn = CSSM_ERRCODE(rv); 115 fprintf(stderr, "CSSM_SignData returned: %08X\n", (uint32_t)rv); 128 OSStatus rv; local 189 OSStatus rv; local 248 OSStatus rv = SECFailure; local 288 OSStatus rv; local 329 OSStatus rv; local 461 OSStatus rv; local [all...] |
/macosx-10.9.5/apache-786.1/httpd/srclib/apr-util/test/ |
H A D | test_apu.h | 38 apr_status_t rv; \ 39 if ((rv = func) == value){ \ 42 fprintf(stderr, "Error was %d : %s\n", rv, \ 43 apr_strerror(rv, (char*)&errmsg, 200)); \ 52 apr_status_t rv; \ 53 if ((rv = func) != value){ \ 56 fprintf(stderr, "Error was %d : %s\n", rv, \ 57 apr_strerror(rv, (char*)&errmsg, 200)); \ 66 apr_status_t rv = func; \ 67 if (!testmacro(rv)) { \ [all...] |
H A D | testutil.c | 26 void apr_assert_success(abts_case* tc, const char* context, apr_status_t rv) argument 28 if (rv == APR_ENOTIMPL) { 32 if (rv != APR_SUCCESS) { 34 sprintf(buf, "%s (%d): %s\n", context, rv, 35 apr_strerror(rv, ebuf, sizeof ebuf)); 40 void apr_assert_failure(abts_case* tc, const char* context, apr_status_t rv, argument 43 if (rv == APR_ENOTIMPL) { 45 } else if (rv == APR_SUCCESS) { 47 sprintf(buf, "%s (%d): expected failure, got success\n", context, rv);
|
/macosx-10.9.5/apr-30/apr/apr/test/ |
H A D | testsockets.c | 27 apr_status_t rv; local 31 rv = apr_socket_create(&sock, APR_INET, SOCK_STREAM, 0, p); 32 ABTS_INT_EQUAL(tc, APR_SUCCESS, rv); 35 rv = apr_socket_type_get(sock, &type); 36 ABTS_INT_EQUAL(tc, APR_SUCCESS, rv); 44 apr_status_t rv; local 48 rv = apr_socket_create(&sock, APR_INET, SOCK_DGRAM, 0, p); 49 ABTS_INT_EQUAL(tc, APR_SUCCESS, rv); 52 rv = apr_socket_type_get(sock, &type); 53 ABTS_INT_EQUAL(tc, APR_SUCCESS, rv); 62 apr_status_t rv; local 77 apr_status_t rv; local 94 apr_status_t rv; local 192 apr_status_t rv; local [all...] |
H A D | testshm.c | 66 apr_status_t rv; local 69 rv = apr_shm_create(&shm, SHARED_SIZE, NULL, p); 70 APR_ASSERT_SUCCESS(tc, "Error allocating shared memory block", rv); 73 rv = apr_shm_destroy(shm); 74 APR_ASSERT_SUCCESS(tc, "Error destroying shared memory block", rv); 79 apr_status_t rv; local 83 rv = apr_shm_create(&shm, SHARED_SIZE, NULL, p); 84 APR_ASSERT_SUCCESS(tc, "Error allocating shared memory block", rv); 90 rv = apr_shm_destroy(shm); 91 APR_ASSERT_SUCCESS(tc, "Error destroying shared memory block", rv); 96 apr_status_t rv; local 114 apr_status_t rv; local 163 apr_status_t rv; local 233 apr_status_t rv; local [all...] |
H A D | testdir.c | 29 apr_status_t rv; local 32 rv = apr_dir_make("data/testdir", APR_UREAD | APR_UWRITE | APR_UEXECUTE, p); 33 ABTS_INT_EQUAL(tc, APR_SUCCESS, rv); 35 rv = apr_stat(&finfo, "data/testdir", APR_FINFO_TYPE, p); 36 ABTS_INT_EQUAL(tc, APR_SUCCESS, rv); 42 apr_status_t rv; local 45 rv = apr_dir_make_recursive("data/one/two/three", 47 ABTS_INT_EQUAL(tc, APR_SUCCESS, rv); 49 rv = apr_stat(&finfo, "data/one", APR_FINFO_TYPE, p); 50 ABTS_INT_EQUAL(tc, APR_SUCCESS, rv); 64 apr_status_t rv; local 76 apr_status_t rv; local 84 apr_status_t rv; local 98 apr_status_t rv; local 106 apr_status_t rv; local 120 apr_status_t rv; local 130 apr_status_t rv; local 139 apr_status_t rv; local 176 apr_status_t rv; local [all...] |
H A D | sendfile.c | 59 apr_status_t rv; local 61 rv = apr_initialize(); 62 if (rv != APR_SUCCESS) { 64 rv, 65 apr_strerror(rv, buf, sizeof buf)); 71 rv = apr_pool_create(p, NULL); 72 if (rv != APR_SUCCESS) { 74 rv, 75 apr_strerror(rv, buf, sizeof buf)); 80 rv 105 apr_status_t rv; local 169 apr_status_t rv, tmprv; local 490 apr_status_t rv; local [all...] |
H A D | testdup.c | 32 apr_status_t rv; local 36 rv = apr_file_open(&file1, FILEPATH "testdup.file", 39 ABTS_INT_EQUAL(tc, APR_SUCCESS, rv); 42 rv = apr_file_dup(&file3, file1, p); 43 ABTS_INT_EQUAL(tc, APR_SUCCESS, rv); 46 rv = apr_file_close(file1); 47 ABTS_INT_EQUAL(tc, APR_SUCCESS, rv); 50 rv = apr_file_close(file3); 51 ABTS_INT_EQUAL(tc, APR_SUCCESS, rv); 52 rv 60 apr_status_t rv; local 106 apr_status_t rv; local 140 apr_status_t rv; local [all...] |
H A D | teststrnatcmp.c | 24 int rv = apr_strnatcmp("a", "b"); local 25 ABTS_ASSERT(tc, "didn't compare simple strings properly", rv < 0); 30 int rv = apr_strnatcmp("a", "a"); local 31 ABTS_ASSERT(tc, "didn't compare simple strings properly", rv == 0); 36 int rv = apr_strnatcmp("b", "a"); local 37 ABTS_ASSERT(tc, "didn't compare simple strings properly", rv > 0); 42 int rv = apr_strnatcasecmp("a", "B"); local 43 ABTS_ASSERT(tc, "didn't compare simple strings properly", rv < 0); 48 int rv = apr_strnatcasecmp("a", "A"); local 49 ABTS_ASSERT(tc, "didn't compare simple strings properly", rv 54 int rv = apr_strnatcasecmp("b", "A"); local 60 int rv = apr_strnatcasecmp("a2", "a10"); local [all...] |
H A D | testsock.c | 31 apr_status_t rv; local 33 rv = apr_procattr_create(&procattr, p); 34 APR_ASSERT_SUCCESS(tc, "Couldn't create procattr", rv); 36 rv = apr_procattr_io_set(procattr, APR_NO_PIPE, APR_NO_PIPE, 38 APR_ASSERT_SUCCESS(tc, "Couldn't set io in procattr", rv); 40 rv = apr_procattr_error_check_set(procattr, 1); 41 APR_ASSERT_SUCCESS(tc, "Couldn't set error check in procattr", rv); 43 rv = apr_procattr_cmdtype_set(procattr, APR_PROGRAM_ENV); 44 APR_ASSERT_SUCCESS(tc, "Couldn't set copy environment", rv); 49 rv 68 apr_status_t rv; local 87 apr_status_t rv; local 107 apr_status_t rv; local 132 apr_status_t rv; local 143 apr_status_t rv; local 175 apr_status_t rv; local 209 apr_status_t rv; local 270 apr_status_t rv; local 303 apr_status_t rv; local 334 apr_status_t rv; local [all...] |
/macosx-10.9.5/apr-30/apr-util/apr-util/test/ |
H A D | test_apu.h | 38 apr_status_t rv; \ 39 if ((rv = func) == value){ \ 42 fprintf(stderr, "Error was %d : %s\n", rv, \ 43 apr_strerror(rv, (char*)&errmsg, 200)); \ 52 apr_status_t rv; \ 53 if ((rv = func) != value){ \ 56 fprintf(stderr, "Error was %d : %s\n", rv, \ 57 apr_strerror(rv, (char*)&errmsg, 200)); \ 66 apr_status_t rv = func; \ 67 if (!testmacro(rv)) { \ [all...] |
/macosx-10.9.5/apache-786.1/httpd/srclib/apr/test/ |
H A D | testshm.c | 66 apr_status_t rv; local 69 rv = apr_shm_create(&shm, SHARED_SIZE, NULL, p); 70 APR_ASSERT_SUCCESS(tc, "Error allocating shared memory block", rv); 73 rv = apr_shm_destroy(shm); 74 APR_ASSERT_SUCCESS(tc, "Error destroying shared memory block", rv); 79 apr_status_t rv; local 83 rv = apr_shm_create(&shm, SHARED_SIZE, NULL, p); 84 APR_ASSERT_SUCCESS(tc, "Error allocating shared memory block", rv); 90 rv = apr_shm_destroy(shm); 91 APR_ASSERT_SUCCESS(tc, "Error destroying shared memory block", rv); 96 apr_status_t rv; local 114 apr_status_t rv; local 163 apr_status_t rv; local 233 apr_status_t rv; local [all...] |
H A D | testdir.c | 29 apr_status_t rv; local 32 rv = apr_dir_make("data/testdir", APR_UREAD | APR_UWRITE | APR_UEXECUTE, p); 33 ABTS_INT_EQUAL(tc, APR_SUCCESS, rv); 35 rv = apr_stat(&finfo, "data/testdir", APR_FINFO_TYPE, p); 36 ABTS_INT_EQUAL(tc, APR_SUCCESS, rv); 42 apr_status_t rv; local 45 rv = apr_dir_make_recursive("data/one/two/three", 47 ABTS_INT_EQUAL(tc, APR_SUCCESS, rv); 49 rv = apr_stat(&finfo, "data/one", APR_FINFO_TYPE, p); 50 ABTS_INT_EQUAL(tc, APR_SUCCESS, rv); 64 apr_status_t rv; local 76 apr_status_t rv; local 84 apr_status_t rv; local 98 apr_status_t rv; local 106 apr_status_t rv; local 120 apr_status_t rv; local 130 apr_status_t rv; local 139 apr_status_t rv; local 176 apr_status_t rv; local [all...] |
H A D | sendfile.c | 59 apr_status_t rv; local 61 rv = apr_initialize(); 62 if (rv != APR_SUCCESS) { 64 rv, 65 apr_strerror(rv, buf, sizeof buf)); 71 rv = apr_pool_create(p, NULL); 72 if (rv != APR_SUCCESS) { 74 rv, 75 apr_strerror(rv, buf, sizeof buf)); 80 rv 105 apr_status_t rv; local 169 apr_status_t rv, tmprv; local 490 apr_status_t rv; local [all...] |
H A D | testdup.c | 32 apr_status_t rv; local 36 rv = apr_file_open(&file1, FILEPATH "testdup.file", 39 ABTS_INT_EQUAL(tc, APR_SUCCESS, rv); 42 rv = apr_file_dup(&file3, file1, p); 43 ABTS_INT_EQUAL(tc, APR_SUCCESS, rv); 46 rv = apr_file_close(file1); 47 ABTS_INT_EQUAL(tc, APR_SUCCESS, rv); 50 rv = apr_file_close(file3); 51 ABTS_INT_EQUAL(tc, APR_SUCCESS, rv); 52 rv 60 apr_status_t rv; local 106 apr_status_t rv; local 140 apr_status_t rv; local [all...] |
H A D | teststrnatcmp.c | 24 int rv = apr_strnatcmp("a", "b"); local 25 ABTS_ASSERT(tc, "didn't compare simple strings properly", rv < 0); 30 int rv = apr_strnatcmp("a", "a"); local 31 ABTS_ASSERT(tc, "didn't compare simple strings properly", rv == 0); 36 int rv = apr_strnatcmp("b", "a"); local 37 ABTS_ASSERT(tc, "didn't compare simple strings properly", rv > 0); 42 int rv = apr_strnatcasecmp("a", "B"); local 43 ABTS_ASSERT(tc, "didn't compare simple strings properly", rv < 0); 48 int rv = apr_strnatcasecmp("a", "A"); local 49 ABTS_ASSERT(tc, "didn't compare simple strings properly", rv 54 int rv = apr_strnatcasecmp("b", "A"); local 60 int rv = apr_strnatcasecmp("a2", "a10"); local [all...] |
H A D | testsock.c | 31 apr_status_t rv; local 33 rv = apr_procattr_create(&procattr, p); 34 APR_ASSERT_SUCCESS(tc, "Couldn't create procattr", rv); 36 rv = apr_procattr_io_set(procattr, APR_NO_PIPE, APR_NO_PIPE, 38 APR_ASSERT_SUCCESS(tc, "Couldn't set io in procattr", rv); 40 rv = apr_procattr_error_check_set(procattr, 1); 41 APR_ASSERT_SUCCESS(tc, "Couldn't set error check in procattr", rv); 43 rv = apr_procattr_cmdtype_set(procattr, APR_PROGRAM_ENV); 44 APR_ASSERT_SUCCESS(tc, "Couldn't set copy environment", rv); 49 rv 68 apr_status_t rv; local 87 apr_status_t rv; local 107 apr_status_t rv; local 132 apr_status_t rv; local 143 apr_status_t rv; local 175 apr_status_t rv; local 209 apr_status_t rv; local 270 apr_status_t rv; local 303 apr_status_t rv; local 334 apr_status_t rv; local [all...] |
/macosx-10.9.5/curl-78.94.1/curl/docs/examples/ |
H A D | cacertinmem.c | 113 CURLcode rv; local 115 rv=curl_global_init(CURL_GLOBAL_ALL); 117 rv=curl_easy_setopt(ch,CURLOPT_VERBOSE, 0L); 118 rv=curl_easy_setopt(ch,CURLOPT_HEADER, 0L); 119 rv=curl_easy_setopt(ch,CURLOPT_NOPROGRESS, 1L); 120 rv=curl_easy_setopt(ch,CURLOPT_NOSIGNAL, 1L); 121 rv=curl_easy_setopt(ch,CURLOPT_WRITEFUNCTION, *writefunction); 122 rv=curl_easy_setopt(ch,CURLOPT_WRITEDATA, stdout); 123 rv=curl_easy_setopt(ch,CURLOPT_HEADERFUNCTION, *writefunction); 124 rv [all...] |
/macosx-10.9.5/apache-786.1/httpd/server/mpm/experimental/event/ |
H A D | fdqueue.c | 65 apr_status_t rv; local 70 rv = apr_thread_mutex_create(&qi->idlers_mutex, APR_THREAD_MUTEX_DEFAULT, 72 if (rv != APR_SUCCESS) { 73 return rv; 75 rv = apr_thread_cond_create(&qi->wait_for_idler, pool); 76 if (rv != APR_SUCCESS) { 77 return rv; 92 apr_status_t rv; local 102 rv = apr_thread_mutex_lock(queue_info->idlers_mutex); 103 if (rv ! 123 apr_status_t rv; local 244 apr_status_t rv; local 290 apr_status_t rv; local 325 apr_status_t rv; local 359 apr_status_t rv; local 400 apr_status_t rv; local 411 apr_status_t rv; local [all...] |
/macosx-10.9.5/apache-786.1/httpd/server/mpm/worker/ |
H A D | fdqueue.c | 58 apr_status_t rv; local 63 rv = apr_thread_mutex_create(&qi->idlers_mutex, APR_THREAD_MUTEX_DEFAULT, 65 if (rv != APR_SUCCESS) { 66 return rv; 68 rv = apr_thread_cond_create(&qi->wait_for_idler, pool); 69 if (rv != APR_SUCCESS) { 70 return rv; 85 apr_status_t rv; local 122 rv = apr_thread_mutex_lock(queue_info->idlers_mutex); 123 if (rv ! 143 apr_status_t rv; local 229 apr_status_t rv; local 274 apr_status_t rv; local 306 apr_status_t rv; local 338 apr_status_t rv; local 378 apr_status_t rv; local 389 apr_status_t rv; local [all...] |
/macosx-10.9.5/apache-786.1/httpd/srclib/apr/locks/unix/ |
H A D | global_mutex.c | 27 apr_status_t rv; local 29 rv = apr_proc_mutex_destroy(m->proc_mutex); 33 if (rv != APR_SUCCESS) { 37 rv = apr_thread_mutex_destroy(m->thread_mutex); 42 return rv; 50 apr_status_t rv; local 56 rv = apr_proc_mutex_create(&m->proc_mutex, fname, mech, m->pool); 57 if (rv != APR_SUCCESS) { 58 return rv; 66 rv 86 apr_status_t rv; local 94 apr_status_t rv; local 120 apr_status_t rv; local 146 apr_status_t rv; local [all...] |
/macosx-10.9.5/apache-786.1/httpd/srclib/apr/network_io/beos/ |
H A D | sendrecv.c | 63 apr_ssize_t rv; local 66 rv = send(sock->socketdes, buf, (*len), 0); 67 } while (rv == -1 && errno == EINTR); 69 if (rv == -1 && errno == EWOULDBLOCK && sock->timeout > 0) { 74 rv = send(sock->socketdes, buf, (*len), 0); 75 if (rv == -1 && errno == EWOULDBLOCK){ 83 } while (rv == -1 && (errno == EINTR || errno == EWOULDBLOCK)); 85 if (rv == -1) { 89 (*len) = rv; 97 apr_ssize_t rv; local 140 apr_ssize_t rv; local 175 apr_ssize_t rv; local [all...] |
/macosx-10.9.5/apr-30/apr/apr/locks/unix/ |
H A D | global_mutex.c | 27 apr_status_t rv; local 29 rv = apr_proc_mutex_destroy(m->proc_mutex); 33 if (rv != APR_SUCCESS) { 37 rv = apr_thread_mutex_destroy(m->thread_mutex); 42 return rv; 50 apr_status_t rv; local 56 rv = apr_proc_mutex_create(&m->proc_mutex, fname, mech, m->pool); 57 if (rv != APR_SUCCESS) { 58 return rv; 66 rv 86 apr_status_t rv; local 94 apr_status_t rv; local 120 apr_status_t rv; local 146 apr_status_t rv; local [all...] |
/macosx-10.9.5/apr-30/apr/apr/network_io/beos/ |
H A D | sendrecv.c | 63 apr_ssize_t rv; local 66 rv = send(sock->socketdes, buf, (*len), 0); 67 } while (rv == -1 && errno == EINTR); 69 if (rv == -1 && errno == EWOULDBLOCK && sock->timeout > 0) { 74 rv = send(sock->socketdes, buf, (*len), 0); 75 if (rv == -1 && errno == EWOULDBLOCK){ 83 } while (rv == -1 && (errno == EINTR || errno == EWOULDBLOCK)); 85 if (rv == -1) { 89 (*len) = rv; 97 apr_ssize_t rv; local 140 apr_ssize_t rv; local 175 apr_ssize_t rv; local [all...] |