Searched refs:rv (Results 1 - 25 of 602) sorted by relevance

1234567891011>>

/freebsd-10.1-release/contrib/apr/locks/unix/
H A Dthread_cond.c27 apr_status_t rv; local
29 rv = pthread_cond_destroy(&cond->cond);
31 if (rv) {
32 rv = errno;
35 return rv;
42 apr_status_t rv; local
48 if ((rv = pthread_cond_init(&new_cond->cond, NULL))) {
50 rv = errno;
52 return rv;
66 apr_status_t rv; local
81 apr_status_t rv; local
104 apr_status_t rv; local
117 apr_status_t rv; local
[all...]
H A Dthread_mutex.c26 apr_status_t rv; local
28 rv = pthread_mutex_destroy(&mutex->mutex);
30 if (rv) {
31 rv = errno;
34 return rv;
42 apr_status_t rv; local
57 rv = pthread_mutexattr_init(&mattr);
58 if (rv) return rv;
60 rv
90 apr_status_t rv; local
104 apr_status_t rv; local
[all...]
H A Dglobal_mutex.c27 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...]
/freebsd-10.1-release/include/
H A Dnss.h49 #define __nss_compat_result(rv, err) \
50 ((rv == NSS_STATUS_TRYAGAIN && err == ERANGE) ? NS_RETURN : \
51 (rv == NSS_STATUS_TRYAGAIN) ? NS_TRYAGAIN : \
52 (rv == NSS_STATUS_UNAVAIL) ? NS_UNAVAIL : \
53 (rv == NSS_STATUS_NOTFOUND) ? NS_NOTFOUND : \
54 (rv == NSS_STATUS_SUCCESS) ? NS_SUCCESS : \
55 (rv == NSS_STATUS_RETURN) ? NS_RETURN : 0)
/freebsd-10.1-release/contrib/apr-util/test/
H A Dtestqueue.c38 apr_status_t rv; local
46 rv = apr_queue_pop(queue, &v);
48 if (rv == APR_EINTR)
51 if (rv == APR_EOF)
55 ABTS_TRUE(tc, rv == APR_SUCCESS);
67 apr_status_t rv; local
74 rv = apr_queue_push(queue, NULL);
76 if (rv == APR_EINTR)
79 if (rv == APR_EOF)
82 ABTS_TRUE(tc, rv
93 apr_status_t rv; local
[all...]
H A Ddbd.c25 rv = func(pool, sql, driver); \
26 if (rv != 0) { \
27 printf("Error in %s: rc=%d\n\n", msg, rv); \
37 int rv = 0; local
43 rv = apr_dbd_query(driver, handle, &nrows, statement);
44 return rv;
49 int rv = 0; local
52 rv = apr_dbd_query(driver, handle, &nrows, statement);
53 return rv;
59 int rv local
96 int rv = 0; local
110 int rv = 0; local
142 int rv = 0; local
198 int rv = 0; local
271 int rv = 0; local
315 int rv = 0; local
349 int rv; local
[all...]
H A Dtest_apu.h38 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 Dtestutil.c26 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);
H A Dtestxml.c27 apr_status_t rv; local
31 rv = apr_file_mktemp(fd, template, APR_FOPEN_CREATE | APR_FOPEN_TRUNCATE | APR_FOPEN_DELONCLOSE |
33 ABTS_INT_EQUAL(tc, APR_SUCCESS, rv);
35 if (rv != APR_SUCCESS)
36 return rv;
38 rv = apr_file_puts("<?xml version=\"1.0\" ?>\n<maryx>"
40 ABTS_INT_EQUAL(tc, APR_SUCCESS, rv);
43 rv = apr_file_puts("<hmm roast=\"lamb\" "
45 ABTS_INT_EQUAL(tc, APR_SUCCESS, rv);
48 rv
61 apr_status_t rv; local
125 apr_status_t rv; local
156 apr_status_t rv; local
173 apr_status_t rv; local
186 apr_status_t rv; local
[all...]
H A Dtestmemcache.c133 apr_status_t rv; local
140 rv = apr_memcache_create(pool, max_servers, 0, &memcache);
141 ABTS_ASSERT(tc, "memcache create failed", rv == APR_SUCCESS);
147 rv =
149 ABTS_ASSERT(tc, "server create failed", rv == APR_SUCCESS);
151 rv = apr_memcache_add_server(memcache, server);
152 ABTS_ASSERT(tc, "server add failed", rv == APR_SUCCESS);
157 rv = apr_memcache_disable_server(memcache, s);
158 ABTS_ASSERT(tc, "server disable failed", rv == APR_SUCCESS);
160 rv
199 apr_status_t rv; local
250 apr_status_t rv; local
308 apr_status_t rv; local
367 apr_status_t rv; local
420 apr_status_t rv; local
487 apr_status_t rv; local
544 apr_status_t rv; local
604 apr_status_t rv; local
[all...]
H A Dtestxlate.c38 apr_status_t rv; local
40 rv = apr_xlate_conv_buffer(convset, inbuf, &inbytes_left, buf, &outbytes_left);
41 ABTS_INT_EQUAL(tc, APR_SUCCESS, rv);
43 if (rv != APR_SUCCESS)
46 rv = apr_xlate_conv_buffer(convset, NULL, NULL, buf + sizeof(buf) -
48 ABTS_INT_EQUAL(tc, APR_SUCCESS, rv);
59 apr_status_t rv; local
62 rv = apr_xlate_open(&convset, cs2, cs1, pool);
63 ABTS_INT_EQUAL(tc, APR_SUCCESS, rv);
65 if (rv !
86 apr_status_t rv; local
[all...]
/freebsd-10.1-release/contrib/apr-util/misc/
H A Dapr_queue.c105 apr_status_t rv; local
111 rv = apr_thread_mutex_create(&queue->one_big_mutex,
114 if (rv != APR_SUCCESS) {
115 return rv;
118 rv = apr_thread_cond_create(&queue->not_empty, a);
119 if (rv != APR_SUCCESS) {
120 return rv;
123 rv = apr_thread_cond_create(&queue->not_full, a);
124 if (rv != APR_SUCCESS) {
125 return rv;
150 apr_status_t rv; local
213 apr_status_t rv; local
263 apr_status_t rv; local
327 apr_status_t rv; local
364 apr_status_t rv; local
381 apr_status_t rv; local
[all...]
/freebsd-10.1-release/sys/vm/
H A Dvm_reserv.c173 static void vm_reserv_depopulate(vm_reserv_t rv);
175 static boolean_t vm_reserv_has_pindex(vm_reserv_t rv,
177 static void vm_reserv_populate(vm_reserv_t rv);
178 static void vm_reserv_reclaim(vm_reserv_t rv);
187 vm_reserv_t rv; local
199 TAILQ_FOREACH(rv, &vm_rvq_partpop/*[level]*/, partpopq) {
201 unused_pages += VM_LEVEL_0_NPAGES - rv->popcnt;
221 vm_reserv_depopulate(vm_reserv_t rv) argument
225 KASSERT(rv->object != NULL,
226 ("vm_reserv_depopulate: reserv %p is free", rv));
265 vm_reserv_has_pindex(vm_reserv_t rv, vm_pindex_t pindex) argument
278 vm_reserv_populate(vm_reserv_t rv) argument
319 vm_reserv_t rv; local
511 vm_reserv_t rv; local
621 vm_reserv_t rv; local
657 vm_reserv_t rv; local
703 vm_reserv_t rv; local
723 vm_reserv_t rv; local
772 vm_reserv_reclaim(vm_reserv_t rv) argument
806 vm_reserv_t rv; local
830 vm_reserv_t rv; local
877 vm_reserv_t rv; local
[all...]
/freebsd-10.1-release/contrib/apr/network_io/unix/
H A Dsocket_util.c23 apr_status_t rv; local
36 rv = apr_poll(&pfds[0], 1, &nfds, 0);
37 } while (APR_STATUS_IS_EINTR(rv));
39 if (APR_STATUS_IS_TIMEUP(rv)) {
45 else if (rv) {
47 return rv;
57 rv = apr_socket_recvfrom(&unused, sock, MSG_PEEK, &buf, &len);
58 if (rv == APR_EOF) {
62 else if (rv) {
64 return rv;
[all...]
/freebsd-10.1-release/contrib/serf/
H A Dincoming.c37 apr_status_t rv; local
39 rv = read_from_client(client);
40 if (rv) {
41 return rv;
54 rv = write_to_client(client);
55 if (rv) {
56 return rv;
65 apr_status_t rv; local
71 rv = apr_socket_accept(&in, l->skt, p);
73 if (rv) {
97 apr_status_t rv; local
128 apr_status_t rv; local
[all...]
/freebsd-10.1-release/sbin/dhclient/
H A Dinet.c56 struct iaddr rv; local
59 rv.len = 0;
63 return (rv);
65 rv.len = addr.len;
66 for (i = 0; i < rv.len; i++)
67 rv.iabuf[i] = addr.iabuf[i] & mask.iabuf[i];
68 return (rv);
79 struct iaddr rv; local
83 rv.len = 0;
84 return (rv);
[all...]
/freebsd-10.1-release/lib/libstand/
H A Dstat.c44 int fd, rv; local
49 rv = fstat(fd, sb);
51 return (rv);
/freebsd-10.1-release/sys/cddl/contrib/opensolaris/common/nvpair/
H A Dfnvpair.c102 nvlist_t *rv; local
103 VERIFY0(nvlist_unpack(buf, buflen, &rv, KM_SLEEP));
104 return (rv);
110 nvlist_t *rv; local
111 VERIFY0(nvlist_dup(nvl, &rv, KM_SLEEP));
112 return (rv);
310 nvpair_t *rv; local
311 VERIFY0(nvlist_lookup_nvpair(nvl, name, &rv));
312 return (rv);
325 boolean_t rv; local
333 uchar_t rv; local
341 int8_t rv; local
349 int16_t rv; local
357 int32_t rv; local
365 int64_t rv; local
373 uint8_t rv; local
381 uint16_t rv; local
389 uint32_t rv; local
397 uint64_t rv; local
405 char *rv; local
413 nvlist_t *rv; local
421 boolean_t rv; local
429 uchar_t rv; local
437 int8_t rv; local
445 int16_t rv; local
453 int32_t rv; local
461 int64_t rv; local
469 uint8_t rv; local
477 uint16_t rv; local
485 uint32_t rv; local
493 uint64_t rv; local
501 char *rv; local
509 nvlist_t *rv; local
[all...]
/freebsd-10.1-release/lib/libc/include/
H A Dnss_tls.h55 int rv; \
61 rv = _pthread_once(&keyinit, name##_keyinit); \
62 if (rv != 0) \
63 return (rv); \
70 rv = _pthread_setspecific(name##_state_key, *p); \
71 if (rv != 0) { \
75 return (rv); \
/freebsd-10.1-release/usr.sbin/eeprom/
H A Deeprom.c62 int aflag, rv; local
67 rv = EX_OK;
96 rv == EX_OK) {
101 rv = action(line);
108 while (argc && rv == EX_OK) {
109 rv = action(*argv);
115 return (rv);
121 int rv; local
129 switch (rv = ofwo_action(keyword, arg)) {
138 return(rv);
[all...]
/freebsd-10.1-release/contrib/gdtoa/
H A Dstrtod.c72 double rv; local
75 rv = ulp(x);
77 return rv; /* Is there an example where i <= 0 ? */
80 return rv * u.d;
100 U adj, aadj1, rv, rv0; local
146 dval(&rv) = 0.;
195 ULtod(((U*)&rv)->L, bits, exp, i);
308 word0(&rv) = 0x7ff00000;
309 word1(&rv) = 0;
320 word0(&rv)
[all...]
/freebsd-10.1-release/lib/libpam/modules/pam_ksu/
H A Dpam_ksu.c60 long rv; local
71 rv = krb5_init_context(&context);
72 if (rv != 0) {
73 const char *msg = krb5_get_error_message(context, rv);
78 rv = get_su_principal(context, user, ruser, &su_principal_name, &su_principal);
79 if (rv != 0)
82 rv = krb5_kuserok(context, su_principal, user);
83 pamret = rv ? auth_krb5(pamh, context, su_principal_name, su_principal) : PAM_AUTH_ERR;
120 long rv; local
136 rv
187 long rv; local
[all...]
/freebsd-10.1-release/contrib/apr/file_io/unix/
H A Dreadwrite.c31 apr_ssize_t rv; local
37 rv = apr_file_flush_locked(thefile);
38 if (rv) {
39 return rv;
46 rv = 0;
53 while (rv == 0 && size > 0) {
59 rv = APR_EOF;
63 rv = errno;
80 rv = 0;
82 return rv;
87 apr_ssize_t rv; local
149 apr_size_t rv; local
230 apr_status_t rv; local
311 apr_status_t rv = APR_SUCCESS; local
336 apr_status_t rv = APR_SUCCESS; local
351 apr_status_t rv = APR_SUCCESS; local
375 apr_status_t rv = APR_SUCCESS; local
403 apr_status_t rv = APR_SUCCESS; /* get rid of gcc warning */ local
[all...]
/freebsd-10.1-release/lib/libc/sparc64/fpu/
H A Dfpu_reg.h59 u_int32_t rv; local
61 ((fp_ldst32_fn *)&__fpu_st32[r * FPU_ST32_SZ])(&rv);
62 return (rv);
68 u_int64_t rv; local
70 ((fp_ldst64_fn *)&__fpu_st64[(r >> 1) * FPU_ST64_SZ])(&rv);
71 return (rv);
/freebsd-10.1-release/contrib/file/src/
H A Dpread.c11 ssize_t rv; local
16 if ((rv = read(fd, buf, len)) == -1)
22 return rv;

Completed in 260 milliseconds

1234567891011>>