/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 | 145 int tmp; in ns_parserr() local 148 tmp = section; in ns_parserr() 149 if (tmp < 0 || section >= ns_s_max) in ns_parserr() 208 int tmp; in ns_parserr2() local 211 tmp = section; in ns_parserr2() 212 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/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 | sys_statvfs.cpp | 35 struct statfs tmp; in statvfs() local 36 if (statfs(path, &tmp) == -1) return -1; in statvfs() 37 __bionic_statfs_to_statvfs(&tmp, result); in statvfs() 42 struct statfs tmp; in fstatvfs() local 43 if (fstatfs(fd, &tmp) == -1) return -1; in fstatvfs() 44 __bionic_statfs_to_statvfs(&tmp, result); in fstatvfs()
|
D | bionic_futex.cpp | 85 uint32_t tmp = 0; in __futex_pi_lock_ex() local 86 if (__futex(&tmp, FUTEX_LOCK_PI2, 0, nullptr, 0) == 0) { in __futex_pi_lock_ex() 87 __futex(&tmp, FUTEX_UNLOCK_PI, 0, nullptr, 0); in __futex_pi_lock_ex()
|
D | ndk_cruft.cpp | 86 char tmp = *p; in memswap() local 88 *q = tmp; in memswap()
|
D | fts.c | 256 FTSENT *p, *tmp; in fts_read() local 351 next: tmp = p; in fts_read() 353 free(tmp); in fts_read() 395 p = tmp->fts_parent; in fts_read() 396 free(tmp); in fts_read()
|
/bionic/libc/tzcode/ |
D | localtime.c | 1566 struct tm *const tmp) in localsub() argument 1575 return gmtsub(gmtptr, timep, 0, tmp); in localsub() 1601 result = localsub(sp, &newt, setname, tmp); in localsub() 1646 result = timesub(&t, ttisp->tt_utoff, sp, tmp); in localsub() 1662 struct tm *restrict tmp) in localtime_rz() argument 1664 return localsub(sp, timep, 0, tmp); in localtime_rz() 1670 localtime_tzset(time_t const *timep, struct tm *tmp) in localtime_tzset() argument 1685 tmp = localsub(lclptr, timep, true, tmp); in localtime_tzset() 1687 return tmp; in localtime_tzset() 1700 localtime_r(const time_t *restrict timep, struct tm *restrict tmp) in localtime_r() argument [all …]
|
D | asctime.c | 123 struct tm *tmp = localtime_r(timep, &mytm); in ctime_r() local 124 return tmp ? asctime_r(tmp, buf) : NULL; in ctime_r()
|
/bionic/libm/upstream-freebsd/lib/msun/src/ |
D | e_jnf.c | 114 float q0,q1,h,tmp; int32_t k,m; in jnf() local 119 tmp = z*q1 - q0; in jnf() 121 q1 = tmp; in jnf() 135 tmp = n; in jnf() 137 tmp = tmp*logf(fabsf(v*tmp)); in jnf() 138 if(tmp<(float)8.8721679688e+01) { in jnf()
|
D | e_jn.c | 157 double q0,q1,h,tmp; int32_t k,m; in jn() local 162 tmp = z*q1 - q0; in jn() 164 q1 = tmp; in jn() 178 tmp = n; in jn() 180 tmp = tmp*log(fabs(v*tmp)); in jn() 181 if(tmp<7.09782712893383973096e+02) { in jn()
|
/bionic/tests/ |
D | netdb_test.cpp | 119 char tmp[16]; in TEST() local 126 ASSERT_EQ(0, getnameinfo(sa, too_much, tmp, sizeof(tmp), nullptr, 0, NI_NUMERICHOST)); in TEST() 127 ASSERT_STREQ("0.0.0.0", tmp); in TEST() 128 ASSERT_EQ(0, getnameinfo(sa, just_right, tmp, sizeof(tmp), nullptr, 0, NI_NUMERICHOST)); in TEST() 129 ASSERT_STREQ("0.0.0.0", tmp); in TEST() 130 ASSERT_EQ(EAI_FAMILY, getnameinfo(sa, too_little, tmp, sizeof(tmp), nullptr, 0, NI_NUMERICHOST)); in TEST() 137 ASSERT_EQ(0, getnameinfo(sa, too_much, tmp, sizeof(tmp), nullptr, 0, NI_NUMERICHOST)); in TEST() 138 ASSERT_STREQ("::", tmp); in TEST() 139 ASSERT_EQ(0, getnameinfo(sa, just_right, tmp, sizeof(tmp), nullptr, 0, NI_NUMERICHOST)); in TEST() 140 ASSERT_STREQ("::", tmp); in TEST() [all …]
|
D | sys_hwprobe_test.cpp | 71 uint64_t tmp[3] = {1,1,1}; variable 77 uint8_t* p = (uint8_t*)tmp + 1; in TEST() 87 uint8_t* p = (uint8_t*)tmp + 1; in TEST()
|
/bionic/benchmarks/linker_relocation/ |
D | run_bench_with_ninja.sh | 48 --keep-tmp-dir Don't delete the temporary directory on exit 110 json_file=$top/tmp/libandroid_servers_arm64.json 112 $top/gen_bench.sh --keep-tmp-dir --skip-gen-bench 122 target_dir=/data/local/tmp/linker-reloc-bench
|
D | gen_bench.sh | 37 --keep-tmp-dir) 50 work_dir=$top/tmp
|
D | .gitignore | 3 /tmp
|
/bionic/build/ |
D | coverage.sh | 25 DEVICE_TEST_DIR32=/data/local/tmp/bionic-coverage32 26 DEVICE_TEST_DIR64=/data/local/tmp/bionic-coverage64 27 DEVICE_PROF_DIR=/data/local/tmp/bionic-profraw 28 HOST_PROFDATA_DIR=/tmp/bionic-coverage
|
D | run-on-host.sh | 49 mkdir -p ${TARGET_OUT_DATA}/local/tmp
|
/bionic/libc/kernel/tools/ |
D | generate_uapi_headers.sh | 52 if [[ "${TMPDIR}" =~ /tmp ]] && [[ -d "${TMPDIR}" ]]; then 196 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()
|
/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()
|