/bionic/libc/dns/nameser/ |
H A D | ns_ttl.c | 98 u_long ttl, tmp; local 102 tmp = 0; 109 tmp *= 10; 110 tmp += (ch - '0'); 119 case 'W': tmp *= 7; /*FALLTHROUGH*/ 120 case 'D': tmp *= 24; /*FALLTHROUGH*/ 121 case 'H': tmp *= 60; /*FALLTHROUGH*/ 122 case 'M': tmp *= 60; /*FALLTHROUGH*/ 126 ttl += tmp; 127 tmp 151 char tmp[50]; local [all...] |
H A D | ns_print.c | 119 char tmp[100]; local 152 len = snprintf(tmp, sizeof(tmp), " %s %s", p_class(class), p_type(type)); 153 T(addstr(tmp, (size_t)len, &buf, &buflen)); 215 len = snprintf(tmp, sizeof(tmp), "%lu", t); 216 T(addstr(tmp, (size_t)len, &buf, &buflen)); 272 len = snprintf(tmp, sizeof(tmp), "%u ", t); 273 T(addstr(tmp, (size_ [all...] |
H A D | ns_parse.c | 145 int tmp; local 148 tmp = section; 149 if (tmp < 0 || section >= ns_s_max) 208 int tmp; local 211 tmp = section; 212 if (tmp < 0 || section >= ns_s_max)
|
H A D | ns_name.c | 631 u_char tmp[NS_MAXCDNAME]; local 634 if ((n = ns_name_unpack(msg, eom, src, tmp, sizeof tmp)) == -1) 636 if (ns_name_ntop(tmp, dst, dstsiz) == -1) 660 u_char tmp[NS_MAXCDNAME]; local 662 if (ns_name_pton(src, tmp, sizeof tmp) == -1) 664 return (ns_name_pack(tmp, dst, (int)dstsiz, dnptrs, lastdnptr));
|
/bionic/libc/arch-arm64/generic/bionic/ |
H A D | memchr.S | 47 #define tmp x4 define 95 sub tmp, soff, #32 96 adds cntin, cntin, tmp 105 lsl tmp, soff, #1 106 lsr synd, synd, tmp 107 lsl synd, synd, tmp 139 add tmp, cntrem, soff 140 and tmp, tmp, #31 141 sub tmp, tm [all...] |
/bionic/libc/upstream-openbsd/lib/libc/net/ |
H A D | res_random.c | 138 u_int left, right, tmp; local 153 tmp = ru_prf->prf8[(i << (8 - 1)) | right] & 0x7f; 155 tmp = ru_prf->prf7[((i - 1) << (7 - 1)) | right]; 156 tmp ^= left; 158 right = tmp; 176 u_int32_t tmp; local 183 tmp = arc4random(); 184 ru_seed = (tmp >> 16) & 0x7FFF; 185 ru_seed2 = tmp & 0x7FFF; 188 tmp [all...] |
H A D | inet_ntop.c | 74 char tmp[sizeof "255.255.255.255"]; local 77 l = snprintf(tmp, sizeof(tmp), "%u.%u.%u.%u", 83 strlcpy(dst, tmp, size); 103 char tmp[sizeof "ffff:ffff:ffff:ffff:ffff:ffff:255.255.255.255"]; local 144 tp = tmp; 145 ep = tmp + sizeof(tmp); 199 if ((size_t)(tp - tmp) > size) { 203 strlcpy(dst, tmp, siz [all...] |
H A D | inet_pton.c | 77 u_char tmp[INADDRSZ], *tp; local 81 *(tp = tmp) = 0; 107 memcpy(dst, tmp, INADDRSZ); 128 u_char tmp[IN6ADDRSZ], *tp, *endp, *colonp; local 133 memset((tp = tmp), '\0', IN6ADDRSZ); 211 memcpy(dst, tmp, IN6ADDRSZ);
|
/bionic/libc/bionic/ |
H A D | statvfs.cpp | 72 struct statfs tmp; local 73 int rc = statfs(path, &tmp); 77 __statfs_to_statvfs(tmp, result); 83 struct statfs tmp; local 84 int rc = fstatfs(fd, &tmp); 88 __statfs_to_statvfs(tmp, result);
|
H A D | fts.c | 80 FTSENT *parent, *tmp; local 140 tmp = root = p; 142 tmp->fts_link = p; 143 tmp = p; 260 FTSENT *p, *tmp; local 354 next: tmp = p; 356 free(tmp); 398 p = tmp->fts_parent; 399 free(tmp);
|
H A D | ndk_cruft.cpp | 85 char tmp = *p; local 87 *q = tmp;
|
/bionic/libm/upstream-freebsd/lib/msun/src/ |
H A D | e_jnf.c | 114 float q0,q1,h,tmp; int32_t k,m; local 119 tmp = z*q1 - q0; 121 q1 = tmp; 135 tmp = n; 137 tmp = tmp*__ieee754_logf(fabsf(v*tmp)); 138 if(tmp<(float)8.8721679688e+01) {
|
H A D | e_jn.c | 158 double q0,q1,h,tmp; int32_t k,m; local 163 tmp = z*q1 - q0; 165 q1 = tmp; 179 tmp = n; 181 tmp = tmp*__ieee754_log(fabs(v*tmp)); 182 if(tmp<7.09782712893383973096e+02) {
|
/bionic/libc/tzcode/ |
H A D | localtime.c | 1403 struct tm *const tmp) 1412 return gmtsub(gmtptr, timep, 0, tmp); 1432 result = localsub(sp, &newt, setname, tmp); 1466 ** timesub(&t, 0L, sp, tmp); 1468 result = timesub(&t, ttisp->tt_gmtoff, sp, tmp); 1483 localtime_rz(struct state *sp, time_t const *timep, struct tm *tmp) argument 1485 return localsub(sp, timep, 0, tmp); 1491 localtime_tzset(time_t const *timep, struct tm *tmp) argument 1506 tmp = localsub(lclptr, timep, true, tmp); 1402 localsub(struct state const *sp, time_t const *timep, int_fast32_t setname, struct tm *const tmp) argument 1518 localtime_r(const time_t *timep, struct tm *tmp) argument 1528 gmtsub(struct state const *sp, time_t const *timep, int_fast32_t offset, struct tm *tmp) argument 1551 gmtime_r(const time_t *timep, struct tm *tmp) argument 1587 timesub(const time_t *timep, int_fast32_t offset, const struct state *sp, struct tm *tmp) argument 1719 struct tm *tmp = localtime(timep); local 1727 struct tm *tmp = localtime_r(timep, &mytm); local 1833 time2sub(struct tm *const tmp, struct tm *(*funcp)(struct state const *, time_t const *, int_fast32_t, struct tm *), struct state const *sp, const int_fast32_t offset, bool *okayp, bool do_norm_secs) argument 2030 time2(struct tm * const tmp, struct tm *(*funcp)(struct state const *, time_t const *, int_fast32_t, struct tm *), struct state const *sp, const int_fast32_t offset, bool *okayp) argument 2049 time1(struct tm *const tmp, struct tm *(*funcp) (struct state const *, time_t const *, int_fast32_t, struct tm *), struct state const *sp, const int_fast32_t offset) argument 2121 mktime_tzname(struct state *sp, struct tm *tmp, bool setname) argument 2134 mktime_z(struct state *sp, struct tm *tmp) argument 2142 mktime(struct tm *tmp) argument 2167 timelocal(struct tm *tmp) argument 2175 timegm(struct tm *tmp) argument 2181 timeoff(struct tm *tmp, long offset) argument [all...] |
/bionic/libc/arch-mips/string/ |
H A D | memchr.c | 70 op_t tmp = ((val - mask_1) & ~val) & mask_128; \ 71 if (tmp != 0) \ 72 return do_bytes(in, tmp); \ 84 op_t tmp = ((val - mask_1) & ~val) & mask_128; \ 85 if (tmp != 0) \
|
H A D | strnlen.c | 63 op_t tmp = ((val - mask_1) & ~val) & mask_128; \ 64 if (tmp) \ 65 return do_bytes(str, (const char *)(in), tmp); \
|
/bionic/tests/ |
H A D | netdb_test.cpp | 118 char tmp[16]; local 125 ASSERT_EQ(0, getnameinfo(sa, too_much, tmp, sizeof(tmp), NULL, 0, NI_NUMERICHOST)); 126 ASSERT_STREQ("0.0.0.0", tmp); 127 ASSERT_EQ(0, getnameinfo(sa, just_right, tmp, sizeof(tmp), NULL, 0, NI_NUMERICHOST)); 128 ASSERT_STREQ("0.0.0.0", tmp); 129 ASSERT_EQ(EAI_FAMILY, getnameinfo(sa, too_little, tmp, sizeof(tmp), NULL, 0, NI_NUMERICHOST)); 136 ASSERT_EQ(0, getnameinfo(sa, too_much, tmp, sizeo [all...] |
/bionic/build/ |
H A D | run-on-host.sh | 38 mkdir -p ${TARGET_OUT_DATA}/local/tmp
|
/bionic/libc/kernel/tools/ |
H A D | generate_uapi_headers.sh | 51 if [[ "${TMPDIR}" =~ /tmp ]] && [[ -d "${TMPDIR}" ]]; then 209 TMPDIR=$(mktemp -d /tmp/android_kernelXXXXXXXX)
|
/bionic/libc/upstream-openbsd/lib/libc/crypt/ |
H A D | chacha_private.h | 94 u8 tmp[64]; local 118 for (i = 0;i < bytes;++i) tmp[i] = m[i]; 119 m = tmp; 121 c = tmp;
|
/bionic/libc/dns/resolv/ |
H A D | res_query.c | 230 char tmp[NS_MAXDNAME]; local 248 if (!dots && (cp = res_hostalias(statp, name, tmp, sizeof tmp))!= NULL)
|
H A D | res_cache.c | 1316 struct pending_req_info *ri, *tmp; local 1321 tmp = ri; 1323 pthread_cond_broadcast(&tmp->cond); 1325 pthread_cond_destroy(&tmp->cond); 1326 free(tmp);
|
H A D | res_send.c | 769 void *tmp; local 866 DE_CONST(buf, tmp); 867 iov[1] = evConsIovec(tmp, (size_t)buflen);
|
/bionic/libc/upstream-netbsd/lib/libc/regex/ |
H A D | engine.c | 119 states tmp; /* temporary */ member in struct:match 233 SETUP(m->tmp); 781 states tmp = m->tmp; local 844 ASSIGN(tmp, st); 847 st = step(m->g, startst, stopst, tmp, c, st); 876 states tmp = m->tmp; local 939 ASSIGN(tmp, st); 942 st = step(m->g, startst, stopst, tmp, [all...] |
/bionic/libc/stdio/ |
H A D | stdio.cpp | 243 int tmp = fd_flags & O_ACCMODE; local 244 if (tmp != O_RDWR && (tmp != (mode_flags & O_ACCMODE))) { 256 if ((mode_flags & O_CLOEXEC) && !((tmp = fcntl(fd, F_GETFD)) & FD_CLOEXEC)) { 257 fcntl(fd, F_SETFD, tmp | FD_CLOEXEC);
|