Searched refs:tmp (Results 1 - 25 of 27) sorted by relevance

12

/bionic/libc/dns/nameser/
H A Dns_ttl.c98 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 Dns_print.c119 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 Dns_parse.c145 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 Dns_name.c631 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 Dmemchr.S47 #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 Dres_random.c138 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 Dinet_ntop.c74 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 Dinet_pton.c77 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 Dstatvfs.cpp72 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 Dfts.c80 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 Dndk_cruft.cpp85 char tmp = *p; local
87 *q = tmp;
/bionic/libm/upstream-freebsd/lib/msun/src/
H A De_jnf.c114 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 De_jn.c158 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 Dlocaltime.c1403 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 Dmemchr.c70 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 Dstrnlen.c63 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 Dnetdb_test.cpp118 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 Drun-on-host.sh38 mkdir -p ${TARGET_OUT_DATA}/local/tmp
/bionic/libc/kernel/tools/
H A Dgenerate_uapi_headers.sh51 if [[ "${TMPDIR}" =~ /tmp ]] && [[ -d "${TMPDIR}" ]]; then
209 TMPDIR=$(mktemp -d /tmp/android_kernelXXXXXXXX)
/bionic/libc/upstream-openbsd/lib/libc/crypt/
H A Dchacha_private.h94 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 Dres_query.c230 char tmp[NS_MAXDNAME]; local
248 if (!dots && (cp = res_hostalias(statp, name, tmp, sizeof tmp))!= NULL)
H A Dres_cache.c1316 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 Dres_send.c769 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 Dengine.c119 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 Dstdio.cpp243 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);

Completed in 839 milliseconds

12