/bionic/libc/dns/nameser/ |
D | ns_print.c | 119 char tmp[100]; in ns_sprintrrf() local 152 len = snprintf(tmp, sizeof(tmp), " %s %s", p_class(class), p_type(type)); in ns_sprintrrf() 153 T(addstr(tmp, (size_t)len, &buf, &buflen)); in ns_sprintrrf() 215 len = snprintf(tmp, sizeof(tmp), "%lu", t); in ns_sprintrrf() 216 T(addstr(tmp, (size_t)len, &buf, &buflen)); in ns_sprintrrf() 272 len = snprintf(tmp, sizeof(tmp), "%u ", t); in ns_sprintrrf() 273 T(addstr(tmp, (size_t)len, &buf, &buflen)); in ns_sprintrrf() 290 len = snprintf(tmp, sizeof(tmp), "%u ", t); in ns_sprintrrf() 291 T(addstr(tmp, (size_t)len, &buf, &buflen)); in ns_sprintrrf() 429 len = snprintf(tmp, sizeof(tmp), " %u ( ", *rdata); in ns_sprintrrf() [all …]
|
D | ns_ttl.c | 98 u_long ttl, tmp; in ns_parse_ttl() local 102 tmp = 0; in ns_parse_ttl() 109 tmp *= 10; in ns_parse_ttl() 110 tmp += (ch - '0'); in ns_parse_ttl() 119 case 'W': tmp *= 7; /*FALLTHROUGH*/ in ns_parse_ttl() 120 case 'D': tmp *= 24; /*FALLTHROUGH*/ in ns_parse_ttl() 121 case 'H': tmp *= 60; /*FALLTHROUGH*/ in ns_parse_ttl() 122 case 'M': tmp *= 60; /*FALLTHROUGH*/ in ns_parse_ttl() 126 ttl += tmp; in ns_parse_ttl() 127 tmp = 0; in ns_parse_ttl() [all …]
|
D | ns_parse.c | 143 int tmp; in ns_parserr() local 146 tmp = section; in ns_parserr() 147 if (tmp < 0 || section >= ns_s_max) in ns_parserr() 206 int tmp; in ns_parserr2() local 209 tmp = section; in ns_parserr2() 210 if (tmp < 0 || section >= ns_s_max) in ns_parserr2()
|
D | ns_name.c | 631 u_char tmp[NS_MAXCDNAME]; in ns_name_uncompress() local 634 if ((n = ns_name_unpack(msg, eom, src, tmp, sizeof tmp)) == -1) in ns_name_uncompress() 636 if (ns_name_ntop(tmp, dst, dstsiz) == -1) in ns_name_uncompress() 660 u_char tmp[NS_MAXCDNAME]; in ns_name_compress() local 662 if (ns_name_pton(src, tmp, sizeof tmp) == -1) in ns_name_compress() 664 return (ns_name_pack(tmp, dst, (int)dstsiz, dnptrs, lastdnptr)); in ns_name_compress()
|
/bionic/libc/arch-arm64/generic/bionic/ |
D | memchr.S | 48 #define tmp x4 macro 96 sub tmp, soff, #32 97 adds cntin, cntin, tmp 106 lsl tmp, soff, #1 107 lsr synd, synd, tmp 108 lsl synd, synd, tmp 140 add tmp, cntrem, soff 141 and tmp, tmp, #31 142 sub tmp, tmp, #32 143 neg tmp, tmp, lsl #1 [all …]
|
/bionic/libc/upstream-openbsd/lib/libc/net/ |
D | res_random.c | 138 u_int left, right, tmp; in permute15() local 153 tmp = ru_prf->prf8[(i << (8 - 1)) | right] & 0x7f; in permute15() 155 tmp = ru_prf->prf7[((i - 1) << (7 - 1)) | right]; in permute15() 156 tmp ^= left; in permute15() 158 right = tmp; in permute15() 176 u_int32_t tmp; in res_initid() local 183 tmp = arc4random(); in res_initid() 184 ru_seed = (tmp >> 16) & 0x7FFF; in res_initid() 185 ru_seed2 = tmp & 0x7FFF; in res_initid() 188 tmp = arc4random(); in res_initid() [all …]
|
D | inet_ntop.c | 74 char tmp[sizeof "255.255.255.255"]; in inet_ntop4() local 77 l = snprintf(tmp, sizeof(tmp), "%u.%u.%u.%u", in inet_ntop4() 83 strlcpy(dst, tmp, size); in inet_ntop4() 103 char tmp[sizeof "ffff:ffff:ffff:ffff:ffff:ffff:255.255.255.255"]; in inet_ntop6() local 144 tp = tmp; in inet_ntop6() 145 ep = tmp + sizeof(tmp); in inet_ntop6() 199 if ((size_t)(tp - tmp) > size) { in inet_ntop6() 203 strlcpy(dst, tmp, size); in inet_ntop6()
|
D | inet_pton.c | 77 u_char tmp[INADDRSZ], *tp; in inet_pton4() local 81 *(tp = tmp) = 0; in inet_pton4() 107 memcpy(dst, tmp, INADDRSZ); in inet_pton4() 128 u_char tmp[IN6ADDRSZ], *tp, *endp, *colonp; in inet_pton6() local 133 memset((tp = tmp), '\0', IN6ADDRSZ); in inet_pton6() 211 memcpy(dst, tmp, IN6ADDRSZ); in inet_pton6()
|
/bionic/libc/bionic/ |
D | statvfs.cpp | 72 struct statfs tmp; in statvfs() local 73 int rc = statfs(path, &tmp); in statvfs() 77 __statfs_to_statvfs(tmp, result); in statvfs() 83 struct statfs tmp; in fstatvfs() local 84 int rc = fstatfs(fd, &tmp); in fstatvfs() 88 __statfs_to_statvfs(tmp, result); in fstatvfs()
|
D | fts.c | 79 FTSENT *parent, *tmp; in fts_open() local 139 tmp = root = p; in fts_open() 141 tmp->fts_link = p; in fts_open() 142 tmp = p; in fts_open() 259 FTSENT *p, *tmp; in fts_read() local 353 next: tmp = p; in fts_read() 355 free(tmp); in fts_read() 397 p = tmp->fts_parent; in fts_read() 398 free(tmp); in fts_read()
|
D | ndk_cruft.cpp | 82 char tmp = *p; in memswap() local 84 *q = tmp; in memswap()
|
/bionic/libm/upstream-freebsd/lib/msun/src/ |
D | e_jnf.c | 114 float q0,q1,h,tmp; int32_t k,m; in __ieee754_jnf() local 119 tmp = z*q1 - q0; in __ieee754_jnf() 121 q1 = tmp; in __ieee754_jnf() 135 tmp = n; in __ieee754_jnf() 137 tmp = tmp*__ieee754_logf(fabsf(v*tmp)); in __ieee754_jnf() 138 if(tmp<(float)8.8721679688e+01) { in __ieee754_jnf()
|
D | e_jn.c | 158 double q0,q1,h,tmp; int32_t k,m; in __ieee754_jn() local 163 tmp = z*q1 - q0; in __ieee754_jn() 165 q1 = tmp; in __ieee754_jn() 179 tmp = n; in __ieee754_jn() 181 tmp = tmp*__ieee754_log(fabs(v*tmp)); in __ieee754_jn() 182 if(tmp<7.09782712893383973096e+02) { in __ieee754_jn()
|
/bionic/libc/tzcode/ |
D | localtime.c | 1432 struct tm *const tmp) in localsub() argument 1441 return gmtsub(gmtptr, timep, 0, tmp); in localsub() 1461 result = localsub(sp, &newt, setname, tmp); in localsub() 1497 result = timesub(&t, ttisp->tt_gmtoff, sp, tmp); in localsub() 1512 localtime_rz(struct state *sp, time_t const *timep, struct tm *tmp) in localtime_rz() argument 1514 return localsub(sp, timep, 0, tmp); in localtime_rz() 1520 localtime_tzset(time_t const *timep, struct tm *tmp, bool setname) in localtime_tzset() argument 1529 tmp = localsub(lclptr, timep, setname, tmp); in localtime_tzset() 1531 return tmp; in localtime_tzset() 1541 localtime_r(const time_t *timep, struct tm *tmp) in localtime_r() argument [all …]
|
/bionic/tests/ |
D | netdb_test.cpp | 118 char tmp[16]; in TEST() local 125 ASSERT_EQ(0, getnameinfo(sa, too_much, tmp, sizeof(tmp), NULL, 0, NI_NUMERICHOST)); in TEST() 126 ASSERT_STREQ("0.0.0.0", tmp); in TEST() 127 ASSERT_EQ(0, getnameinfo(sa, just_right, tmp, sizeof(tmp), NULL, 0, NI_NUMERICHOST)); in TEST() 128 ASSERT_STREQ("0.0.0.0", tmp); in TEST() 129 ASSERT_EQ(EAI_FAMILY, getnameinfo(sa, too_little, tmp, sizeof(tmp), NULL, 0, NI_NUMERICHOST)); in TEST() 136 ASSERT_EQ(0, getnameinfo(sa, too_much, tmp, sizeof(tmp), NULL, 0, NI_NUMERICHOST)); in TEST() 137 ASSERT_STREQ("::", tmp); in TEST() 138 ASSERT_EQ(0, getnameinfo(sa, just_right, tmp, sizeof(tmp), NULL, 0, NI_NUMERICHOST)); in TEST() 139 ASSERT_STREQ("::", tmp); in TEST() [all …]
|
/bionic/build/ |
D | run-on-host.mk | 36 mkdir -p $(TARGET_OUT_DATA)/local/tmp
|
/bionic/libc/kernel/tools/ |
D | generate_uapi_headers.sh | 47 if [[ "${TMPDIR}" =~ /tmp ]] && [[ -d "${TMPDIR}" ]]; then 187 TMPDIR=$(mktemp -d /tmp/android_kernelXXXXXXXX)
|
/bionic/libc/dns/resolv/ |
D | res_query.c | 230 char tmp[NS_MAXDNAME]; in res_nsearch() local 248 if (!dots && (cp = res_hostalias(statp, name, tmp, sizeof tmp))!= NULL) in res_nsearch()
|
D | res_cache.c | 1260 struct pending_req_info *ri, *tmp; in _cache_flush_pending_requests_locked() local 1265 tmp = ri; in _cache_flush_pending_requests_locked() 1267 pthread_cond_broadcast(&tmp->cond); in _cache_flush_pending_requests_locked() 1269 pthread_cond_destroy(&tmp->cond); in _cache_flush_pending_requests_locked() 1270 free(tmp); in _cache_flush_pending_requests_locked()
|
D | res_send.c | 765 void *tmp; in send_vc() local 861 DE_CONST(buf, tmp); in send_vc() 862 iov[1] = evConsIovec(tmp, (size_t)buflen); in send_vc()
|
/bionic/libc/upstream-openbsd/lib/libc/crypt/ |
D | chacha_private.h | 94 u8 tmp[64]; in chacha_encrypt_bytes() local 118 for (i = 0;i < bytes;++i) tmp[i] = m[i]; in chacha_encrypt_bytes() 119 m = tmp; in chacha_encrypt_bytes() 121 c = tmp; in chacha_encrypt_bytes()
|
/bionic/libc/stdio/ |
D | stdio.cpp | 235 int tmp = fdflags & O_ACCMODE; in fdopen() local 236 if (tmp != O_RDWR && (tmp != (oflags & O_ACCMODE))) { in fdopen() 248 if ((oflags & O_CLOEXEC) && !((tmp = fcntl(fd, F_GETFD)) & FD_CLOEXEC)) { in fdopen() 249 fcntl(fd, F_SETFD, tmp | FD_CLOEXEC); in fdopen()
|
/bionic/libc/upstream-netbsd/lib/libc/regex/ |
D | engine.c | 119 states tmp; /* temporary */ member 233 SETUP(m->tmp); in matcher() 781 states tmp = m->tmp; in fast() local 844 ASSIGN(tmp, st); in fast() 847 st = step(m->g, startst, stopst, tmp, c, st); in fast() 876 states tmp = m->tmp; in slow() local 939 ASSIGN(tmp, st); in slow() 942 st = step(m->g, startst, stopst, tmp, c, st); in slow()
|
/bionic/libc/dns/net/ |
D | getaddrinfo.c | 394 int32_t tmp; in readBE32() local 395 if (fread(&tmp, sizeof(tmp), 1, fp) != 1) { in readBE32() 398 *result = ntohl(tmp); in readBE32()
|
D | gethnamaddr.c | 1077 char tmp[NS_INADDRSZ]; in map_v4v6_address() local 1084 (void)memcpy(tmp, src, NS_INADDRSZ); in map_v4v6_address() 1091 (void)memcpy(p, tmp, NS_INADDRSZ); in map_v4v6_address()
|