Home
last modified time | relevance | path

Searched refs:rv (Results 1 – 13 of 13) sorted by relevance

/bionic/libc/upstream-openbsd/lib/libc/gdtoa/
Dstrtod.c70 double rv; local
73 rv = ulp(x);
75 return rv; /* Is there an example where i <= 0 ? */
78 return rv * u.d;
98 U adj, aadj1, rv, rv0; local
141 dval(&rv) = 0.;
192 ULtod(((U*)&rv)->L, bits, exp, i);
305 word0(&rv) = 0x7ff00000;
306 word1(&rv) = 0;
317 word0(&rv) = 0x7ff00000 | bits[1];
[all …]
Dstrtodg.c186 int bdif, e, j, k, k1, nb, rv; local
188 carry = rv = 0;
307 rv = 1;
310 return rv;
353 U adj, rv; local
377 dval(&rv) = 0.;
571 dval(&rv) = y;
573 dval(&rv) = tens[k - 9] * dval(&rv) + z;
577 if (rvOK(&rv, fpi, exp, bits, 1, rd, &irv)) {
588 i = fivesbits[e] + mantbits(&rv) <= P;
[all …]
Dmisc.c56 Bigint *rv; local
64 if (k <= Kmax && (rv = freelist[k]) !=0) {
65 freelist[k] = rv->next;
70 rv = (Bigint *)MALLOC(sizeof(Bigint) + (x-1)*sizeof(ULong));
71 if (rv == NULL)
77 rv = (Bigint*)pmem_next;
81 rv = (Bigint*)MALLOC(len*sizeof(double));
82 if (rv == NULL)
86 rv->k = k;
87 rv->maxwds = x;
[all …]
Ddmisc.c74 char *rv, *t; local
76 t = rv = rv_alloc(n);
83 return rv;
/bionic/libc/private/
Dbionic_mbstate.h37 #define __MB_IS_ERR(rv) \ argument
38 (rv == BIONIC_MULTIBYTE_RESULT_ILLEGAL_SEQUENCE || \
39 rv == BIONIC_MULTIBYTE_RESULT_INCOMPLETE_SEQUENCE)
/bionic/libc/dns/net/
Dsethostent.c99 _hf_gethtbyname(void *rv, void *cb_data, va_list ap) in _hf_gethtbyname() argument
104 struct getnamaddr *info = rv; in _hf_gethtbyname()
106 _DIAGASSERT(rv != NULL); in _hf_gethtbyname()
253 _hf_gethtbyaddr(void *rv, void *cb_data, va_list ap) in _hf_gethtbyaddr() argument
257 struct getnamaddr *info = rv; in _hf_gethtbyaddr()
260 _DIAGASSERT(rv != NULL); in _hf_gethtbyaddr()
Dgethnamaddr.c1136 _dns_gethtbyname(void *rv, void *cb_data, va_list ap) in _dns_gethtbyname() argument
1143 struct getnamaddr *info = rv; in _dns_gethtbyname()
1145 _DIAGASSERT(rv != NULL); in _dns_gethtbyname()
1198 _dns_gethtbyaddr(void *rv, void *cb_data, va_list ap) in _dns_gethtbyaddr() argument
1209 struct getnamaddr *info = rv; in _dns_gethtbyaddr()
1212 _DIAGASSERT(rv != NULL); in _dns_gethtbyaddr()
1435 _yp_gethtbyaddr(void *rv, void *cb_data, va_list ap) in _yp_gethtbyaddr() argument
1444 struct getnamaddr *info = rv; in _yp_gethtbyaddr()
1446 _DIAGASSERT(rv != NULL); in _yp_gethtbyaddr()
1487 _yp_gethtbyname(void *rv, void *cb_data, va_list ap) in _yp_gethtbyname() argument
[all …]
Dgetaddrinfo.c1894 _dns_getaddrinfo(void *rv, void *cb_data, va_list ap) in _dns_getaddrinfo() argument
2025 *((struct addrinfo **)rv) = sentinel.ai_next; in _dns_getaddrinfo()
2117 _files_getaddrinfo(void *rv, void *cb_data, va_list ap) in _files_getaddrinfo() argument
2140 *((struct addrinfo **)rv) = sentinel.ai_next; in _files_getaddrinfo()
/bionic/libc/kernel/uapi/linux/
Ddlm_plock.h29 __s32 rv; member
/bionic/libc/upstream-freebsd/lib/libc/gen/
Dglob.c266 int rv; in globexp0() local
281 if ((rv = globexp1(pattern, pglob, limit)) != 0) in globexp0()
282 return rv; in globexp0()
319 int i, rv; in globexp2() local
399 rv = globexp1(patbuf, pglob, limit); in globexp2()
400 if (rv) in globexp2()
401 return (rv); in globexp2()
/bionic/tests/
Dunistd_test.cpp588 …int rv = clone(nullptr, nullptr, CLONE_CHILD_SETTID | SIGCHLD, nullptr, nullptr, nullptr, &child_t… in CloneAndSetTid() local
589 EXPECT_NE(-1, rv); in CloneAndSetTid()
591 if (rv == 0) { in CloneAndSetTid()
601 return rv; in CloneAndSetTid()
Dpthread_test.cpp101 int rv = 0; in TEST() local
107 rv = pthread_key_create(&key, nullptr); in TEST()
108 if (rv == EAGAIN) { in TEST()
111 EXPECT_EQ(0, rv); in TEST()
123 ASSERT_EQ(EAGAIN, rv); in TEST()
/bionic/linker/
Dlinker.cpp439 int rv = 0; in do_dl_iterate_phdr() local
456 rv = cb(&dl_info, sizeof(dl_phdr_info), data); in do_dl_iterate_phdr()
457 if (rv != 0) { in do_dl_iterate_phdr()
461 return rv; in do_dl_iterate_phdr()