Home
last modified time | relevance | path

Searched refs:rv (Results 1 – 14 of 14) 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
144 dval(&rv) = 0.;
195 ULtod(((U*)&rv)->L, bits, exp, i);
308 word0(&rv) = 0x7ff00000;
309 word1(&rv) = 0;
320 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
380 dval(&rv) = 0.;
574 dval(&rv) = y;
576 dval(&rv) = tens[k - 9] * dval(&rv) + z;
580 if (rvOK(&rv, fpi, exp, bits, 1, rd, &irv)) {
591 i = fivesbits[e] + mantbits(&rv) <= P;
[all …]
Dmisc.c52 Bigint *rv; local
60 if (k <= Kmax && (rv = freelist[k]) !=0) {
61 freelist[k] = rv->next;
66 rv = (Bigint *)MALLOC(sizeof(Bigint) + (x-1)*sizeof(ULong));
67 if (rv == NULL)
73 rv = (Bigint*)pmem_next;
77 rv = (Bigint*)MALLOC(len*sizeof(double));
78 if (rv == NULL)
82 rv->k = k;
83 rv->maxwds = x;
[all …]
Ddmisc.c74 char *rv, *t; local
76 t = rv = rv_alloc(n);
83 return rv;
/bionic/libc/private/
Dbionic_mbstate.h44 #define __MB_IS_ERR(rv) (rv == __MB_ERR_ILLEGAL_SEQUENCE || \ argument
45 rv == __MB_ERR_INCOMPLETE_SEQUENCE)
/bionic/libc/dns/net/
Dsethostent.c102 _hf_gethtbyname(void *rv, void *cb_data, va_list ap) in _hf_gethtbyname() argument
107 struct getnamaddr *info = rv; in _hf_gethtbyname()
109 _DIAGASSERT(rv != NULL); in _hf_gethtbyname()
254 _hf_gethtbyaddr(void *rv, void *cb_data, va_list ap) in _hf_gethtbyaddr() argument
258 struct getnamaddr *info = rv; in _hf_gethtbyaddr()
261 _DIAGASSERT(rv != NULL); in _hf_gethtbyaddr()
Dgethnamaddr.c1137 _dns_gethtbyname(void *rv, void *cb_data, va_list ap) in _dns_gethtbyname() argument
1144 struct getnamaddr *info = rv; in _dns_gethtbyname()
1146 _DIAGASSERT(rv != NULL); in _dns_gethtbyname()
1199 _dns_gethtbyaddr(void *rv, void *cb_data, va_list ap) in _dns_gethtbyaddr() argument
1210 struct getnamaddr *info = rv; in _dns_gethtbyaddr()
1213 _DIAGASSERT(rv != NULL); in _dns_gethtbyaddr()
1436 _yp_gethtbyaddr(void *rv, void *cb_data, va_list ap) in _yp_gethtbyaddr() argument
1445 struct getnamaddr *info = rv; in _yp_gethtbyaddr()
1447 _DIAGASSERT(rv != NULL); in _yp_gethtbyaddr()
1488 _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.h40 __s32 rv; member
/bionic/libc/dns/resolv/
Dres_data.c89 int rv; in res_init() local
143 rv = __res_vinit(&_nres, 1); in res_init()
147 return rv; in res_init()
/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.cpp519 …int rv = clone(nullptr, nullptr, CLONE_CHILD_SETTID | SIGCHLD, nullptr, nullptr, nullptr, &child_t… in CloneAndSetTid() local
520 EXPECT_NE(-1, rv); in CloneAndSetTid()
522 if (rv == 0) { in CloneAndSetTid()
532 return rv; in CloneAndSetTid()
Dpthread_test.cpp96 int rv = 0; in TEST() local
102 rv = pthread_key_create(&key, nullptr); in TEST()
103 if (rv == EAGAIN) { in TEST()
106 EXPECT_EQ(0, rv); in TEST()
118 ASSERT_EQ(EAGAIN, rv); in TEST()
/bionic/linker/
Dlinker.cpp431 int rv = 0; in do_dl_iterate_phdr() local
438 rv = cb(&dl_info, sizeof(dl_phdr_info), data); in do_dl_iterate_phdr()
439 if (rv != 0) { in do_dl_iterate_phdr()
443 return rv; in do_dl_iterate_phdr()